• Kislay Kumar
  • NEWBIE
  • 10 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 4
    Replies
Hello,

I was trying to test invoking lwc using Quick action. But, while pushing source code from VS code is giving error:

These targets are invalid : lightning__RecordAction

I have followed documentation and verified my org in SU21. (AP15 org)Below is the meta file:

<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
    <apiVersion>51.0</apiVersion>
    <isExposed>true</isExposed>
    <targets>
        <target>lightning__RecordAction</target>
    </targets>
    <targetConfigs>
        <targetConfig targets="lightning__RecordAction">
            <actionType>Action</actionType>
        </targetConfig>
    </targetConfigs>
</LightningComponentBundle>

Any suggestions?
Best,
Kislay
 
Hello,

I was trying to test invoking lwc using Quick action. But, while pushing source code from VS code is giving error:

These targets are invalid : lightning__RecordAction

I have followed documentation and verified my org in SU21. (AP15 org)Below is the meta file:

<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
    <apiVersion>51.0</apiVersion>
    <isExposed>true</isExposed>
    <targets>
        <target>lightning__RecordAction</target>
    </targets>
    <targetConfigs>
        <targetConfig targets="lightning__RecordAction">
            <actionType>Action</actionType>
        </targetConfig>
    </targetConfigs>
</LightningComponentBundle>

Any suggestions?
Best,
Kislay
 
Hi all,

How to convert the system.now() date time format (2014-12-23 13:19:13) to the following format 2014-12-23T06:00:00.000Z ?

Thanks.