I'm looking for a way to get a list of contingent values with ArcGIS Pro SDK.
I know that it's possible with Python :
https://pro.arcgis.com/en/pro-app/latest/arcpy/data-access/listcontingentvalues.htm
I also found this page, but it's for ArcGIS Maps SDK :
https://developers.arcgis.com/net/edit-features/work-with-contingent-values/
Thanks
Hi,
You can call the same function using ArcGIS Pro running Python script functionality. You can't run it with Geoprocessing.ExecuteToolAsync, because there is no direct access to ListContingentValues from ArcGIS Pro interface. Second button code in that article shows how to run python script.
Thanks @GKmieliauskas . I will try to execute a Python script as you suggest.
I will let you know if it works.
@RejeanLabbe You are correct. Maps and Python SDK currently support it.
Supporting contingent values is one of the high-priority items for the Pro SDK's future releases.
In the meantime, calling GP tools from the Pro SDK is the only viable workaround, as @GKmieliauskas mentioned.
@Aashis I'm glad to know that this will be supported by PRO SDK in the future.
Thanks