Run on Startup - Desktop, Handheld, Tablet
This should be possible, but I cant figure out how to do it. I have created a form to run on startup and what I was wondering is if it is possible to prevent it from running on a handheld device (due to its size) OR if I create three different forms how can I set them to open on the appropriate device the viewer is launched on i.e Desktop, Tablet, Handheld.
I have mucked around in CSS and have managed to resize the form in each, but its not quite cutting it
Cheers
Chris
0
-
Hi Chris,
Checking the "User Agent" setting in the header would be the best method. Have a look at this post for ideas -
https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&#!/feedtype=SINGLE_QUESTION_DETAIL&criteria=ALLQUESTIONS&id=90660000000XbL8AAK
Regards,
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 1117 Wharf Street Victoria, BC Canada V8W 1T7
Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com
Developers of Geocortex web-based mapping software | www.geocortex.com
An Esri Platinum Business Partner0 -
Instead of setting the Run On Startup option on a workflow, you could use the startupWorkflows option in the viewer's configuration file. Since there are separate files for Desktop, Tablet and Handheld, you could run a separate workflow on each type of device.
This requires manual editing of DEVICE.json.js: Search for a line containing startupWorkflows, and change it to"startupWorkflows": [ "myDeviceTypeWorkflowId" ],0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare