GetEntryURL in reactive web
Question

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

mvp_badge
MVP
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



mvp_badge
MVP

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)

mvp_badge
MVP
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



mvp_badge
MVP

Hi BST,

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

"/ScreenName?MyParameter1=" + MyParameter1

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 

Hi, guys!

I had the same problem during the use of GetEntryURL method. It was creating an error on service center complaining that the web block was not a page. This solution solved my problem when the replace method removed the extension. Thank you Tobias.

Best regards.


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