Launch a form on a device from external source

Launching a particular form from an external app or website is possible on both iOS and Android via a custom registered URL scheme.  This is helpful if you want devices associated with your account to be able to automatically open a form without first opening the Device Magic app.

 

For example:

dmforms://openform?formid=12345

or

dmforms://openform?formnamespace=url_encoded_namespace

 

In order to do this, however, there are three prerequisites.

 

One, the Forms app needs to be installed.

Two, the device being used needs to be joined (via the Forms app) to the appropriate organization.

Three, the form that is going to be launched needs to have already been downloaded onto the device being used.

 

To get the "formid" and the "formnamespace", put ".xml" at the end of your forms page URL.

 

For example:

https://www.devicemagic.com/organizations/<my_org>/forms.xml

 

The page that will load will show your forms listed in a document tree. It is here that you will be able to see your forms, along with the "formid" and "formnamespace" details.

 

For example:

 

<form>

<id>72</id>

<name>Question Types</name>

<namespace>

http://www.devicemagic.com/xforms/cf630030-38cc-0131-5b84-20c9d07d280d

</namespace>

<version>1.00</version>

<description/>

<group>Default</group>

</form>

 

Plug these details into the URL to make the most of this feature!

 

Have more questions? Submit a request

Comments

  • Avatar
    Secure All Security

    Is it possible using this method to set up individual icons on the device:
    Let's say I've installed the app on my phone and there are eight forms in this device's group, but there's one form I use 98% of the time - can I make an icon for that form so that when I click it brings me straight to the form. ...?

Powered by Zendesk