My goal is to get a list of fields choosen by an user from existing fields in feature class.
I think that I can show all fields in Field Mappings dialog, an user deletes unwanted fields and I get a required list.
The problem is how to populate Field Mappings when adding a feature class as a first parameter.
I can't select anything in 'Obtained from' property.
self.params.parameterDependencies =  in updateParameters function does't work in this case (it worked when 'Field' parameter data type was chosen).
What should I use to automatically populate Field Mappings when filling first parameter?
Fields list is applied as follows: