672
Views
3
Comments
Solved
How to implement dynamic URL
Question

I have my blocks in the core module and the screens in the end user module. From my block, I want to redirect to the screen in the end user module. How can I do that? I tried using 'GetEntryURL' but that's not returning the complete URL including the server name. I can find the server name, may be using the other built in functions but is there an easy way to do this?

2021-10-08 05-01-12
Deepa Tiwari
Solution

Hi,

You can simple use External URL and provide url.

Example - "/ModuleName/ScreenName"

Or you can create site property and store domain name provide in external URL-

example- site.PropertName+"/modulename/ScreenName"


Also you can use this one -



Hope this will help you.

2020-05-07 18-53-00
Rui Barradas
 
MVP
Solution

Hello Krishnnambal,

Hope you're doing well.

You can use an External Site, you just need to add it in your flow.

Then you can drag and drop this External Site in your flow. You just need to pass the Relative URL, with the following format:

/<Module_Name>/<Screen_Name>


Hope that this helps you!


Kind regards,

Rui Barradas

2019-07-01 07-16-04
Vinod Patidar
Solution

Hi Krishnna,

Using block event you can achieve this.  Please follow the below steps -

1. In core module at block level create a event.

2. In Enduser module use core module block in your screen and create a handler for this. In this handler you can use Destination widget to redirect to other screen.

3. Trigger event from block, It will redirect to screen 2.


https://personal-itafqtdv.outsystemscloud.com/BlockCoreSample/Home


Please find the attached sample OML.


Thanks

Vinod



BlockCoreSample.oml
2021-10-08 05-01-12
Deepa Tiwari
Solution

Hi,

You can simple use External URL and provide url.

Example - "/ModuleName/ScreenName"

Or you can create site property and store domain name provide in external URL-

example- site.PropertName+"/modulename/ScreenName"


Also you can use this one -



Hope this will help you.

2020-05-07 18-53-00
Rui Barradas
 
MVP
Solution

Hello Krishnnambal,

Hope you're doing well.

You can use an External Site, you just need to add it in your flow.

Then you can drag and drop this External Site in your flow. You just need to pass the Relative URL, with the following format:

/<Module_Name>/<Screen_Name>


Hope that this helps you!


Kind regards,

Rui Barradas

2019-07-01 07-16-04
Vinod Patidar
Solution

Hi Krishnna,

Using block event you can achieve this.  Please follow the below steps -

1. In core module at block level create a event.

2. In Enduser module use core module block in your screen and create a handler for this. In this handler you can use Destination widget to redirect to other screen.

3. Trigger event from block, It will redirect to screen 2.


https://personal-itafqtdv.outsystemscloud.com/BlockCoreSample/Home


Please find the attached sample OML.


Thanks

Vinod



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