path
path redirect the user to a different page.
note: path must be last item ( processor does not check for subsequent ones after path )
action
"path"
Action Name
options.windowName
string
{ optional } If specified the options object will be used to update the target window that has the specified name. This is useful for changing things like card modal forms without destroying th modal and recreating again. Can also target windows by id
viaoptions.id
ver 0.8.2+
options.path
string
{ optional } URN path that follows the # (hash) eg:
"/" - index page
"/form/:id - a form with id
options.url
{ optional } will open page url in a new tab
options.sameWindow
{ optional } If true, will open url replacing the BetteForms app (same tab)
options.name
string
The windowName of the target window. If not specified _blank is used. ( Ver 0.10.22+ )
// example path action object
{
"action" :"path",
"options" :
{
"path": "/invoiceList"
}
}
// This will replace the BetterForms page with the URL 'www.delfsengineering.ca'
{
"action" : "path",
"options" :
{
"sameWindow" : true,
"url" : "http://www.delfsengineering.ca"
}
}FileMaker Custom Function
BF_SetAction_Path("/form/123-1234-5678") // takes user to form 123...Last updated