我正在尝试在netsuite中创建一个html页面来显示客户的详细信息,我还想将这个值传递给一个javascript变量。请帮个忙
var fname = ${contact.firstName};
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; margin-top:0;">Dear <h1>${contact.firstName}</h1>,</p>发布于 2016-08-09 20:17:16
在这里可以使用Attributes标签
语法:
<%=getAttribute('recordtype',id,'attribute')%>在您的例子中,您可以这样做:
<%=getCurrentAttribute('customer','firstname')%>
<%=getCurrentAttribute('customer','companyname')%>希望这能对你有所帮助。
谢谢。
https://stackoverflow.com/questions/38849834
复制相似问题