Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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.
0