Hi community,

I am looking for a way to GetEntryURL() in my reactive web app to share it with a parameter via email. 

The docs say I need the name of the entry but there is no entry in reactive web apps. Is there another way the use GetEntryURL() or even another approach to share the link via email? 


Thanks! 

Tobias

Hi BigSlik,


you can use 

SyntaxEditor Code Snippet

"/" + GetEntryEspaceName() + "/ScreenName"


Regards

Rahul Sahu

Rahul Sahu wrote:

Hi BigSlik,


you can use 

SyntaxEditor Code Snippet

"/" + GetEntryEspaceName() + "/ScreenName"


Regards

Rahul Sahu

thanks! 

can I send parameters with it (Like clientId)

Hi BST,

Of course you can send parameters, that's just standard URL stuff, e.g.:

"/ScreenName?MyParameter1=" + MyParameter1
Solution

BigSlikTobi wrote:

Rahul Sahu wrote:

Hi BigSlik,


you can use 

SyntaxEditor Code Snippet

"/" + GetEntryEspaceName() + "/ScreenName"


Regards

Rahul Sahu

thanks! 

can I send parameters with it (Like clientId)

Yes you can like 


"/" + GetEntryEspaceName() + "/ScreenName?InpParameter"+Val

or you can use 

SyntaxEditor Code Snippet

GetOwnerURLPath()+ "/ScreenName?InpParameter"+Val


Regards

Rahul sahu



Solution

Hi guys, 

I investigated a little and found out that in case of reactive apps GetEntryURL() is not useable as it creates an aspx which is not working in reactive applications. 

What needs to be done to use GetEntryURL in reactive apps is to remove the aspx this way 

SyntaxEditor Code Snippet

Replace(GetEntryURL("SomeURL"),".aspx","")

I guess this is not 100% just standard URL stuff ;) 


Have a nice evening! 

Tobias