I created both files and manually inject them into the camunda/app/tasklist/scripts folder during the runtime of the web application, because placing them under ui/tasklist/client/scripts/ in my project structure didnāt work.
I managed that the web application can detect the two script files, but I get almost the same error as before, now it is:
Form failure: simplemde is not defined instead of Form failure: SimpleMDE is not defined
Could it be that this error comes from the require statement of the loadSimpleMDE.js? Is the shim section in customScripts not necessary, because it is missing in your code snippet?
Regards
Marvin
Edit: I saw that the request of the loadSimpleMDE.js āfailedā with a 304 āNot modifedā response, but donāt now what this means
Hi @Marvin_Kehr,
Js files should be placed in the deployed camunda web app under the specified path.
I tried the steps aboveā¦ And the solution worked for me.
May we know the full path, where you are trying to place the js files?
Is your embedded form located in the camunda-bpm-webapp project? Because mine is located in an external process application project, maybe thatās the reason why itās working on your side.
Should works āas simplemde has been defined as dependency in config.jsā unless it has been executed before the content of config.js which I guess shouldnāt be the case since the config.js is the loader of loadSimpleMDE.js unless loadSimpleMDE.js is referenced somewhere else other than config.js
I tried your code above, but still get the same error.
I donāt think loadSimpleMDE.js is referenced somewhere else, because I inject it during the runtime. If I remove the loadSimpleMDE from the scripts folder, I get an script error that Camunda cannot find the script āloadSimpleMDEā and therefore cannot instantiate the Tasklist. So it looks like config.js is working as it should.
I would like to send you all the files I have created or modified during our conversation, maybe you can have a look on them. In the end it was a typo from my side why itās not working