I have a Managed Base Package BASE
and multiple Extension Packages EXT1
...EXTn
. The Base Package contains a CustomObject__c
and a Flexipage to edit the fields also packaged in BASE
. The Extension packages model different flavours or types (Type__c field but NOT a native Salesforce RecordType
) of the CustomObject__c
by packaging additional fields and logic.
I am now looking for a way to have Extension Packages enhance the BASE
Flexipage for CustomObject__c
using Flow Screens (single Flows with multiple wizard-like screens).
When a user creates a CustomObject
of Type__c = EXT1
in the BASE
Flexipage there should be a way to eighter embed (LWC
component that dynamically embeds) OR load from a QuickAction
(packaged in BASE
) which loads in a modal the relevant Flow from the EXT1
package.
If the user creates a CustomObject__c
with Type__c = EXT2
the Flow of EXT2
should be used to edit EXT2
fields.
How do I best start tackling that and what is your answers to:
- Can I directly embed via LWC that renders a multiscreen Flow Screen wizard in the Flexipage depending on the CustomObject__c Type__c?
- or should I use QuickActions renders a modal?
- Is both not a good solution and there is a better way?