Sortcut configuration
{
"list": [
{
"name": "Swimlane",
"icon": "star",
"target": "post",
"options": { ... }
},
... additional entries ...
]
}
List object fields
Target | Description | Required fields |
---|---|---|
name |
Display name | Required |
icon |
Icon string | Required for primary |
target |
One of the targets below | Required |
options |
Option configuration | Varies by target |
Targets
Targets
Target | Description | Required fields |
---|---|---|
post |
Create a dispatch | See dispatch options |
form |
Start a form flow | See form options |
share |
Share using mobile device options | See share options |
Nav target | Any valid navigation target |
Dispatch options
The following attributes can be used for a Post configuration. They are all optional.
user
: user id for the dispatchbatchId
: batch idserviceId
: service idswimlane
: swimlane id or handletracker
: tracker id or handledate
: date format following YYYY-MM-DDdata
: data to merge intriggerMedia:
rule
: dispatch properties to overidefeatures
: override the tracker settingusers
: off | on | hidden
Form options
The form action will initiate a layout view.
id
: id of the layout to usecloseBehavior
: confirm | default; will determine whether the form can simply close or should prompt the user first.
Share options
The share action will open the built in share functionality of the mobile device. This will generally allow the user to share content using their installed applications that support sharing. No authentication is needed since the data flow is one way only.
subject
: subject to sharemessage
: messageurl
: URL to sharechooserTitle
: Title for the chooserappPackageName
: Android only; the id of the app to share with