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
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
GetOwnerURLPath()+ "/ScreenName?InpParameter"+Val
Rahul sahu
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
Replace(GetEntryURL("SomeURL"),".aspx","")
I guess this is not 100% just standard URL stuff ;)
Have a nice evening!
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.