We are building manage package with quick action using lwc component,
Some customers need to trigger API and some doesn't.
So we decided to keep a Boolean check in the target config.
I am getting following error
The 'property' tag isn't supported for lightning__RecordAction
My config file:
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>58.0</apiVersion>
<isExposed>true</isExposed>
<targets>
<target>lightning__RecordAction</target>
</targets>
<targetConfigs>
<targetConfig targets="lightning__RecordAction">
<actionType>ScreenAction</actionType>
<property name="isTriggerAPI"
type="Boolean"
label="Trigger API"/>
</targetConfig>
</targetConfigs>
</LightningComponentBundle>
What is the best approach to over come this issue, other than creating two container component with default values ?
isExposed
is set to betrue
, Not sure if I turn it to false will allow me to build new manage package ? or it will accept package upgrade in customer orgs ?