Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4    Statistic  

UNNotification.SetNFCScript

Sets NFC trigger script.

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

Parameters

Parameter Description Example value
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

Blog Entries

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


UNNotification.SetLocationTrigger   -   UNNotification.SetScript

Feedback: Report problem or ask question.




Links
MBS FileMaker blog