You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been fighting with this plugin for a while now, the problem being the json is served correctly but the form is not rendered, no matter how I set the form key: both deployment and path show the same result (a blank white "form") both for the start event and for user tasks.
After some digging I found a problem with the config.js shown as an example in this repo.
Since Camunda 7.14, the inclusion of custom javascripts in the applications has been changed (see here).
So, in order to properly load the form renderer, one must edit the config.js file to the new format:
export default {
customScripts: [
... // all new custom scripts go here...
],
requireJsConfig: { // this is the important bit: the content is taken from the old camTasklistConf.customScripts variable
ngDeps: [],
deps: ['loadFormio', 'loadformio'],
paths: {
'loadFormio': 'scripts/loadFormio',
'loadformio': 'scripts/formio.full.min'
}
}
};
This means that, in order for the plugin to work out-of-the-box in Camunda platform versions 7.14+, the file common/tasklist/scripts/config.js must be modified as above.
So if someone is having my same issue it could be worth trying the piece of code above.
Hope you could find this helpful.
Cheers
The text was updated successfully, but these errors were encountered:
I've been fighting with this plugin for a while now, the problem being the json is served correctly but the form is not rendered, no matter how I set the form key: both
deployment
andpath
show the same result (a blank white "form") both for the start event and for user tasks.After some digging I found a problem with the
config.js
shown as an example in this repo.Since Camunda 7.14, the inclusion of custom javascripts in the applications has been changed (see here).
So, in order to properly load the form renderer, one must edit the config.js file to the new format:
This means that, in order for the plugin to work out-of-the-box in Camunda platform versions 7.14+, the file
common/tasklist/scripts/config.js
must be modified as above.So if someone is having my same issue it could be worth trying the piece of code above.
Hope you could find this helpful.
Cheers
The text was updated successfully, but these errors were encountered: