Contingent values list

150
4
2 weeks ago
RejeanLabbe
New Contributor III

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

0 Kudos
4 Replies
GKmieliauskas
Esri Regular Contributor

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.

0 Kudos
RejeanLabbe
New Contributor III

Thanks @GKmieliauskas . I will try to execute a Python script as you suggest.

I will let you know if it works.

0 Kudos
Aashis
by Esri Contributor
Esri Contributor

@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.

0 Kudos
RejeanLabbe
New Contributor III

@Aashis I'm glad to know that this will be supported by PRO SDK in the future.

Thanks

0 Kudos