Determine which config json.js file a device is accessing?
Can you determine, using a workflow, the json.js config file that is currently being used by the client device accessing the workflow? Or is there some other way to determine this? I basically want to use this information in some logic in the workflow so that I ONLY show the home screen to mobile phone clients and not to desktop or tablet clients.
Michael
0
-
You can configure any of the shells to run a startup workflow by editing the corresponding json config file.
IE: Edit the Handheld.json.js and locate the startupWorkflows json array in the Workflow module.
"startupWorkflows": [ "HandheldStartupWorkflow" ],
You can also try the GetBrowserURL workflow activity from inside of a workflow.
-Kevin
0
Please sign in to leave a comment.
Comments
1 comment