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.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
Have questions or experiences to share? Post your Release 2026.1 questions and join discussions in the Release 2026.1 category.
Declaring a value dynamically for the getAttribute tag
We sell products for different Vendors, and we would like to display messages on the Item Description based on the Vendor.
We created a Custom Entity Field for the Vendor (custentityglobaltxt) where we store the message and it can be displayed on the Item Description page as following:
<%=getAttribute('vendor',9,'custentityglobaltxt')%>
The problem that we encounter is the Vendor (or Preferred Vendor) is not an Attribute of Items, therefore it cannot be updated dynamically based on the Item.
We tried different things to change dynamically the ID (example change '9' to '15' based on the item) but it doesn't work, the ID has to be hard coded, so it cannot be updated dynamically with java or any othe method.