Insert Link to open App on Mobile
We're implementing a new inspection form solution for our customers and are trying to integrate this application within our HTML5 viewer on Mobile. The new iForm application we're using allows you to create a url for linking purposes. We've been able to get this url to work in Arc GIS Online, Text Messages etc. When trying to insert this into the map tip for the features, Essentials does not like that it does not have an HTTP or HTTPS link and does nothing when trying to open from the map tip. (on mobile or desktop). The link will go to iForm:// instead of your typical http structure, to open the app directly. We would really like to get this working as we are going to build some complex workflows around this functionality but can't start until we get a simple connection going. Thanks!
0
-
Hi Brian,
I can think of a couple of methods you could explore to accomplish this :
1) submit an Idea to have this functionality added to the viewer, it may be implemented down the road
2) edit the following file - C:\inetpub\wwwroot\Html5Viewer\Resources\Compiled\Mapping.Infrastructure.bundle.js and look for the word "gopher". The section that includes the word gopher is a list of allowed protocols. You can try adding a comma and "iForm" to the list of current protocols. I am not sure if this will work, it would need testing and it could be over-written with every upgrade you perform.
3) use an http link to a custom webpage that acts as a landing page to pull the attributes out of the URL and calls iForm:// with the parameters. The link in the viewer would be an http link and therefore permitted -
<a href="http://<server>/iFormRedirect.html?somedata:123456789">Open redirect page</a>
and you would need to create a page called iFormRedirect.html with some javascript that calls iForm:// and includes your data
I hope this helps.
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
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar