141
Views
4
Comments
Solved
How to get domain name + its module?
Question
Application Type
Reactive

Hi there,

I am wondering:

"https://vimamsa.outsystemscloud.com/TesdAdvanceXls/BlankPDF?id="

How to get the domain+the module name? What function to use?

"https://vimamsa.outsystemscloud.com/TesdAdvanceXls"

regards


2025-01-09 14-56-57
IQ78
Solution

Hi, thanks all,

This works for me:

regards

2026-03-14 15-52-32
Duc Anh Nguyen

Hi @ibox ,

You can use GetBookmarkableURL() and GetOwnerURLPath() function for this case.

Hope it help.

2021-11-12 04-59-31
Manikandan Sambasivam

Use GetBookmarkableURL()

2023-12-14 09-56-57
Yogesh Javir

Hello
You may use JS to return exact domain name

let url=$public.BuiltinFunctions.getBookmarkableURL();

let domain = (new URL(url));

domain = domain.hostname;

after js your may concatenate like 


domain+'/your module name/'

2025-01-09 14-56-57
IQ78
Solution

Hi, thanks all,

This works for me:

regards

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.