Discussions
NSC | SuiteQL Query: Fetch File URL of an Image Field from the Item Record
Scenario:
A user wants to be able to fetch the URL Item Display Image but is unable to do so as the image field type is not supported by SuiteQL. To work around this, a custom field is created along with a workflow that will automatically set the custom field’s value when the Item Display Image field is changed.
For more information, you may visit the following articles:
NSC | How to Get Item Display Image Field's Internal ID via Workflow
Solution:
Query:
SELECT item.id, BUILTIN.DF(item.id) as itemName, item.custitem11 as imageFileID, file.url FROM item
Refer a Member to the Community | Earn the Answer Accepter Badge | Vote for the contents you'd like to see
