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!
Why getCurrentAttribute does not work in Reference My Account?
Is there a reason why getCurrentAttribute won't work in the Home.txt?
I want to display a custom entity field in the Home section using
<%=getCurrentAttribute('customer','custentity_bb1_loyaltyscheme_balance','0')%>
and I have already added the field 'custentity_bb1_loyaltyscheme_balance' in Models.js in the following code
//Define the fields to be returned
this.fields = this.fields || ['custentity_bb1_loyaltyscheme_balance','isperson', 'email', 'internalid', 'name', 'phoneinfo', 'companyname', 'firstname', 'lastname', 'middlename', 'emailsubscribe', 'campaignsubscriptions'];
0