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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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