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.
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