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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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