-
-
Save furkankaracan/6e141f1a8ac3a9ac27456eb5f2e2034f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
projectTaskSection: function (executionContext) { | |
let formContext = executionContext.getFormContext(); | |
//get tab | |
let tabObj = formContext.ui.tabs.get("tab_name"); | |
//get section | |
let sectionObj = tabObj.sections.get("section_name"); | |
//show the tab | |
tabObj.setVisible(true); | |
//show the section | |
sectionObj.setVisible(true); | |
//hide the tab | |
//hide the section | |
tabObj.setVisible(false); | |
sectionObj.setVisible(false); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment