Adding Attachments in 2.8
Before I upgraded the viewer, users could add attachments. Since the upgrade the option has disappeared. I've triple checked the data (attachments enabled) and the map service (feature access enabled). I've republished the map service and reloaded the site. How can I fix this?
0
-
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: 
Using {{context}} for the command parameter doesn't work.0 -
Thanks Jamal! It turned out to be problem with the feature class in sde. 0 -
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 -
Does this mean that the workaround introduced here (https://support.geocortex.com/essentialsGSCForum?criteria=ALLQUESTIONS&dc=GEManager&feedtype=SINGLE_QUESTION_DETAIL&id=90660000000CkjKAAS&main-nav=essentials&sub-nav=forum) is not working in your case, Rebecca?
“attach a file or photo” tool fails and produce “forbidden” error, (https://support.geocortex.com/essentialsGSCForum?criteria=ALLQUESTIONS&dc=GEManager&feedtype=SINGLE_QUESTION_DETAIL&id=90660000000CkjKAAS&main-nav=essentials&sub-nav=forum)0 -
@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 -
@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.
Comments
7 comments