Smart Forms now support Deep Linking Elements. This will allow users to be redirected to other apps on the device.

This is implemented via the x-callback-url library, see their documentation here for more information


NOTE: Not all applications on your device may support Deep Linking so make sure to check their documentation


Adding Deep Link Element to Smart Form


The 'Deep Link' element can be found at the bottom of the Toolbox in the Form Designer.

Figure 1 - Form Designer: Deep Link Element


This element will have a General Tab (Name, Label, Description) and a Visibility Tab where users can define visibility logic for the element. The last tab 'Deep Link' is unique to the Deep Link Element.


Figure 2 - Edit Deep Link Element


Fields on Deep Link Element:

FieldsDescriptionNote
SchemeThis is the Target Application that will be opened once clicking the deep linkThe scheme may not be the app name, please refer to the applications documentation for the correct scheme name
ActionThis is the action taken by the Target ApplicationNot all Deep Links require an action, please refer to the applications documentation for more information
Action Label FormulaThe label for the button in App on the Smart Form
SourceThe application that the Deep Link is run fromAlways "Axsy Mobile"
HostThe host of the Deep linkAlways "x-callback-url"
ParametersAny additional information that should be passed into the target applicationThis information can be found in the Target Application's documentation
DebugDisplays the Deep Link URL alongside the Action Label in App

Table 1 - Fields on Deep Link Element



Populating Deep Link Fields with Example

Figures 3 and 4 show an example of a working Deep Link. This example will redirect the user to Google Maps to view a given location (in this case Buckingham Palace).


Figure 3 - Deep Link Element Fields: Part 1/2


Figure 4 - Deep Link Element Fields: Part 2/2


Populated Fields on Deep Link Element Example:

FieldValueNote
Schemecomgooglemaps-x-callbackSee the Application's Documentation
Action

In this case the Action is left blank as the parameters will define the action to be taken, as per the Google Maps Documentation

Action Label FormulaOpen Google MapsFigure 5 shows how this manifests in the Axsy Mobile App
SourceAxsy MobileDefault Value
Hostx-callback-urlDefault Value
Parameters
q = "Buckingham Palace"
center = "51.5014,0.1419"
mapmode = "standard"

Table 2 - Deep Link Element Fields: Populated Example


Figure 5 shows the Deep Link in a Smart Form. Clicking the highlighted button will redirect the user to Google Maps as shown in Figure 6.


Figure 5 - Deep Link Example in Axsy Mobile


Figure 6 - Deep Link Result Example