Skip to main content
corrected spelling
Source Link
nmtoken
  • 13.6k
  • 5
  • 38
  • 89

Getting Attachmentsattachments with token in a map service

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

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

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

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

Getting Attachments with token in a map service

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 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?  (https://Server/ArcGISServer/rest/services/PublishedMap/MapServer/0/3/attachments/4?token=WCQfGMQZ7SmTProN6fX4SZRBr_0pRFDCvYGzkO2I9BlY2vdsKtQRXoHj8pVoFL_izGuLKiBzd3zZlqFv5U767Q..)

Getting attachments with token in a map service

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..)

Source Link
NotARobot
  • 253
  • 2
  • 13

Getting Attachments with token in a map service

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 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? (https://Server/ArcGISServer/rest/services/PublishedMap/MapServer/0/3/attachments/4?token=WCQfGMQZ7SmTProN6fX4SZRBr_0pRFDCvYGzkO2I9BlY2vdsKtQRXoHj8pVoFL_izGuLKiBzd3zZlqFv5U767Q..)