Any experience of ASIL Extension Deployment on Doors NG
We are currently working on an implementation of DoorsNG v6 and need to use the ASIL sample Javascript for calculated field.
- When deploying the sample ASIL Script it works fine, but changes to the script does not take effect until the WAR file is reinstalled. This is making it impossible to work with the ASIL sample script.
- We will appreciate any input from anyone that has used the ASIL sample script or if you have an example script for Calculated Field in DoorsNG. Any input/perspective will be appreciated.
2 answers
When you said "the WAR file", which file were you referring to? If you host the ASIL sample (or the DNG extension for that matter) in an HTTP server (Apache or IBM HTTP Server), any changes to the scripts should be reflected immediately, as the contents should be treated as "static". However, if you change the catalog, it will take some time for the change to appear as DNG server reads the catalog every 10 minutes.
For all I know, you can deploy the examples in a way that you don't actually deploy a WAR file, but do as if you had one. See https://jazz.net/wiki/bin/view/Main/RMExtensions602 and read https://jazz.net/wiki/bin/view/Main/RMExtensionsHostingGuide602 carefully. As far as I know, you don't have to deploy on the app server either, you could deploy on a HTTP server and the deployed files would sit in a folder on disk and get republished when changed.
Also see https://rsjazz.wordpress.com/2016/03/02/alien-skies-peeking-into-doors-next-extensibility/ if you want a little bit more information.
You can also try CTRL+F5 to force a refresh of the Browser.
As far as I remember when I played around with it, deployed like in https://rsjazz.wordpress.com/2016/03/02/alien-skies-peeking-into-doors-next-extensibility/ a save and maybe a refresh was enough to get changes active.
Also see https://rsjazz.wordpress.com/2016/03/02/alien-skies-peeking-into-doors-next-extensibility/ if you want a little bit more information.
You can also try CTRL+F5 to force a refresh of the Browser.
As far as I remember when I played around with it, deployed like in https://rsjazz.wordpress.com/2016/03/02/alien-skies-peeking-into-doors-next-extensibility/ a save and maybe a refresh was enough to get changes active.