586
Views
7
Comments
Solved
why when i use ExternalURL it add the module name before the given URL ?
Question

when i use External URL and i give it a url that i want to navigate to, the module name is added before the given url

/Module_name/'The given url/' 

2018-12-09 19-13-19
Tiago Gomes
Solution

Hi Muhamed,

If you want to redirect to a different module you should use the following function: 

  • ReplaceURLDomain(/Module/Page.aspx) of HTTPRequestHandler

If you want to redirect to the same module you should use the screen you want to redirect.

If you want to redirect to a different page, google for example, you should put all the url:

Hope it helps!

Cheers!


UserImage.jpg
Muhamed Akl

Tiago Gomes wrote:

Hi Muhamed,

If you want to redirect to a different module you should use the following function: 

  • ReplaceURLDomain(/Module/Page.aspx) of HTTPRequestHandler

If you want to redirect to the same module you should use the screen you want to redirect.

If you want to redirect to a different page, google for example, you should put all the url:

Hope it helps!

Cheers!


Thank you Tiago


2026-02-26 06-29-24
Rahul
 
MVP

Hi Muhamed,


You have to provide URl LIke-

../moduleName/pagename.aspx

UserImage.jpg
Muhamed Akl

Rahul Sahu wrote:

Hi Muhamed,


You have to provide URl LIke-

../moduleName/pagename.aspx

Thank you Rahul


2018-12-09 19-13-19
Tiago Gomes
Solution

Hi Muhamed,

If you want to redirect to a different module you should use the following function: 

  • ReplaceURLDomain(/Module/Page.aspx) of HTTPRequestHandler

If you want to redirect to the same module you should use the screen you want to redirect.

If you want to redirect to a different page, google for example, you should put all the url:

Hope it helps!

Cheers!


UserImage.jpg
Muhamed Akl

Tiago Gomes wrote:

Hi Muhamed,

If you want to redirect to a different module you should use the following function: 

  • ReplaceURLDomain(/Module/Page.aspx) of HTTPRequestHandler

If you want to redirect to the same module you should use the screen you want to redirect.

If you want to redirect to a different page, google for example, you should put all the url:

Hope it helps!

Cheers!


Thank you Tiago


2022-09-27 05-23-26
Mohammad Shoeb

Hi Muhammad,

if you are passing URL as mentioned below it should work.

can u please share sample oml for test if possible.

Regards,

Shoeb

2016-04-22 00-29-45
Nuno Reis
 
MVP

Are you checking if the URL is prefixed with a protocol?

http://thegivenurl or https://thegivenurl  

If you write only the domain, it will be interpreted as a page in the same folder.



UserImage.jpg
Muhamed Akl

Nuno Reis wrote:

Are you checking if the URL is prefixed with a protocol?

http://thegivenurl or https://thegivenurl  

If you write only the domain, it will be interpreted as a page in the same folder.



Thank you Nuno


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