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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Tag Evaluation in Meta Tag HTML field in item records
Hello,
I am trying to use Web site Tags in the Meta Tag HTML field in item records with the goal to automate meta description and meta keywords.
Category works and returns correct information with the following snippet:
<%=declareCurrentAttribute("sitecategory","itemid")%>
<%=getCurrentAttribute("sitecategory","itemid")%>
But, this does not work for Items (same code as above, except recordtype now is "item")
<%=declareCurrentAttribute("item","itemid")%>
<%=getCurrentAttribute("item","itemid")%>
Why? We are able to extract item information later in the generated code.
Just trying to avoid CSV and or writing a save-event-script.
Thanks, --Mani
0