+ Reply to Thread
Results 1 to 6 of 6

Thread: Hyperlink to SDE feature class attachment

  1. #1
    Najya Batool
    Join Date
    Dec 2010
    Posts
    23
    Points
    4
    Answers Provided
    1


    0

    Default Hyperlink to SDE feature class attachment

    Hello,

    Does anyone know how I should/could create a hyperlink to an attachment that is uploaded using the EDIT WIDGET in an SDE feature class attachments table? I can view the attachment just fine when the EDIT WIDGET is open, but not when it is closed. I'm thinking it has something do with the security settings on the server. I get the dreaded 404 - File or directory not found error. Is there a way to export attachments out of an SDE table to jpegs or PDFs? I could store them in a location on the server that is accessible via hyperlink, and do a work around.

    Thanks,
    Najya

  2. #2
    Laura Mellem
    Join Date
    Oct 2011
    Posts
    20
    Points
    1
    Answers Provided
    0


    0

    Default Re: Hyperlink to SDE feature class attachment

    I am wondering this as well. Is there a way to batch export the photos out of the attachment file and download to the pc? Not doing each attachment one-by-one?

    Also, can I create a relationship between an attachment file and a new feature class and have it act like the original relationship between the old feature class and the attachment? i.e. will the new feature class display the attachments in the html pop-up? A little testing seems like this doesn't work, but maybe I configured the relationship class incorrectly.

    Laura

  3. #3
    Najya Batool
    Join Date
    Dec 2010
    Posts
    23
    Points
    4
    Answers Provided
    1


    0

    Default Re: Hyperlink to SDE feature class attachment

    Hi Laura,

    Any luck trying to export the attachments? I'm also struggling with the relationship classes. Can't seem to get the configuration right in order to get my feature class to acknowledge the feature attachments table. How frustrating!

    Najya

  4. #4
    Laura Mellem
    Join Date
    Oct 2011
    Posts
    20
    Points
    1
    Answers Provided
    0


    0

    Default Re: Hyperlink to SDE feature class attachment

    No luck on my end either. Esri usually seems swift at posting on these forums, so let's hope we can get an answer soon!

  5. #5
    Luke Behling
    Join Date
    Apr 2010
    Posts
    26
    Points
    3
    Answers Provided
    0


    0

    Default Re: Hyperlink to SDE feature class attachment

    I am having the same problem.

    esri.............?
    Luke T. Behling
    GIS Systems Administrator
    Outagamie County, WI

  6. #6
    Matt Eitrem
    Join Date
    Sep 2010
    Posts
    16
    Points
    0
    Answers Provided
    0


    0

    Default Re: Hyperlink to SDE feature class attachment

    Try using the rest endpoint of the map service to query a feature that has an attachment using object id as the query and * as all fields. In the HTML results click on the link of the returned object id, scroll to the bottom and click on the Attachment Infos or HTML Popup in the child resources. There you will see a link to the attached document, use the construct of the url to build a link to the attachment "http://<yourserver>/ArcGIS/rest/services/<servicename>/MapServer/0/{OBJECTID}/attachments/{ID}" or "http://<yourserver>/ArcGIS/rest/services/<servicename>/MapServer/0/{OBJECTID}/htmlPopup". The link can be used in the <description> via the <![CDATA[]]/> tag in a popup configuration xml file for flexviewer.

    This should work, as I use this method to access related records.

    -Matt

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts