ProApp Designer - Release 14 (Package 27)

Layout Controls: Group & Section

Below APIs are supported for Group & Section controls when their Associated Type setting is set to Type.

setLayoutControlContext

Set itemId as context for a layout control based on its control name to refresh the control with passed itemId.
appStudioWizard.setLayoutControlContext(sectionControlName, itemId);

getLayoutControlContext

Get itemId associated with a layout control based on its name.
var itemId = appStudioWizard.getLayoutControlContext(sectionControlName);

expandSection

By passing the section control name and a Boolean parameter as true or false, section control can be expanded or collapsed respectively.
appStudioWizard.expandSection(sectionControlName, true);