Deep Link URL

0
Hi Mendix Experts   I am using Deep Link Module to generate link for my feedback from and add that link on page like this /http://localhost:8080/link/feedbackallocation/{Id} but I am getting these two errors  and in email I am sending link to open my page for to submit the form.   Any assistance in this will really help me I hope you can help.
asked
3 answers
1

This looks like you are using the Page URL property rather than the Deeplink module.

 

https://docs.mendix.com/refguide9/page-properties/#url

 

In this case, make sure you have the URL property set to the following 

/feedbackallocation/{Id}

 

The link doesn't usually have the word /link/ in the URL (that is for links using the Deeplink module). It is usually /p/ , so a full link would look like this...

http://localhost:8080/p/feedbackallocation/3212449487634321

 

If you need to get the ID number for an object in a microflow (such as when you are building a URL to share), you can use the getGUID action in the Community Commons module to get this.

https://docs.mendix.com/appstore/modules/community-commons-function-library/#orm

 

I hope this helps!

 

answered
0

Hello Syed,

If the mendix version you are using is higher than 10.6 you will not need the deeplink module anymore. You can just use the URL field for a page or a microflow.

As for your errors, is 'feedbackallocation' the object you need to pass to the page? if so the curly brackets need to be around that as well. Like this(with capitals where needed): 

URLexample.png

answered
0

The {Id} you are passing is either not being read from the URL or not being used to retrieve the expected object in the handler microflow.

  • Your microflow (e.g., HandleFeedbackDeepLink) must accept a String parameter.

  • In the microflow, use Retrieve by ID or XPath to get the corresponding object.

  • If you're retrieving a feedback object by ID, make sure that ID exists and is accessible to the user role.

answered