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.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
How create a dynamic page with Netsuite
I am trying to create a printable version of all of my information items. I would like to be able to link to one page that will dynamically change with the information item attributes.
Is there any code I can use with Netsuite to grab get variables, so that I can use a url like this...
www.mydomain.com/print?itemNum=3
I have the simple page layout here but it is hard coded to look up info item 1...
<html> <head> <title><%=getAttribute('infoitem','1','itemid')%></title> </head> <body> <table border="0" width="740" cellspacing="0" cellpadding="6" id="table1" bgcolor="#F1F1D9"> <tr> <td height="36" valign="top" width="98%"><font size="4" face="Arial"><%=getAttribute('infoitem','1','itemid')%></font></td> <td rowspan="2" valign="top" width="1%"> <img src="/images/store/templates/common/spacer.gif" height="12" width="12"></td> <td rowspan="2" valign="top" width="1%"><%=getAttribute('infoitem','1','storedisplayimagehtml')%></td> </tr> <tr> <td valign="top"><%=getAttribute('infoitem','1','storedetaileddescription')%></td> </tr> </table> </body> </html> 0