Module creation - custom
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 11:56 PM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 12:26 AM
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