hougaard / Simple-Object-Designer

Issue tracking for the Simple Object Designer for Business Central
7 stars 0 forks source link

(minor) field sorting/grouping #327

Open otherjoel opened 7 months ago

otherjoel commented 7 months ago

A few minor things and questions:

  1. In the future, might it be possible to place a group of fields below the Lines section? Knowing it was a long shot, I tried creating a "Lines" field group and then another field group with a higher Sorting No. value, but that didn't work obviously.
  2. The tooltip for the Group Sorting column says “Sorting within the field field”, guessing that should be “sorting within the field group”?
    screenshot of Group Sorting tooltip
  3. On a feature with multiple field groups, the "Group Sorting" value for each field is of course used to order the fields within the groups on the card…but it is also apparently used to order fields shown on the list page, in a way that lumps all the values together regardless of the field group.
Regarding the last one, an example: Sorting No. Group Caption
10 General
20 Shipping
Field Field No Group Group Sorting
Name 10 General 10
Ship-to City 20 Shipping 0

In this example, Ship-to City will appear first on the list page. It would be better if fields were ordered on the list page in a way that respected the intended group ordering (such as by prepending the Group Sorting value with the group's Sorting No.) — or if there was a separate column for list page order altogether. I know I can do this manually, just throwing out there that it could be more intuitive.

Feel free to close this off once you've read it!

hougaard commented 7 months ago

If you anchor your new group as "AddLast" in "Content", then what's happening?

otherjoel commented 7 months ago

anchor your new group as "AddLast" in "Content"

Can you be more specific? I don’t see where I can do this in my feature field groups.

(Maybe I was not clear, that this has to do with adding field below the lines section in a Document-type SOD feature, not to an existing page)

image