Skip to content

1.4.0

Choose a tag to compare

@tsalb tsalb released this 19 Jan 06:22
· 116 commits to master since this release

Resolves #38

Adds a new Datatable_Action_Config__mdt.Type__c value of Table Overflow Action which adds to the overflow (dropdown) menu of table actions above each table.

This datamodel change is backwards compatible since it can't deactivate currently used values in Datatable_Action_Config__mdt.Type__c. Instead, it marks them with (OLD).

You can continue to use the old configs but for new ones consider migrating to the new format which requires:

  1. Type__c of Table Action, Table Overflow Action, or Row Action.
  2. Order__c is now required (via validation rules) for each of the above selections.
    • Table Action = 1 or 2 (which replaces the old - Primary and - Secondary values).
    • Table Overflow Action >= 3 (which is new, and these are additional actions in the dropdown on the right).
    • Row Action order logic is unchanged.
  3. Define a value in only one of the picklist values.
    • Table Action Name, valid values of custom_lwc/custom_flow.
    • Overflow Action Name, valid values of custom_lwc/custom_flow.
    • Row Action Name logic and values is unchanged.

See the attached image for clarity (which is included in recipes):

Screen Shot 2021-01-18 at 9 09 52 PM

And now, an image not for ants:

Screen Shot 2021-01-18 at 9 15 55 PM

Finally, here is the page layout (with instructions) for Datatable_Action_Config__mdt:

Screen Shot 2021-01-18 at 9 19 06 PM

Resolves #37

  • Moved cmdt related page layouts from recipes to core.
  • Clears up ambiguity by including page layouts in core for soqlDatatable related cmdt.
  • Adds tooltips and more validation rules to soqlDatatable related cmdt.

IMPORTANT NOTE:
If you are upgrading, you may have to install 1.4.0 twice per this known issue to get the correct page layout.
I have not tested on a clean 1.4.0 install but please be aware of this workaround.

Fixes #55