mercredi 22 avril 2015

How to programmatically set BoxITem (Folder/File) Custom URL for Box.com

We are doing migration from Lotus note to Box. There are link on Lotus note document to it's internal files which we plan to move to Box. We need to create the Customer URL on Box then we can create the hyperlink in Note document in advance and able to manage the Box link url.

Here is example code for the link.

<a style="display: inline-block; text-align: center" href="http://ift.tt/1Ht9jOZ" title="No.52 JGK HDD EM_CI seal_r3.ppt">
    <img src="http://ift.tt/1OF7san" width="205" height="48" alt="No.52 JGK HDD EM_CI seal_r3.ppt" border="0"/>
  </a>

The

href="http://10.86..../$FILE/..." 

we need to use our customer box url. for example

href="http://ift.tt/1Ht9hqu" 

which is able to set upfront. We plan to generate this document as PDF and upload to Box together with all related files.

Aucun commentaire:

Enregistrer un commentaire