Skip to content

Instantly share code, notes, and snippets.

@svierk
Last active November 18, 2023 14:09
Show Gist options
  • Save svierk/c14ca5ca5b4bec0df545ef21e28b46b7 to your computer and use it in GitHub Desktop.
Save svierk/c14ca5ca5b4bec0df545ef21e28b46b7 to your computer and use it in GitHub Desktop.
XML file for Open Record Page Flow Action LWC
<?xml version="1.0" encoding="UTF-8" ?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>59.0</apiVersion>
<isExposed>true</isExposed>
<masterLabel>Open Record Page Flow Action</masterLabel>
<description>Component to forward to a record page from flow.</description>
<targets>
<target>lightning__FlowScreen</target>
</targets>
<targetConfigs>
<targetConfig targets="lightning__FlowScreen">
<property
name="recordId"
label="Record Id"
type="String"
description="Record Id of the record page to which the action should forward."
/>
<property
name="target"
label="Target"
type="String"
description="Open the page in the same '_self' or in a new tab '_blank '."
/>
</targetConfig>
</targetConfigs>
</LightningComponentBundle>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment