Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
How do I get URL from SelectCustomFieldRef Image field?
I am setting up an external web site that talks with Netsuite using SuiteTalk. I am using ASP.NET and C# and Visual Studio, I can't figure out how to get the URLs for the images selected for my inventory items.
SITUATION 1
I have an inventory item record as such:
InventoryItem item = (InventoryItem)response.record;
but if I try to do
str image = item.storeDisplayImage;
or
str image = item.storeDisplayImage.value;
or
str image = item.storeDisplayImage.value.ToString();
I get errors such as "Object reference not set to an instance of an object."
Visual Studio tells me that "value" should be a valid attribute of such an item type, so I don't know why this doesn't work.