apex-enterprise-patterns/force-di

Provide Lightning component for App Builder

douglascayers opened this issue · 1 comments

For simple use cases with Lightning pages where the developer just wants a Lightning component on the page that would only be using the <c:di_injector> tag, then to reduce the amount of boiler plate code developers need to bring to the table we can provide one for them.

This new component would expose design attributes via datasource so the admin can select from the list of CMDT bindings available.

This new component is a simple wrapper for <c:di_injector> tag for use with drag-n-drop in App Builder when creating Lightning pages.

For passing in custom attributes (<c:di_injectorAttribute>), need to continue to think about the design:

  • do we provide a handful of Attribute1, Attribute2, ..., AttributeN design attributes or
  • do we accept a single text field that accepts delimited key=value pairs, or
  • do we not and injector attributes are only supported via BYOC (bring your own component)

Love it!