_FmNx_Register( "WEB-2.0-TK3N-F9SV-YT2F-530F2"; "FM Nexus" )
If a valid license key is entered, then the result is the word "Success"
NOTE: This function needs to be called after every launch of FileMaker before you make use of the plug-in (for example in an On Open script).
IMPORTANT: If you call the registration function and it does not have the correct license key, your WSDL functions will not load. For demo purposes you do not need to call the registration function. The demo will automatically expire after 1 hour. To continue testing after 1 hour, you must quit and relaunch FileMaker.
IMPORTANT: When using plug-in functions on a FileMaker Server from a scheduled script, you must call _FmNx_Register every time the script runs.
If your solution requires that the plug-in be present, you can also include the following steps to check if the plug-in is installed. Then follow this with the registration logic to make sure the Web Services plug-in also gets registered.
Set Variable [$_version; Value:_FmNx_Version( "short" )]
If [$_version = "?"]
Show Custom Dialog["Web Services Plug-in"; "The web Services Plug-in is not installed or activated."]
Halt Script
End If
Set Variable [$_result:; Value: _FmNx_Register( "WEB-2.0-TK3N-F9SV-YT2F-530F2"; "FM Nexus" )]
If [$_result <> "Success"]
Show Custom Dialog["Web Services Plug-in"; "The web Services Plug-in is not registered correctly."]
Halt Script
End If
Comments