Discussions

Check out Oracle NetSuite upcoming events and conferences here
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!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Community Poll: What sort of content would you like to see more of?

How create a dynamic page with Netsuite

edited Dec 18, 2019 1:49AM in Web Site / E-Commerce 4 comments

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>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 2 (Apr-Jun 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders