Urgent: Redirect to Nowmobile application from Servicenow portal page not working

pethumdesilva
Tera Guru

Hi Members,

I have a mobile application and desktop application. it used to sync the google fit data.

Now I created portal widget and that page redirect to the google consent window from mobile(mobile I used url applet), and allow user to do authenticate there.

After user authenticated google redirect back to my desktop application UI page.

But now I want to close the UI page in the mobile browser and open the mobile application.

I tried to use deeplink It's working when I put it on email or slack, but when I put it in the portal page it's not working,

like: <a href="<my-instance url>/deeplink/snrequest/redirect/eyJTY3JlZW5JZ4I7IjYzOWUzM2JiZGJlMDY4NTBiNWIyNDU5ZDNiOTYxOWFlIiwiRm9ybUZpZWxkVmFsdWVzIjp7fX0" target="_blank">Mobile</a>

My questions are,

1. How to open mobile screen from portal page button click

2. Can we close the portal browser page dynamically (window.top.close() not working).

3. Is there any suggestion to achieve this

 

 

Thank you

3 REPLIES 3

Mario Quinones1
Mega Guru

Have you tried https://<my-instance url>/$m.do ?

Hi Mario,

 

Thank you for the reply, but in my case it's not working. I want to open the Now Mobile application not the classic mobile UI

 

Thank you.

were you able to figure this out?  i have the same desire.