NFC¶
NFC tags can be read in insight-mobile and used in different places:
NFC is only supported in iOS and Android.
- Index search: The search field can be filled using an NFC tag.
- Must be activated globally. (enableNfc)
- The first text of the NFC tag is used as search string by default.
- The complete NFC result can be processed before the search using searchReplaceFunction.
- Attributes: The value of the attribute can be filled using an NFC tag.
- Can be activated for any attribute. Example:
"root": {
"name": "Standort",
"attributes": [
{
"name": "LOCATION",
"label": "Standort",
"type": "String",
"nfc": true
}
]
}
- The read NFC tag can be processed using [validation](../dataModel/data-model.md#validation). The validation function receives the first text of the NFC tag and the completely read nfcResult.
- Attribute search: The value of the search attribute can be filled using the NFC tag. (searches:
backend: true
orshowFields: true
)- see attributes
- Menu action nfcRead: Forces a NFC scan and passes the result in the payload of the "then" chain.