Skip to main content

Convert Attachment Data to Image

Comments

2 comments

  • Permanently deleted user
    Hi Brian, 

     

    I took a look at the api reference for the Attachment Result object.  The image data isn't actually contained in that result object.  It just contains the objectid and globalid of the attachment, and a "success" property that indicates if the addition was successful.  Which property is supplying the attachment file for the AddAttachment activity?  You might be able to use that variable to get what you need.

     

    Otherwise, there's always the option of using those id properties to construct the url for the attachment on ArcGIS Server and then download it from there in the workflow

     

    Thanks!

     

    -Amanda
    0
  • Permanently deleted user
    Thanks Amanda. I'll look into contructing the download url for the attachment. I've recently been able to succesfully add reports attached into an email so will try and download the image and then use similar logic to finish this project.

     

    I do have a more pressing post i submitted yesterday if you have any time.
    0

Please sign in to leave a comment.