I would like to create links in the Indoor Viewer using URL parameters. Unfortunately, only linking using the Layer Units works correctly for me. I used this documentation for this: https://doc.arcgis.com/en/indoors/latest/viewer/launch-directly-to-a-feature-or-route.htm#ESRI_SECTION1_E2847B92EBD845BB869B242357B674F3.
In the other cases, I have two problems:
1) Locate dropped pins on the correct floor
Setting the pin in the correct position works. However, the floor is not adjusted, even though the parameter “l” is set. The floor with vertical order 0 is always displayed.
Example: https://arcgis-prd-web.ethz.ch/portal/apps/indoors/?appid=603556f36a91438f8418f5d28c98bc1e&itemSourceKey=standalone&itemUniqueId=ETH.OCT.G&y=47.41328384316019&x=8.536499444054488&l=2
2) Launch POI via parameter
Like the units, I would like to call certain POIs via the ObjectID. For the units, this looks as follows:
https://arcgis-prd-web.ethz.ch/portal/apps/indoors/?appid=603556f36a91438f8418f5d28c98bc1e&itemUniqueIdField=OBJECTID&itemSourceKey=Units&itemUniqueId=3676912
If I try this for the POI, it does not open the POI:
https://arcgis-prd-web.ethz.ch/portal/apps/indoors/?appid=603556f36a91438f8418f5d28c98bc1e&itemUniqueIdField=OBJECTID&itemSourceKey=PointsOfInterest&itemUniqueId=266952
When I generate the link from the Indoor Viewer, I see that the subtype is used as the itemSourceKey. However, this is not mentioned in the documentation:
https://arcgis-prd-web.ethz.ch/portal/apps/indoors?appid=603556f36a91438f8418f5d28c98bc1e&itemUniqueIdField=OBJECTID&itemSourceKey=WC%20Herren&itemUniqueId=267134&x=8.507150338646934&y=47.40894202542164&l=2&visibleLayers=%5B%7B%22layerId%22%3A%22861bac56c6d1423487394cf45a4782a0%22%7D%2C%7B%22layerId%22%3A%22507533e3193c4fbd8d59bb046f60b659%22%7D%2C%7B%22layerId%22%3A%22616ee1574cf649c2a791143e3c46fc8f%22%7D%2C%7B%22layerId%22%3A%222a86556394b84a1eb9156e69cc594da2%22%7D%2C%7B%22layerId%22%3A%22b2743f212b7d41ca9d50494d69f722a6%22%7D%2C%7B%22layerId%22%3A%22d21a997d1b104d3ea4ea640d91441663%22%7D%2C%7B%22layerId%22%3A%22a234f795cbdb41e4aad5eef45e8e27b9%22%7D%2C%7B%22layerId%22%3A%220524b9056d594a16b2e382ccc8fc6dab%22%7D%2C%7B%22layerId%22%3A%227b3f0a804c204d27b34c5ba126233202%22%7D%2C%7B%22layerId%22%3A%227499c18947cf40d8983c5445916668ae%22%7D%2C%7B%22layerId%22%3A%22ee1f2f2f500143ba84c6a59803203e27%22%7D%2C%7B%22layerId%22%3A%22e6f335b54a124476b46b53cdc9c6adf4%22%7D%2C%7B%22layerId%22%3A%22a28ebaae142341da8dd6b76bf513059e%22%7D%2C%7B%22layerId%22%3A%22199a9d58348-layer-72%22%7D%5D
So now I'm wondering what the parameters for opening the POI should be.
i know this is old - are you still needing help with this?
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.