Hi, is there a way we can re-route a user to custo...
# suitescript
d
Hi, is there a way we can re-route a user to custom suitelet page on login?
a
Yes, this is a built-in thing in NetSuite. In admin role navigate to: Setup > Company > Preferences : General Preferences On the General Preferences page, select a Suitelet in the Landing Page field, then Save. Upon logging in, all users will now land at that Suitelet instead of their NetSuite Home page/dashboard. You can navigate them from that suitelet to the usual homepage/dashboard in SuiteScript by using the N/redirect module thusly:
Copy code
redirect.toTaskLink({id: "CARD_-29", parameters: null});
d
Thanks @Aaron McCausland
a
You're welcome! 🙂