Select to view content in your preferred language

Simplify the link generated from the Share button

118
0
4 weeks ago
Status: Open
Labels (1)
MollyE
by
Frequent Contributor

If possible, it would be great to have the link generated by the Share button in the Indoors Viewer simplified more, so it only contains the data directly related to the feature you are trying to share. It currently creates an insanely long link (shorted into a tiny arcgis url) that contains a ton of data about the map and all of its layers . The problem we have run into with this is that if we switch out layers in the map, it sort of breaks the link and will end up not loading some or any of the map layers.

So right now the link looks like this:

https://ourorganization.maps.arcgis.com/apps/indoors/viewer.html?appid=8fc826e1112348b19dd763027c1e1c16&itemUniqueIdField=UNIT_ID&l=0&itemSourceKey=Units&itemUniqueId=HLC_1000.LV1.1100&x=-97.7138567386298&y=30.327249344660856&visibleLayers=%5B%7B%22layerId%22%3A%2239a30d531f064092b1ba88497f1fb400%22%7D%2C%7B%22layerId%22%3A%22e478748a58094ca8ab9b61e2f180634c%22%7D%2C%7B%22layerId%22%3A%222217a3c1f86843019762dfff3c8caa4d%22%7D%2C%7B%22layerId%22%3A%22c119f31250b54b48abc8cb0d69828945%22%7D%2C%7B%22layerId%22%3A%2285a570b2878a4a6eb19e1d6c1641fd6d%22%7D%2C%7B%22layerId%22%3A%229a1f2e07944d43db8223b6941d7dac79%22%7D%2C%7B%22layerId%22%3A%22f35c479cd0d54b33badc094d0e063416%22%7D%2C%7B%22layerId%22%3A%22e38778809ee24abca69e7cbf90cd91df%22%7D%2C%7B%22layerId%22%3A%22198f1fb6305-layer-20%22%7D%2C%7B%22layerId%22%3A%22eebb08b54bed490799ec5b275dfd1b3b%22%7D%2C%7B%22layerId%22%3A%2276e01261549e4ad48f285ebf80a48977%22%7D%2C%7B%22layerId%22%3A%22eab85c92d53c432c836d83b4bfd25882%22%7D%2C%7B%22layerId%22%3A%22198a9fa4f7b-layer-19%22%7D%2C%7B%22layerId%22%3A%22198808b9e7d-layer-18%22%7D%2C%7B%22layerId%22%3A%22116263afd799415396cb9a1a55d8081d%22%7D%2C%7B%22layerId%22%3A%22ef012b2f16a24a3e9ebe9647ac9a34d5%22%7D%2C%7B%22layerId%22%3A%2221f6368c78d449cdb6b8ef66453e269a%22%7D%2C%7B%22layerId%22%3A%22d97d2dffcaf547939388120a0df81662%22%7D%2C%7B%22layerId%22%3A%2219a78cb990a-layer-99%22%7D%5D 

But we have discovered that it only needs the app ID (viewer ID), Uniquie ID Field identifier and the Unique of the feature you are sharing, so something like this:


https://ourorganization.maps.arcgis.com/apps/indoors/viewer.html?appid=8fc826e1112348b19dd763027c1e1c16&itemUniqueIdField=UNIT_ID&l=0&itemSourceKey=Units&itemUniqueId=HLC_1000.LV1.1100 

We've done some testing and have tried switching out layers in the map, even our Units layer to different one (that still has the same Unit ID) and it works great. We are able to create these links ourselves to share to people, but we can't really expect our users to understand this issue and modify the links accordingly. We would like our faculty and staff to be able to easily share map locations with students, but have been hesitant to push that feature because we are constantly finding broken links as we are still fine-tuning our indoors maps as we receive feedback and are actively adding/removing layers accordingly.