Available with the ArcGIS Indoors Maps extension.
Just as you can configure launch actions to open other apps from the Indoors mobile apps, you can configure a link to launch the Indoors mobile app from other configurable mobile apps. If your organization uses other configurable mobile apps, you can embed the share link in those apps to launch the Indoors app automatically centered on a specific feature.
The following are examples of using a URL link:
- Mobile workers who use a work order app can launch the Indoors mobile app automatically centered to a specific work order.
- Employees who use a company-specific app to keep track of meetings and events can launch the Indoors mobile app automatically centered to the location of an event or meeting to quickly get directions without needing to search in the Indoors app.
URL parameters
The link generated using the Share button contains the parameters described in the table below that identify the feature's location. You can use these parameters to build a URL that launches the Indoors mobile app to a specific feature.
Parameter | Description |
---|---|
mapid | The ID of the mobile map package (MMPK) item in your ArcGIS organization. This parameter is only required if you want to locate the feature in a specific map and have more than one shared map. The Indoors app displays a message if the active map is different than the map specified in this parameter. Note:If the mapid parameter is not present in the URL, the app attempts to locate the feature in the active map. |
itemSourceKey |
The name of the layer in the map that contains the feature, for example, Units. |
itemUniqueIdField |
The field in the itemSourceKey layer that contains a unique identifier for the feature. |
itemUniqueId | The itemUniqueIdField field value for the feature. |
x | The longitude of the feature. This parameter is optional. |
y | The latitude of the feature. This parameter is optional. |
l | The vertical order of the floor where the feature is located. This parameter is optional. |
Example URLs
The examples below are of URLs that can be used to launch to a feature.
URL to launch the Indoors mobile app to a feature
- Shared office location (ArcGIS Enterprise): https://<My ArcGIS organization>/portal/apps/indoors?mapid=783d905c84e7469abdd641c66e70c1ec&itemSourceKey=Units&itemUniqueIdField=UNIT_ID&itemUniqueId=BuildingA.Floor1.Room100&x=-117.1970211786788&y=34.05616621509763&l=0
- Shared office location (ArcGIS Online): https://<My ArcGIS organization>.arcgis.com/apps/indoors?mapid=783d905c84e7469abdd641c66e70c1ec&itemSourceKey=Units&itemUniqueIdField=UNIT_ID&itemUniqueId=BuildingA.Floor1.Room100&x=-117.1970211786788&y=34.05616621509763&l=0
URL to launch the Indoor Viewer app or Indoors mobile app to a feature
- Shared office location (ArcGIS Enterprise): https://<My ArcGIS organization>/portal/apps/indoors?appid=431ec99004b64bc5b30a4923f67e0c27&mapid=783d905c84e7469abdd641c66e70c1ec&itemSourceKey=Units&itemUniqueIdField=UNIT_ID&itemUniqueId=BuildingA.Floor1.Room100&x=-117.1970211786788&y=34.05616621509763&l=0
- Shared office location (ArcGIS Online): https://<My ArcGIS organization>.arcgis.com/apps/indoors?appid=431ec99004b64bc5b30a4923f67e0c27&mapid=783d905c84e7469abdd641c66e70c1ec&itemSourceKey=Units&itemUniqueIdField=UNIT_ID&itemUniqueId=BuildingA.Floor1.Room100&x=-117.1970211786788&y=34.05616621509763&l=0
URL to launch the Indoors mobile app to a specific location (x,y,l only)
- Shared location (ArcGIS Enterprise): https://<My ArcGIS organization>/portal/apps/indoors?mapid=783d905c84e7469abdd641c66e70c1ec&x=-117.19555207109245&y=34.05733200897579&l=0
- Shared location (ArcGIS Online): https://<My ArcGIS organization>.arcgis.com/apps/indoors?mapid=783d905c84e7469abdd641c66e70c1ec&x=-117.1970211786788&y=34.05616621509763&l=0
URL to directly launch the Indoors mobile app
The URLs in the examples above are web links that provide the option to launch the Indoors mobile app or the Viewer web app. You can also configure the link to directly launch the native mobile app by replacing https:// with arcgis-indoors:// in the URL.
The following is an example of a URL to directly launch the Indoors mobile app to a shared office location: arcgis-indoors://loc?mapid=783d905c84e7469abdd641c66e70c1ec&itemSourceKey=Units&itemUniqueIdField=UNIT_ID&itemUniqueId=BuildingA.Floor1.Room100.
URL to directly launch the Viewer app
The URLs in the examples above are web links that provide the option to launch the Indoors mobile app or the Viewer web app. You can configure the link to directly launch the Viewer app in a mobile browser on iOS devices without showing this prompt by appending the &openWebApp=true argument to the URL.