al-code-outline icon indicating copy to clipboard operation
al-code-outline copied to clipboard

Action for adding missing DataCaptionFields property and/of DropDown field group (in Active Editor/Active Project)

Open jhoek opened this issue 2 years ago • 0 comments

  • If neither is present, populate both with the primary key fields + description fields.
  • If either is present, use it to populate the other.

Not sure how you should recognise description fields, but heuristics could be a combination of:

  • based on name: look for Description/Description 2 or Name/Name 2
  • based on type: look for text fields whose length is between 30 and 100
  • based on index: the criteria above should match fields that appear "early" in the table, e.g. in the first 10-15 fields

P.S.: I realise this may be more "fuzzy" than most other things in the extension... ;-)

jhoek avatar Oct 26 '22 19:10 jhoek