Hi all, I am working on a form with multiple custom code component.
Base on the use case, we will need to create more then 10 custom code components, but when we try to save and publish the form, it pop-up an server error as follow:
We tried the maximum number of custom code component can save and publish is 8. Can we increase it? Or any work around?
I have received your process template. The process template is already 9.4M and I am checking for the cause At present, it is speculated that it is possible that the JSON data in the post is too large.
The compiled scripts of Custom code will be stored in the form definition, which will significantly increase the size of the form definition. Here are some recommendations:
- Consider putting complex code in separate JS files and load them using the loadScript method.
- Reduce the number of Custom code and try to merge them together.