Question

How to create parameters for selecting a table (feature type) from an Esri geodatabase (gdb)?

  • 26 January 2017
  • 2 replies
  • 3 views

I want to create (user) parameters for selecting a table (feature type) from an Esri geodatabase (gdb). So I would like to see a dialog which asks for an gdb and afterwards show a list with all the feature types (tables) from the selected gdb.How to do so? I am able to create a parameter for selecting a gdb but how to add a list of the feature types which are part of the gdb and select one? Any idea?

Best regards,

Frank


2 replies

Userlevel 2
Badge +16

The parameter you want to expose is called "Feature types to Read" and it will be in the workspace if you have added the GDB reader.

You want to set the Reader to "single merged feature type":

This will automatically set the Feature types to Read as published (for you to pick the tables.

 

Hope this helps.

GREAT! Exactly what I was looking for :-)

Frank

Reply