Links to Items in "My Content" expire??

600
4
09-09-2013 08:52 AM
ScottieWilson
New Contributor II
I have uploaded items to "My Content" such as small images. I then configure a Popup using the images URL

Such as:
https://xxxxxx.arcgis.com/sharing/rest/content/items/c27d947c8e15477c8ca754104eb1c2a6/data?token=0_X..................

everything works fine, my images are used in the flyout and also i can use other Items as the Link. (which is very cool)

But after a few days the URL to my items is not valid...kinda like it expired? The flyouts show broken links.

How do i make a Popup using Items in "My Content" with a valid URL so that i do not have to repeat this process every few days?

Thanks,
Scottie
Tags (2)
0 Kudos
4 Replies
ScottieWilson
New Contributor II
I also added an attachment to a dummy feature. Then i extracted the URL for that feature, and used it to drive my flyout....it lasted for about an hour, then the link went dead. Any ideas how i can add images to my flyouts, and not have them expire. Also, I cannot put my files on a public server.

Thanks guys.
0 Kudos
ScottieWilson
New Contributor II
I was just browsing the up and coming enhancments
http://blogs.esri.com/esri/arcgis/2013/09/10/check-out-whats-coming-in-arcgis-online/
and noticed ---->

Other enhancements

Support for two additional languages: Czech and Finnish.
When you add an image file to ArcGIS Online, the details page displays the URL of the image. You can use the URL to reference the image in web apps, web map pop-up windows, and so on.



I'm thinking this will solve my problem....Hopefully...
0 Kudos
MikeMinami
Esri Notable Contributor
The URL you provided in your first post contains a security token. These tokens expire. Just remove the token from the URL, and the system should authenticate off your current signed in account.

https://xxxxxx.arcgis.com/sharing/rest/content/items/c27d947c8e15477c8ca754104eb1c2a6/data?token=0_X1Gpzz-18KEQNUvDUtmRPTFfqdk29RTT0MCNfiHMLnPcDIPF3rF2wL0o0AwoMDSmP5KLzmzr4PflQJXdEAb9xE_NCfpb4804aNoU5mVe_z


Thanks,

Mike
0 Kudos
ScottieWilson
New Contributor II
The URL you provided in your first post contains a security token. These tokens expire. Just remove the token from the URL, and the system should authenticate off your current signed in account.


So what part of this link would i have to remove to get it to work correctly:

https://sitemap.maps.arcgis.com/sharing/rest/content/items/0ad85a598949488dad3fe83d098034b3/data?tok...

I could not successfully delete the Token and still get it to work.

Thanks for the Help.
0 Kudos