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!
getting id to custom html page
<script type="text/javascript"> var qsParm = new Array(); function qs() { var query = window.location.search.substring(1); var parms = query.split('&'); for (var i=0; i<parms.length; i++) { var pos = parms[i].indexOf('='); if (pos > 0) { var key = parms[i].substring(0,pos); var val = parms[i].substring(pos+1); qsParm[key] = val; } } } qsParm['item_id'] = null; qs(); var id=qsParm['item_id']; //var test = "<%=getAttribute('item',3252,'storedescription')%>"; document.write("<%=getAttribute('item',"+qsParm['item_id']+",'storedescription')%>"); </script>ALlright above is the code im using what it does is grabs the url and formats it for example if
0