Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung | Nächste Überarbeitung Beide Seiten der Revision | ||
software:tim:smartform:loadonlymainprocesssmartform [2018/04/18 11:18] Julian Le |
software:tim:smartform:loadonlymainprocesssmartform [2018/04/18 11:18] Julian Le |
||
---|---|---|---|
Zeile 2: | Zeile 2: | ||
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. | 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. | ||
- | <code html>gadget.setValue("loadOnlyMainProcessSmartForm","VARIABLE_IN_WELCHER_PROZESSINSTANZID_DES_HAUPTPROZESSES_STEHT");</code> | + | <code html>gadget.setValue("loadOnlyMainProcessSmartForm","VARIABLE_WITH_INSTANCEID_OF_MAINPROCESS");</code> |
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. \\ | 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. \\ | ||