Select to view content in your preferred language

ArcGIS Pro Python Toolbox, datagrid parameter or similiar

222
1
04-20-2023 09:38 AM
SpatialMonger
New Contributor

Hello, I want a custom Python toolbox that allows a user to define a query to a database that triggers a display of the top 10 records to another parameter in the same tool, to verify the selection, before running the Tool. What parameter will display tabular data or a text message from pretty print? I see a Value-table but nothing else applicable.

0 Kudos
1 Reply
by Anonymous User
Not applicable

Think you'll need to create an add-in for that type of capability if you want the results to be displayed in a message box. You can use a wpf table to populate/ display the records in the pane if you do an addin. For printing out the message in the geoprocessing results window, you can use arcpy.AddMessage().

0 Kudos