Friendly URL for Web Viewer
Non planifiéeI'm looking for a solution what will generate a persistent friendly URL that a user can bookmark that will equate to a web viewer url.
https://www.portlandmaps.com/apps/gcx/Geocortex/WebViewer/?app=1392f6d4a3154388921d131e84e4b117
so rather than the user bookmarking the link above they would have a friendly link like:
https://www.portlandmaps.com/portal/apps/sites/#/bds/pages/address-edit-app
I have tried using enterprise portal sites to achieve this, but i've found that I need to include my geocortex app in an iframe with a specific height. The solution would need to have the ability to update the target URL and would not behave as a redirect but more as a proxy, where the friendly URL does not change in the browser.
this idea is similar to:
https://community.esri.com/ideas/12430
Not sure if it's best to solve this from the geocortex side or ESRI side, but I've found latitude to be more responsive :)
-
Hi Jake - for Geocortex Web the 'persistent' part of the use case is well handled with the built-in app management pipeline. Specifically you push your app from dev to test to prod and then when you give out the prod URL that is a persistent URL at that point. You can still modify your dev, push to test, test etc. all without affecting prod or its URL. When you do push something currently in dev through test to prod the content of the item is updated without changing the item id so your URL is consistent.
As far as the "friendly" goes, I'd start by looking at what's already out there such as https://short.cm/ or https://www.rebrandly.com/
1 -
We created a proxy page, outside of Geocortex, that uses an alias and redirects the traffic to the actual URL. For instance, the URL of https://dnrmaps.wi.gov/H5/?viewer=TROUT is based on the alias name of TROUT and redirects to https://dnrmaps.wi.gov/Html5Viewer_2_10_Ext/Index.html?configBase=https://dnrmaps.wi.gov/Geocortex/Essentials/4_9_0_Ext/REST/sites/FM_Trout_Regulation_Guide/viewers/Trout_Regulation_Mapper/virtualdirectory/Resources/Config/Default
That redirect URL can be anything, including a AGOL URL.
The side benefit is that the smaller URL doesn't make specific reference to version or the type of application. In the example above, when that viewer migrates from the Essential to Geocortex Web, only need to change the underlying redirection.
One can also, use this approach to list all your Geocortex viewers: https://dnrmaps.wi.gov/H5/
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
2 commentaires