Hi, I have problem using the interface IMapClipOptions, about ClipFilter property. I can successfully enable the clipping of a dataframe, but not excluding layers from the clipping. Setting it manually, I can get programmatically the Layer the is in the ISet of the excluded layers, I can remove them, but I cannot set it. I'm testing i in VBA, ArcGIS for Desktop 10.3 (Advanced). This is the piece of code that I'm testing Dim pDoc As IMxDocument Dim pMap As IMap Dim pMapClipOptions As IMapClipOptions Dim pActiveView As IActiveView Dim pGeometry As IGeometry Dim pLayer As ILayer Dim pLSet As ISet Set pGeometry = fnvFClass_GetByName("Taglio_2K_Mask").GetFeature(173).ShapeCopy Set pDoc = ThisDocument Set pMap = pDoc.FocusMap Set pMapClipOptions = pMap Set pLayer = pMap.Layer(0) pMapClipOptions.ClipType = esriMapClipShape Set pLSet = New esriSystem.Set pLSet.Add pLayer pMapClipOptions.ClipFilter = pLSet pMap.ClipGeometry = pGeometry Set pActiveView = pMap pActiveView.Refresh The only custom code is the one used to get the geometry for the clipping. Any idea about what could be the problem? Thanks in advance Francesco N. Vespucci
... View more
Thanks for the post. My problem is this: the arcGis server isn't public so, also if I use the machine name, this isn't resolved from a DNS. When in Portal for arcGis I create a new map I have to put the address of arcGis server, and this is a private address. Also in WAB, if I have to configure the query widget, I have to put as a data source the private address of arcGis server. Internally is all ok. When I publish the package builded with W AB on my Apache web server to use the app from Internet and I light on a layer, in the browser I see this call (same behaviour on activate query widget ...): http:// <arcGisServerPrivateAddress>/arcgis/rest/services/<ServiceName>/MapServer/export?dpi=96&transparent=true&format=png32&layers=show%3A0%2C3%2C1&bbox=...... Obviously this doesn't work on Internet. How can you get around this? Thanks a lot.
... View more