Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
I
...
am
...
working
...
on
...
data list action a
...
plugin
...
that
...
runs
...
a
...
process when clicked. In order to do that I would like the user to specify which process must be run but I need some clarification on how to use plugin JSON properties to get a dropdown listing all of the available processes.
I see from the Run Process menu option that its JSON properties look something like this.
Code Block |
---|
In order to do that I would like the user to specify which process must be run but I need some clarification on how to use plugin JSON properties to get a dropdown listing all of the available processes. I see from the Run Process menu option that its JSON properties look something like this. { name : 'processDefId', label : '@@userview.runprocess.process@@', type : 'selectbox', required : 'True', options_ajax : '\[CONTEXT_PATH\]/web/json/app/%s/%s/plugin/org.joget.apps.userview.lib.RunProcess/service?action=getOptions' } {code} { name : 'processDefId', label : '@@userview.runprocess.process@@', type : 'selectbox', required : 'True', options_ajax : '[CONTEXT_PATH]/web/json/app/%s/%s/plugin/org.joget.apps.userview.lib.RunProcess/service?action=getOptions' }, {code} |
Wiki Markup |
---|
However when I use this exact AJAX options URL |
...
the |
...
dropdown |
...
displays |
...
nothing. Could it be that I need to set the \[CONTEXT_PATH\] (whatever that is) in my plugin? And do the two parameters (%s) get inserted automatically? |
...
Any
...
help
...
would
...
be
...
appreciated.