Tuesday, December 25, 2018

Is it possible to force a record to open on a tab using SuiteScript?

Question: Is it possible to force a record to open on a tab using SuiteScript?

Answer: Implement a Before Load script, that would redirect to the same record URL and have the below additional URL parameter included:

&selectedtab=address

Please note, address is the ID of the tab. For reference, here is an example of an URL with the added parameter:

https://debugger.netsuite.com/app/common/entity/custjob.nl?id=-5&selectedtab=address

To know the ID you need to use: In View mode of the record, select the tab and then click Edit, this way you could see on the URL the ID being used for the selectedtab parameter. Or you can use the SuiteScript Records Browser.

No comments:

Post a Comment