Question about deep link configuration

0
Hi there, I am using deeplink module, but now face to a problem. Request URL like 'http://servername/link/linkName/{some parameter} ' works well. But I would like to set request URL as http://servername/applicationName/link/linkName/{some parameter}.     I tried as followings, I changed Deep link modeule's Constants 'RequestHandlerName' value to 'applicationName/link', then created deep link configuration (set 'linkName' to 'Name' value ).   (Deep link's ArgumentExample value was 'http://servername/applicationName/link/linkName/')       when I click url, error occures. '404 - file not found for file: applicationName/link/linkName/'  In stead of above change, I changed Application root URL value to 'http://servername/applicationName'  , then created deep link configuration (set 'linkName' to 'Name' value ).   (Deep link's ArgumentExample value was 'http://servername/applicationName/link/linkName/')       when I click url, same error occures. '404 - file not found for file: applicationName/link/linkName/'  Does Anyone have any idea how to solve this? Thanks in advance, Satomi
asked
3 answers
1

Hi Satomi,

I am not sure if you could do what you suggest. A other possibility however is to create a link like:

 http://servername/link/linkName?ApplicationName=YourValue&SomeParameter=YourValue

In this case you let the deeplink redirect to a microflow with 2 string parameters, 1 is applicationName and the other is SomeParameter. In the deeplink settings you use the Get parameters and seperate these parameters. 

Hope this helps.

Kind regards,
Maarten

answered
0

Satomi,

 

I was able to reproduce your error when changing the deep link module constant to "applicationname/link". When I changed the value to "applicationname" the deeplink was able to work. My guess is that the request handler gets confused with the slash in between applicationname and link. I didn't debug the code in eclipse to confirm this, but thats my best guess. What are you trying to achieve with "applicationname/link" as your request handler?

answered
0

I looked through the Java action 'DeepLink.StartDeeplinkJava'. and I found that the custom RequestHandler class 'DeepLinkHandler' does not support a path including '/'.

I duplicated and customized the 'DeepLink.StartDeeplinkJava' and 'DeepLinkHandler' class, consequently it worked well.

I'm sorry to have caused you trouble. Thanks a lot!

answered