What is the best way to manage assets for forms and custom widgets ?
Local is not a good solution, because each time we'll make changes on one of the files we will have to reupload it to UIDesigner. The best solution we've found so far is to make the tomcat server serve those assets as static files and reference them in custom widgets and pages with external urls. It works fine but we have to update the url of each assets when we deploy the application to another server so it matches the domain of the new server. For example : http://localhost:8080/assets/myfile.js becomes http://testserver:8080/assets/myfile.js.
How do you manage your assets ? What is the best way to do it ? I want to spend the minimal amount of time managing them during development and migration.
Does the widget need the whole address for the included Asset?
Does it not work using relative addresses to the Tomcat home directory?
For example instead of
is it possible to put
In theory this should work like scripts in the HTML Head, not tried it but just an idea.
Anyone who likes this question please support the idea on the Ideas portal, the more supporters the more likely it will be built in to the product