2

I have successfully built the functionality to load an image stored as an attachment in Silverlight by retrieving the URL of the attachment and binding to it: (http://Server/ArcGISServer/rest/services/PublishedMap/MapServer/0/3/attachments/4)

However I have implemented token authentication and I was wondering if it's still possible to retrieve the attachment. I can't seem to get it now.

Do I need to embed the token to the URL or something?

(https://Server/ArcGISServer/rest/services/PublishedMap/MapServer/0/3/attachments/4?token=WCQfGMQZ7SmTProN6fX4SZRBr_0pRFDCvYGzkO2I9BlY2vdsKtQRXoHj8pVoFL_izGuLKiBzd3zZlqFv5U767Q..)

2
  • Figured out that i had to enable anonymous access on the arcgisoutput folder :)
    – NotARobot
    Commented Mar 1, 2012 at 0:44
  • Can you post it as an answer to your question and accept it? That way people will know that the issue has been resolved and also the solution to your problem :)
    – R.K.
    Commented Dec 21, 2012 at 5:00

1 Answer 1

1

Figured out that i had to enable anonymous access on the arcgisoutput folder

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.