Wednesday, December 12, 2018

Get the URL of Files attached to an Entity record via SuiteScript

To get the URL of files attached to an entity which can be found in the Entity record > Communications > Files subtab, we can use a search and get the column joined to a file object for the URL

Note: We can use the nlapiLoadFile but it would only work for files that are less than 5 mb.

Below is a sample code to retrieve the url of files attached to a vendor record.

No comments:

Post a Comment