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.
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