Skip to main content

Adding Attachments in 2.8

Comments

7 comments

  • Permanently deleted user
    On the context menu tab, the Feature Actions settings show the menu options and the one for Attach a file or photo looks like this:

     

    User-added image

     

    Using {{context}} for the command parameter doesn't work. 
    0
  • Permanently deleted user
    Thanks Jamal! It turned out to be problem with the feature class in sde.

     

     
    0
  • Permanently deleted user
    Rebecca, What kind of problem withthe feature class?  I have a problem where adding an attachment isn't even an option in GC even though I have that attachment table in the service...  It is weird too that it shows up in the map service REST but not in the Feature Service REST...???
    0
  • 0
  • Permanently deleted user
    @Jacqueline - it's been awhile but I think in my case someone elkse in my organization had disabled attachments inadvertently.

     

    @Jamal - I opened a support case because none of the other fixes worked for me. I had to shorten the server URL in the proxy.config file. I changed this line:

     

    <serverUrl url="http://my.server.url/arcgis/rest/services/"

     

                matchAll="true"></serverUrl>

     

    to this:

     

    <serverUrl url="http://my.server.url"

     

                matchAll="true"></serverUrl>

     

     

     
    0
  • Permanently deleted user
    @Jacqueline, I am having the same issue. The attachment table shows up in the map service REST, but not in the feature service?! Also, in my mxd I have 2 layers (both pointing to the same data source) and I have definition queries on them (to show different statuses). And what is even more odd, that for one of the layers in the Viewer I can add attachments. But for the other layer, there is not option to "Attach a file or photo..."? 

     

    Any help would be appreciated. Thanks.

     

     
    0

Please sign in to leave a comment.