Dears,
we developed some custom widgets for WebApp Builder where we used 3rd party libs so we had to change the init.js file to load these libs.
Then we deployed our custom widgets to the customer's Portal so we had to modified the init.js file within the Portal installation accordingly. Now the customer has problem that after every restart of Portal for ArcGIS service the init.js file restore to its default form without our modifications. Of course, the widgets then stop working since they lack 3rd party libs from init.js.
My questions are: Why is this happening? Can I somehow prevent Portal to overwriting init.js?
It includes these init.js at these locations:
<Portal installation folder>\Portal\apps\webappviewer\init.js
<Portal installation folder>\Portal\apps\webappbuilder\stemapp\init.js
Appreciate any help,
Jan