998
Views
3
Comments
How to use GetRequestDomain()

how to use 

GetRequestDomain()?
2019-09-24 18-41-25
Jorge Martins
 
MVP

Hi jaymer basilio,

You have information about GetRequestDomain in the documentation for the HTTPRequestHandler extension. You can use it in any Screen or Server Action to determine the hostname used by the browser to access the current screen.

Hope this helps!

UserImage.jpg
jaymer basilio

i want to send the input parameter in that domain so that it will autofillup

how to do it 
thanks


2019-09-24 18-41-25
Jorge Martins
 
MVP


I don't understand your requirement, can you share an example scenario?

The GetRequestDomain() function does not receive any inputs, it checks the URL used to submit the request and parses it to return just the hostname portion.

You can use this function when manually creating a URL: to guarantee it will use the same hostname or; to decide what to do based on the hostname used, for instance.

Hope this helps! 

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