Getting Attachments with token in a map service

2387
0
02-29-2012 01:23 PM
Matrix_Solutions_Inc_Geomatics
New Contributor III
Hello,
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:
(hxxp://Server/ArcGISServer/rest/services/PublishedMap/MapServer/0/3/attachments/4)

However i have implemented token authentication and i was wondering if its still possible to retrieve the attachment. I cant seem to get it now. do i need to embed the token to the url or something?
(hxxps://Server/ArcGISServer/rest/services/PublishedMap/MapServer/0/3/attachments/4?token=WCQfGMQZ7SmTProN6fX4SZRBr_0pRFDCvYGzkO2I9BlY2vdsKtQRXoHj8pVoFL_izGuLKiBzd3zZlqFv5U767Q..)
0 Kudos
0 Replies