Possible to force page to reload to a specific sub...
# suitescript
s
Possible to force page to reload to a specific sub-tab on a clientScript after execution?
b
probably not a task for suitescript
you can use javascript on the page to select the subtab anchor and then click it
general warning that it can break at any time and netsuite wont help when it does
s
Understood. Thank you! I will give it a shot.
m
You could also try adding
&selectedtab=XXXX
at the end of the url, e.g. https://system.netsuite.com/app/common/entity/custjob.nl?id=xxxx&selectedtab=address
(If you open a record in view mode, change to a different subtab and then click Edit, when it reopens it will have that subtab active and check the url parameter)
NetSuite has an internal global function
ShowTab(tabname)
that you could use until they change things, but @battk’s suggestion of triggering a click is probably marginally safer