Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
SiteBuilder - Get Alt Image Tag
I am wondering if anyone knows how to get a image file's Alt Image Tag value.
In Site Builder Item/Category Template, I have a item template coded this way:
<a href="<%=getCurrentAttribute('item', 'storeurl')%>"><img src="<%=getCurrentAttribute('item', 'storedisplaythumbnail', '/SC/images/noImageList.jpg')%>" alt=""/></a>
As you can see, the code use getCurrentAtribute of the item's storedisplaythumnail to get the product image file url. I need to populate the Alt field from this image file (the field value is Alttagcaption). If I have the Alt Image Tag field set for this product image file (see screenshot below), my question is, how to code so that I can get this product image file's Alt Image tag in above piece of code?