why when i use ExternalURL it add the module name before the given URL ?

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/' 

Hi Muhamed,


You have to provide URl LIke-

../moduleName/pagename.aspx

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!


Solution

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

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.



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


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


Rahul Sahu wrote:

Hi Muhamed,


You have to provide URl LIke-

../moduleName/pagename.aspx

Thank you Rahul