Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

UNNotification.SetNFCScript

Sets NFC trigger script.

Component Version macOS Windows Linux Server iOS SDK
UNNotification 9.4 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "UNNotification.SetNFCScript"; Filename; ScriptName )   More

Parameters

Parameter Description Example
Filename The database file name where the script is located. "test.fmp12"
ScriptName The script name. "MyScript"

Result

Returns OK or error.

Description

Sets NFC trigger script.
If you use Background Tag Reading for NFC tags with CoreNFC framework, you can call this function in start script to define the script to trigger.

You need to add an associated domain to your iOS application.
See
https://developer.apple.com/documentation/security/password_autofill/setting_up_an_app_s_associated_domains

Examples

Sets action script:

MBS( "UNNotification.SetNFCScript"; Get(Filename); "NFC Detected" )

See also

Release notes

Blog Entries

This function checks for a license.

Created 14th August 2019, last changed 15th August 2019


UNNotification.SetLocationTrigger - UNNotification.SetScript