September 13, 2017

Moar Page Links

This week we added Page Links to our List Suitelet.

Page Links are not unique to Lists, however. The N/ui/serverWidget‘s Form Object also has the same addPageLink method. This means you can add your own Page Links to not only custom Suitelet pages, but also to any native page where you are given access to the Form Object.

For instance, a User Event beforeLoad event is passed a reference to the current Form. You could invoke the addPageLink method of this reference to add your own Page Links to any native page.

function beforeLoad(context) {
    context.form.addPageLink({
        // ...
    });
}
{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Related posts

March 3, 2021

Does the physical location of a competent employee change the amount of value they can deliver for your organization? If it does, I’d be keen to hear your story. If it does not, why ...

Read More

March 2, 2021

Today a friend and former colleague of mine – who happens to now be in a development leadership role for a NetSuite partner – was lamenting the extreme difficulty of finding and hiring NetSuite ...

Read More

March 1, 2021

Software is never finished; clients are always changing and re-prioritizing. NetSuite is ever a moving target – always updating and evolving. Market forces are always shifting and shoving, forcing new demands on your business. ...

Read More