how could we extract the attribute definition of all reader in the workspace , the idea is to build a technical document in word or excel, to define all the attributes
Solved
how to extract attributes definition and export it to excel or word
Best answer by takashi
Hi @boubcher, you can read the schema definition of any dataset with the Schema (Any Format) reader. Each schema feature output from the reader will have a list attribute called "attribute{}" which contains the definition of all user attributes of a feature class. The list is a structured one consisting of these three members.
- attribute{}.name: Attribute name
- attribute{}.fme_data_type: FME generic data type
- attribute{}.native_data_type: Native data type of the attribute (format specific)
You can use the ListExploder to decompose the list into individual elements, and then write them into an Excel spreadsheet.
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.