Creating deep links into the SugarCRM Mobile app

Matthew Marum —  March 18, 2015 — 2 Comments

Someone recently asked Sugar Engineering the following question.

Suppose I have a webpage or web app that I am accessing from a mobile device, e.g. Safari on iPhone or Chrome on Android. Is it possible for me to create a link on that page into the SugarCRM Mobile application installed on my mobile device? Say for example I want it to open my mobile app to a specific Contact record.

SugarCRM Mobile does support this kind of functionality.  You can embed a link that looks as follows:

<a href="sugarcrm:///Configure?page=Contacts%2F_RECORD_ID>" View Contact </a>

Where “_RECORD_ID” is replaced with the full Contact ID.  Basically, the page parameter is the URL encoded route into the SugarCRM Mobile application.  To find out other supported routes, you can navigate around the web version (http://your_sugar_instance/mobile/) of the mobile app on any Sugar 7 instance.  The part of URL after hash sign will be the route you can use in “sugarcrm://” links.

This will have you creating some slick integrations with the SugarCRM Mobile app in no time!

Matthew Marum

Posts

Matt is the Director of Developer Advocacy for SugarCRM. Previously he was an Engineer on Sugar 7 and a Solutions Architect for the OEM program. He is also an avid trail runner, Boston Marathon qualifier and a karaoke aficionado.

2 responses to Creating deep links into the SugarCRM Mobile app

  1. 

    This works great on iOS, but doesn’t seem to function on Android phones. Any thoughts why that might be? It looks like deep linking functions differently with Android (using “Intents”, perhaps) – but I haven’t located any information on generating these types of links for the SugarCRM Mobile app specifically.

    • 
      Matthew Marum June 13, 2016 at 1:49 pm

      It works for some versions of Android but better support for deep linking on Android is coming soon. What version of SugarCRM Mobile app and Android are you using?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s