*This post is locked for comments
I have the same question (0)

*This post is locked for comments
I have the same question (0)Check with this -
function SetTabDisplayState(executionContext) {
var formContext = executionContext.getFormContext();
var tabObj = formContext.ui.tabs.get("TabName"); // Put the tab name here
tabObj.setDisplayState("expanded"); //pass value "expanded" or "collapsed"
}