Select to view content in your preferred language

Multiple shortened sharing links?

1750
3
Jump to solution
05-10-2019 11:34 AM
by Anonymous User
Not applicable

We ran into some confusion when it came to shortened links. Is there a reason you get three separate shortened links that bring you to the same app? It created a little confusion for us so just wondering the reasoning and if there was a way to only get one shortened link when wanting to share. I've attached screenshots and links below. Thanks!

https://arcg.is/XTbia - This link came from the little link icon on the details page.

https://arcg.is/0qz1iz  - This link is from the small link icon within the app. It is also the same link when in edit mode and you select "SHARE" at the top.

https://arcg.is/1iG5Ky  - This link is given when in edit mode and you click the small link icon.

0 Kudos
1 Solution

Accepted Solutions
MikeMinami
Esri Notable Contributor

The first shortened link points to the item page:

https://www.arcgis.com/home/item.html?id=5ebe98ea445a419d9b161068b64d93f7

The second shortened link points to the app:

https://usfs.maps.arcgis.com/apps/MapSeries/index.html?appid=5ebe98ea445a419d9b161068b64d93f7

The third shortened link points to the app with a folder

https://usfs.maps.arcgis.com/apps/MapSeries/index.html?appid=5ebe98ea445a419d9b161068b64d93f7&folder...

So the reason the shortened URLs are different is because the URLs they are shortening are different.  The first differing from the others is clear because it points to the item details page of the app, not the app itself. I don't know what the additional URL parameter for folderid does. In your app, there appears to be no difference in the resulting app display with or without the folderid. If I had to guess, it may be that the folderid represents the tab to show by default. If you don't specify a folderid, perhaps you get the first tab of the app.

Mike

View solution in original post

3 Replies
MikeMinami
Esri Notable Contributor

The first shortened link points to the item page:

https://www.arcgis.com/home/item.html?id=5ebe98ea445a419d9b161068b64d93f7

The second shortened link points to the app:

https://usfs.maps.arcgis.com/apps/MapSeries/index.html?appid=5ebe98ea445a419d9b161068b64d93f7

The third shortened link points to the app with a folder

https://usfs.maps.arcgis.com/apps/MapSeries/index.html?appid=5ebe98ea445a419d9b161068b64d93f7&folder...

So the reason the shortened URLs are different is because the URLs they are shortening are different.  The first differing from the others is clear because it points to the item details page of the app, not the app itself. I don't know what the additional URL parameter for folderid does. In your app, there appears to be no difference in the resulting app display with or without the folderid. If I had to guess, it may be that the folderid represents the tab to show by default. If you don't specify a folderid, perhaps you get the first tab of the app.

Mike

by Anonymous User
Not applicable

That makes sense, but is it possible to just a have a default shortened link for the item page and a default link for the app or does it not work that way? Thank you again, this has been helpful.

0 Kudos
MikeMinami
Esri Notable Contributor

I'm not sure I understand your question. But, the first shortened link *is* a link to the item page and the second (and third) shortened link *is* a link to the running app. 

The tool that generates the shortened link just takes the URL as provided. I don't know why the URL is different in the two cases you provide to the app.

Mikw