Hello,
I am trying to understand how to use the yaml schemas to generate CSV files. I thought the yaml field names in "fields" were defined in the order their respective columns appear in the CSV data, but this does not appear to be the case. For example, for TextCommand, this is the yaml definition:
name: TextCommand
displayField: Command
fields:
- name: Description
- name: Alias
- name: ShortAlias
- name: Command
- name: ShortCommand
- name: Unknown0
- name: Param
type: link
targets: [TextCommandParam]
- name: Unknown1
- name: Unknown2
- name: Unknown3
- name: Unknown4
- name: Unknown5
But the actual order of the fields in the data is "Unknown1, Unknown2, Unknown3, Unknown4, Unknown5, Command, ShortCommand, Description, Alias, Param, Unknown0".
So if someone could explain to me how this works I would appreciate it.
Hello,
I am trying to understand how to use the yaml schemas to generate CSV files. I thought the yaml field names in "fields" were defined in the order their respective columns appear in the CSV data, but this does not appear to be the case. For example, for TextCommand, this is the yaml definition:
But the actual order of the fields in the data is "Unknown1, Unknown2, Unknown3, Unknown4, Unknown5, Command, ShortCommand, Description, Alias, Param, Unknown0".
So if someone could explain to me how this works I would appreciate it.