Would it be possible to invoke the standard Salesforce Case Merge action from LWC?
Having a new component like say action-form similar to existing record-form component would work well. for example:
<lightning-action-form
input-variables={caseIds}
object-api-name="Case"
action="MergeCase"
></lightning-record-form>
Is there currently any workarounds to open in new tab, something like using NavigationMixin like below or a URL hack:
navigateToCaseMassMergePage() {
this[NavigationMixin.Navigate]({
type: 'standard__recordPage',
attributes: {
ids: '5005r00000CERVDAA1,5005r00000CERVDAA2',
objectApiName: 'Case',
actionName: 'merge'
}
});
}
This would be used in ISV 2GP.
Ref: Merge Duplicate Cases in Lightning Experience
https://help.salesforce.com/s/articleView?id=sf.cases_merge.htm&type=5