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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Is there a way to retrieve the alt tag for an image programmatically?
So I am using some custom image fields to display product color swatches, and I want to grab the alt tag for the product color swatch image - is there a way to do this? Here is a snippet of my code:
<img width='80' height='80' src='<%=getCurrentAttribute('item','custitemswatch1')%>' alt=''>
So 'custitemswatch1' is the custom image field and I want to display the alt tag that is associated with that image field, but I don't know how?
Thanks.
0