Select to view content in your preferred language

share link invalid when activated from outlook

3135
4
Jump to solution
07-13-2015 11:17 PM
cpm1
by
New Contributor

when hitting the share button within a published wma an outlook windows pops up with the link in the conversation area. perfect! the subject is also filled, perfect!

BUT; the link is broken just after "extent=". I presume due to the curly bracket that follows. see below the same result.

Outlook:

Check out this map:
http://valleienveluwe.maps.arcgis.com/apps/OnePane/basicviewer/index.html?&extent={"xmin":552241.7418866705,"ymin":6791141.315709047,"xmax":692885.8739314487,"ymax":6905796.858136855,"spatialReference":{"wkid":102100}}&appid=f96cb67fa7d6469fa0dbace3de1756e1

how to resolve this?

thx, cp

0 Kudos
1 Solution

Accepted Solutions
KellyHutchins
Esri Frequent Contributor

The app you are using is an older template that we no longer support. An updated template called Map Tools , that looks very similar, is available in the template gallery. The updated version has a share button that uses bitly to generate the link so it won't be broken. Here's a test app I configured to look much like your template. Perhaps the new template will work for you instead?

http://www.arcgis.com/apps/MapTools/index.html?appid=52b3856667904a11b91af0df63cf9044

There are also some features in the new version of the template that you might like including the ability to toggle sub layer visibility in the layers tool and the option to configure search to search layers in the web map.

View solution in original post

4 Replies
XanderBakker
Esri Esteemed Contributor

You don't have to use the json syntax to specify the extent at the URL. This will do:

http://valleienveluwe.maps.arcgis.com/apps/OnePane/basicviewer/index.html?&appid=f96cb67fa7d6469fa0d...

See: URL-parameters gebruiken—ArcGIS Online Help | ArcGIS

If you have to work with the URL you specified in Outlook, you can select the entire text of the URL and edit the hyperlink and make sure the entire url is pasted there.

0 Kudos
cpm1
by
New Contributor

I know.

but what's the function of the share button if it doesn't work correctly??

can I somehow override the link in AGonline web application config?

thx for replying!

cp

0 Kudos
KellyHutchins
Esri Frequent Contributor

The app you are using is an older template that we no longer support. An updated template called Map Tools , that looks very similar, is available in the template gallery. The updated version has a share button that uses bitly to generate the link so it won't be broken. Here's a test app I configured to look much like your template. Perhaps the new template will work for you instead?

http://www.arcgis.com/apps/MapTools/index.html?appid=52b3856667904a11b91af0df63cf9044

There are also some features in the new version of the template that you might like including the ability to toggle sub layer visibility in the layers tool and the option to configure search to search layers in the web map.

cpm1
by
New Contributor

Ah! many thanks!

this works for me.

0 Kudos