Deeplink not working with online and offline navigation profile

11
Dear community,   For a project we have an PWA offline integration. To do this we have both online and offline navigation profile in place. The default home page of online profile is a microflow, of the offline profile a page (as only pages are possible).   Furthermore we make use of deeplinks. However, when we navigation to a Deeplink, the on-enter microflow is not triggered. Instead, the homepage of the offline profile is triggered. If we later use the on-enter microflow, the deeplink is picked up. However, we want this directly, as manually editing the url is not feasible.   We tried to extend the deeplink url with profile=Responsive to force the url to use the online profile. This did not work.   Does anyone have ideas?
asked
1 answers
0

Hi Alexander,

 

Try this before redirecting to the deeplink URL from the offline profile:

Change the ‘Profile’ cookie using a JS action. Set the ‘Profile’ cookie to ‘Responsive’:

document.cookie = key + "=" + value + ";"
return true;

Use the ‘Remove storage item’ activity to remove key ‘session’.

Now redirect to the deeplink using the profile=Responsive parameter.

 

answered