I have reported this problem also under another question: https://community.esri.com/message/431845#431845
When using SetFeatureVisibility(listofids, false) inside a Layer and calling PrintTask.PrintAsync the Features don't disappear inside the (pdf, gif etc.) document. I also tried using DefinitionExpression which has the same effect.
The features disappear on the MapView!
We are using Arcgis Runtime SDK 10.2.4 for .NET.
We really have a problem with this. Any help is appreciated.
Solved! Go to Solution.
Thanks for reporting this.
That looks like a bug that we'll try to investigate and to fix before the next version.
The workaround for now might be to set the 'Where' property of the underlying ServiceFeatureTable.
/Dominique
Thanks for reporting this.
That looks like a bug that we'll try to investigate and to fix before the next version.
The workaround for now might be to set the 'Where' property of the underlying ServiceFeatureTable.
/Dominique
Hi Petteri,
Are you working with ServiceFeatureTable or ArcGISFeatureTable? Currently, there is no export web map spec for this but we can probably accommodate in the future using other properties (objectIds or as Dominique mentioned, where clause). Another workaround is to set the invisible/hidden feature symbol to null and update symbol again once its visibility is changed.
Thanks.
Jennifer
Hi!
I am using the where property and that works for me.