loadOnlyMainProcessSmartForm

With the integration of this function the main process smartform is loaded when opening the smartform of the subprozess. This way smartforms don't have to created extra for main and sub processes.

gadget.setValue("loadOnlyMainProcessSmartForm","VARIABLE_WITH_INSTANCEID_OF_MAINPROCESS");

The code has to be integrated into the custom.js file. This should happen outside of every function, so that the code is executed when logging into TIM.