Module creation - custom

Vaibhav Sharma1
Tera Contributor

Hi All,

I have created a custom module for a catalog item - to access a request form from native UI.

 

Now I need to add URL in this module configuration,what I need to do to make URL dynamic for DEV, UAT, PROD instances?

 

If I paste DEV URL directly then it will definately not work after moving to UAT & PROD

1 REPLY 1

Mark Manders
Mega Patron

You can set it dynamically like this. Just add your own addition to it. This will give you the instance url, so you can just add anything you want behind it.

var instanceURL = gs.getProperty('glide.servlet.uri');

 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark