Would still really like a way to share short URL via New Map Viewer

741
4
09-11-2022 02:02 PM
Status: Open
BarrettLewis1
New Contributor III

I have posted about this before and I think it is absolutely silly that this feature has not been introduced into the new Map Viewer that ESRI is now pushing as the default. I simply want a way to share a map via the short URL. Map Viewer Classic has this feature when you click "Share" and it makes no sense why this has not be introduced into the new Map Viewer. I personally think it looks unprofessional to share a map with my clients where the URL has a 15+ string of numbers and letters at the end when a short URL looks so much better. To whoever ESRI staff might be seeing this: THIS IS NOT AN IDEA. THIS SHOULD BE A BARE MINIMUM FEATURE.

4 Comments
jcarlson

It's a bit more work, but nothing prevents you from creating a short URL for any item of content. Even this very post!

https://arcg.is/11afur

Just go to https://arcg.is/prod/shorten?longUrl=<your-url-here> to get the short version.

That said, as simple a process as this is, implementing it in the new map viewer seems like it ought to be pretty easy, so I still think it's a good idea to build it in.

@BarrettLewis1do you happen to have a web server you have access to, or are you sharing your content out entirely through AGOL?

BarrettLewis1

@jcarlson Your comment did not work for me. It brought me to a blank white page displaying:

{"status_code": 200, "status_txt": "OK", "data": { "long_url" : "<ORIGINAL URL>", "url": "https://arcg.is/Pumzb", "hash": "Pumzb", "global_hash": "Pumzb", "new_hash": 1 } }

Any thoughts? The link begins with my company name, so I'm wondering if that has something to do with it.

Still really wish this was just a feature...

jcarlson

That link, https://arcg.is/Pumzb, is the correct result, and links to https://econorthwest.maps.arcgis.com/apps/mapviewer/index.html?webmap=6ffc0d1c8a1d4181a534929c4ce21d.... All the "share" tool in the original map viewer was doing was pinging that service and parsing the response to display the URL.

BarrettLewis1

@jcarlson Ah you are right! Thank you so much!