Skip to content

Deep Link Mobile

The insight mobile app supports the call of functions within the app. This is realized by deep linking via URL-Scheme. These links can be forced from web pages, emails or barcode scanner apps. Special characters, in value text, like & must be URL encoded: %26 (only in value strings).

  • Open the app: insightmobile://
  • Set the insight server: insightmobile://server:https://my-insight-server.com
  • Set the client configuration: insightmobile://config:{"clientConfigUrl":"https://my-insight-server.com"}
  • Show details for a record: insightmobile://details:workorder-quickrep/WORKORDER/4408
    • 4408 is the primary key (WORKORDERID) of the workorder record
    • Workorder-quickrep is the tree configuration
  • Show details by filter criteria: insightmobile://details:workorder-quickrep?WONUM=1847&SITEID=HD
    • The first found record is opened
  • Show create formular with predefined values: insightmobile://create:workorder-quickrep/WORKORDER?DESCRIPTION=Predefined text
  • Show a list: insightmobile://list:workorder-quickrep
  • Show a list with filter criteria: insightmobile://list:workorder-wappr?WOPRIORITY=2

Example HTML file:

<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <title>Page Title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
</head>

<body>
    <a href="insightmobile://">Open my app</a><br /><br />

    <a href="insightmobile://server:https://my-insight-server.com">Set server</a><br /><br />

    <a href="insightmobile://config:{&quot;clientConfigUrl&quot;:&quot;https://my-insight-server.com&quot;}">Set initial Config</a><br /><br />

    <a href="insightmobile://details:workorder-quickrep/WORKORDER/4408">Open details</a><br /><br />

    <a href="insightmobile://details:workorder-quickrep?WONUM=1847&SITEID=HD">Find details</a><br /><br />

    <a href="insightmobile://create:workorder-quickrep/WORKORDER?DESCRIPTION=foo">Create</a><br /><br />

    <a href="insightmobile://list:workorder-quickrep">List</a><br /><br />

    <a href="insightmobile://list:workorder-wappr?ASSETNUM=M06032015">List with Asset</a><br /><br />

    <a href="insightmobile://list:workorder-wappr?WOPRIORITY=2">List with Prio</a><br /><br />
</body>

</html>*