×

Please give details of the problem

Skip to content

Custom Widget

Allows you to use a custom widget web interface defined on RunMyProcess platform.

plugin Custom Widget

A custom widget widget has the following properties fields:

  • Loaded application: select a custom widget application defined on RunMyProcess platform
  • Conditioned loading: allows you to define a condition (it is a javascript boolean true/false as for Rules visibility or required....) to trigger widget's loading
  • Variable: variable's name of the widget application. Each variable within widget application can be then accessed in the application using this widget through "global_widget_variable_name.name_of_variable_field".
  • Identifier: id of the widget. Each widget within widget application can be then accessed with Javascript in the application using this widget through following identifier : global_widget_id.field_id

info_1 Local Javascript of a custom widget must use prefix RMP_this to call RMP JS functions on a local widget (called id_myvar in this example) : RMP_this.id_myvar.getValue();

info_2 Local Javascript of a custom widget must use prefix RMP_this to get value of a local variable (called myvar in this example) : [[RMP_this.variable.myvar]]