Deep Links & Launch Options

Deep Links & Launch Options

Deep links (or App Links) allow you to route users directly to specific screens within your mobile app using unique URLs. Whether you are distributing these links via email, SMS, or embedding them in NFC tags, precise syntax is critical.

Using the correct structure ensures your users bypass the home screen and land exactly where they need to be, with the correct form fields automatically pre-filled.

Syntax Template
[scheme]://[target_screen]?[key1]=[value1]&[key2]=[value2]
Redirect Example – Email Clients
https://secure.eforms.mobileform.net/appredirect?link=eForms://inspection?site=hello&Condition=123

Accessing Launch Options

To manage launch behavior and build custom deep links:

  1. Navigate to App Workshop > App Setup > Launch Options.
  2. Click Manage in the top-right corner.
  3. Select Add Launch Rule to create a new app link.

Understanding Deep Link Syntax

A standard deep link consists of a fixed URL Scheme, a Target Screen, and optional Query Parameters.

Target ScreenSyntax Example
URL SchemeThe prefix before :// (e.g., eformsmobile:// or yourcompany://). This value is fixed and determined by whether you use the standard app or a custom-branded native app build.
Target Screen / Launch ValueThe path portion evaluated by the app against your configured Launch Rules.

Matching Rule: If the incoming link matches a rule, the designated screen opens.



Fallback: If no rule matches, the app defaults to launching the standard Start Screen.

Use clear, descriptive screen identifiers (e.g., eformsmobile://inspection) rather than generic codes to keep links readable.
Query ParametersPass contextual data into the app using standard query string syntax:

Place a ? before the first parameter.

Separate subsequent parameters with an &.

Configuring Screen Parameters

When a deep link launches a screen, you can map parameter values into the target interface using {{parameterName}} syntax.

Target ScreenSyntax ExampleBehavior
Formfield1:{{city}}|field4:{{hello}}Sets form field values using dataname:value pairs separated by pipes (|).
Listing & Mapping{{target[3]}} >= {{price}}Filters displayed rows using a logical formula. Reference target columns via {{target[columnIndex]}}.
Detail{{mychoice}}Pass a single value matching the primary key (first column) of the target data row.

Conditional Rules

If you use the same deep link for multiple workflows or user roles, define multiple Launch Rules for that link and apply Conditional Formulas.

The app evaluates rules sequentially from top to bottom and executes the first rule where the condition evaluates to True.

  • Example Link: yourcompany://inspection?perform=Yes
  • Formula: {{perform}} = 'Yes'
  • Role-based Example: USERMETA('Role') = 'Project Manager'

Advanced Configurations & Best Practices

Prepopulating Mapped Fields

Avoid passing parameters directly into fields driven by external data sources or dynamic bindings.

Recommended:

  1. Pass the deep link parameter into a Hidden Field on your form.
  2. Reference the hidden field’s {{dataname}} in the Dynamic Value setting of the target mapped field.

Passing Data to Multiple-Choice Fields

To select multiple options in a multi-choice field, pass pipe-separated values in the parameter string:

Multiple-Choice
https://secure.eforms.mobileform.net/appredirect?link=eformsmobile://survey?selected_options=Red|Blue|Green

Requirement: Ensure the target field on your form has the Multiple-choice property enabled.

Certain email clients (such as Gmail or Outlook) strip custom URL schemes like eformsmobile:// for security reasons. To prevent broken links in emails, wrap your deep link inside our secure web redirect service:

Web Redirect
https://secure.eforms.mobileform.net/appredirect?link=eformsmobile://inspection?site=hello&condition=123

When tapped, this URL opens a branded landing page in the user’s web browser, which cleanly redirects and opens the native application.

Mind Your Spaces (URL Encoding)

URLs cannot contain physical spaces. If you are passing a value with a space (like “New York”), ensure it is URL-encoded. A space becomes %20.

  • Incorrect:...&city=New York
  • Correct:...&city=New%20York

Bulk Import and Export

You can manage launch rules at scale using Excel (.xlsx) or .csv files rather than configuring them manually in the web panel.

  1. Navigate to Launch Options > Manage.
  2. Select Export rules to backup existing logic, or Download Template to start fresh.
  3. Populate your file using the required header layout:
  1. Select Import Rules to apply your updates.

Note: Downloaded templates include two sheets: Launch Options (for data entry) and Definitions (reference guide for syntax requirements).

Required Header Layout

App LinkScreenScreen ParametersConditional Formula
app://inspectionInspection Formsite:{{site_id}}{{role}} = 'Inspector'



Troubleshooting Common Issues

If your deep link isn’t behaving as expected, check these common culprits:

The link opens the app, but goes to the Start Screen instead of the Target Screen.
  • Check your spelling: The Target Screen name in your link must exactly match the screen name defined in your Launch Options.
  • Check your Launch Rules: Ensure you actually have a Launch Rule created and active for that specific target screen.
The link is unclickable plain text in an email or SMS.
  • Email Client Block: Your email client is blocking the app:// scheme. Use the Web Redirect method outlined in the Best Practices section above.
The app opens the correct screen, but the fields are empty.
  • Missing the ?: Did you accidentally use an & or a / before your first parameter? It must be a ?.
  • Data Name mismatch: Ensure the Parameter Key in your link exactly matches the Data Name of the field in your form builder. These are case-sensitive.
Only the first word of my value is showing up in the form.
  • Unencoded Spaces: You likely have an unencoded space in your link. Replace spaces with %20 (e.g., Value=First%20Name).