Skip to main content
Question

GDB feature class reader as published parameter


ohashkii
Contributor
Forum|alt.badge.img+8

Hi,

How can create a published reader parameter for gdb feature classes?

The gdb conation Point, line Polygon feature 

3 replies

crutledge
Enthusiast
Forum|alt.badge.img+27
  • Enthusiast
  • March 16, 2025

Hi ​@ohashkii 
You Should be able to create a User Parameter in your Workbench. After publishing you will see the default value if you look at the Workbench in FME Flow. If you clear the default value you will then get the option of selecting a gdb location. Is this what you meant?
I hope that helps! Good Luck!
 

Creating User Parameter
Workspace In Flow. Default is shown. Click [x] to clear default value.
Now you will see File Selection Option.

 


ohashkii
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • March 16, 2025

Hi,

What I meat if I can create a published parameter for the feature class inside the gdb file. I want to choose the feature classes (MH,Pipe,Plots or other feature classes within the gdb).

thanks for your reply.

 

 


crutledge
Enthusiast
Forum|alt.badge.img+27
  • Enthusiast
  • March 16, 2025

Hi ​@ohashkii 

 

Create the Parameter for the Feature Types to Read
Import and Import from Dataset. Then Attribute and fme_feature_type.

If you import the layer names from the geodatabase you will get a dropdown list.
Run will give the user the dropdown option.
 

This is static. If you need dynamic (it changes all the type) then you would have to explore a Scripted Selection.
Dynamic choices using Scripted Selection - FME Packages SDK Guide

I have been trying to set something like this up for a while now. Future versions of Flow might have parameter values that we can work with while passing between workbenches.
Scripted Selection List Choice or Dropdown Form vs Flow | Community
This was my question on the subject.

Hope that helps. Good Luck!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings