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.
Help Displaying Item Internal ID
I've been working on my advanced templates and have run into a problem. I need to be able to call my current item's internal id inside of a template like <%=getCurrentAttribute('item','something-to-call-internal-id')%>. My problem originated when I want to be able to access the input fields within my 'addtocarthtml' tag form. I realize there may be more than one way to solve my problem, however, I would still like to know whether or not I can call an item's auto-generated internal id number.
Thank you for any help!
Matt Dyar
---------------------------------------------
Figured it out. It isn't in any manuals but I tried using <%=getCurrentAttribute('item','internalid')%> and it seems to return the correct item value.