Add Attachment Error in Geocortex Secured Layer
I have downloaded the Attachment Manager workflow and modified it to fit my needs. I have it working correctly on a secure ArcGIS Feature Service until I apply layer level permissions. At that point I can see attachments and delete attachments but it fails when I try to add attachments. I get the following Error:
There was a workflow error running activity: Exception has been thrown by the target of an invocation. Workflow 'FeatAttach' failed Unhandled exception: 'Error performing add attachment operation' in activity '1.89: AddAttachment'. Error performing add attachment operation
Has anyone else run into this issue and found a way around it?
0
-
You need to add your service url to the proxy.config in your viewers IIS root folder.
Example;
<?xml version="1.0" encoding="utf-8" ?>
<!-- Proxy config is used to set the ArcGIS Server services that the proxy will forward to.
mustMatch: true to only proxy to sites listed, false to proxy to any site -->
<ProxyConfig mustMatch="true">
<serverUrls>
<!-- serverUrl options:
url = location of the server, either specific URL or stem
matchAll = true to forward any request beginning with the url
token = (optional) token to include for secured service
dynamicToken = if true, gets token dynamically with username and
password stored in web.config file's appSettings section.
-->
<serverUrl url="http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer"
matchAll="true"></serverUrl>
<serverUrl url="https://WWW.YOURWEBSITE.COM/arcgis/rest/services/"
matchAll="true"></serverUrl>
</serverUrls>
</ProxyConfig>0 -
I have the URL already in the proxy.config.
The attachments work fine in a https site, just not once layer level security is set up using Manager. I can actually see the existing attachments so I assume the proxy is working correctly. I just can not add an attachment.0
Please sign in to leave a comment.
Comments
2 comments