Configurable intents to be copied from Scan2Deploy Studio
The required properties for EMM entries are:
displayName
: Label displayed to the user for copy selectionintent
: Structured intent for EMM (see Configuring intents)
Example:
{
"version": X.X,
"emms": {
...
- "existingEmm": {}
+ "existingEmm": {},
+ "newEmm": {
+ "displayName": "New EMM",
+ "intent": " ... "
+ }
}
}
There are two placeholders that can be used to define where the corresponding data should be injected into the intent.
%encoding%
: Will be replaced with the current encoding version selected in Studio%data%
: Will be replaced with the encrypted barcode data generated by Studio
Note: if a double quote is required within the final output of the intent, a single backslash will need to be used to escape the quote (e.g. "example intent \"surrounded by escaped quotes\""
)
Given the following:
- intent definition: "intent --encoding %encoding% --data %data%"
- Studio barcode version: "v3"
- Studio barcode data: "T3yYK0x8dt"
Resulting intent:
intent --encoding v3 --data T3yYK0x8dt
To modify the emm-intents.json file, follow these steps:
- Create new branch
- Make modifications
- Submit pull request
Pull requests will be reviewed by a code owner, and if approved, will be allowed to merge.