Posts

LWC component deployment from cli or vscode terminal

  sf project deploy start -d force-app/main/default/lwc/myComponent Or: sf force:source:deploy -m LightningComponentBundle:myComponent

Lwc Field input validation 0-60 number only Pattern - regular expression in js

  pattern="^([0-5]?[0-9]|60)$" - we need to give in <input  Ex : Lwc Field input validation 0-60 number only Pattern <lightning-input type="text" label="Release Timer In Minutes"  onchange={timerChange} value={timer}         message-when-pattern-mismatch="You Should Enter 0 - 60" pattern="^(0|[1-9]\d*)$"></lightning-input> ex :  Lwc Field input validation 0 < any number <lightning-input type="text" label="Release Timer In Minutes"  onchange={timerChange} value={timer}         message-when-pattern-mismatch="You Should Enter 0 Or Higher Value - Negetive Values Not Allowed" pattern="^(0|[1-9]\d*)$"></lightning-input>

Salesforce Links

1) Lightning Web Components Tutorial (Hindi) | LWC , 2) Salesforce Experience Cloud Project For Beginners| Portfolio Website , 3) Salesforce Experience Cloud Training https://www.youtube.com/@SalesforceNoob/playlists Marketing Cloud AMPscript Training Videos https://www.youtube.com/playlist?list=PLYjAMqKETE1qEF1kEDjekFD6sWqmk9Y4H Experience cloud https://www.youtube.com/@vikasv007/playlists Salesforce Testing - Basics to Advanced https://www.udemy.com/course/salesforce-testing-basics-to-advanced/?couponCode=LEARNNOWPLANS Salesforce Automation Testing : https://www.youtube.com/watch?v=YB6xanqhv6c&list=PLJNiKrW_JKvREJQ5TEo7r2Lo07pPBIbCS What is Salesforce? || Salesforce concepts to know as a Salesforce Tester https://www.youtube.com/watch?v=VHsX9KOirR8&list=PLJNiKrW_JKvR3I1ImUmNFu_BdT5DTv7eb How to setup and use salesforce code analyzer? - Salesforce https://www.youtube.com/watch?v=QKAOh6vvT6w

How to delete debuglogs In salesforce

  SELECT Id, StartTime, LogUserId, LogLength, Location FROM ApexLog refrence :  https://help.salesforce.com/s/articleView?id=sf.code_debug_log_delete.htm&type=5

How to retrive all metada from salesforce org - cli- vscode- command prompt

 How to retrive all metada from salesforce org -  cli- vscode- command prompt 1)execute command ---   sfdx force source manifest create --fromorg alisname --manifestname=allMetadata --outputdir manifest   // outdated sf project retrieve start --source-dir force-app --manifest package.xml --target-org aliasname // updated 2) from manifest folder drag and drop allMetadata.xml file to main directory(root) in salesforce vscode folder. 3) execute command --  sfdx force:source:retrive -x allMetadata.xml // deprecated //sf project retrieve start --manifest allMetadata.xml  // not working

How to add Standard Object to ChangeSet

 How to add Standard Object to ChangeSet - OutBound ChangeSet ==== Standard objects by default we will get so no need to deploy - Only we need to deploy custom fields on standard object ...

Lightning Web Component - Icon color , foreground , background - In Salesforce

Image
.html ---------- < template > <lightning-icon     icon-name="utility: priority "     alternative-text="Flag"     title="Flag"     class="my-icon1" > </lightning-icon> <lightning-icon     icon-name="utility: priority "     alternative-text="Flag"     title="Flag"     class="my-icon2" > </lightning-icon> <lightning-icon     icon-name="utility: priority "     alternative-text="Flag"     title="Flag"     class="my-icon3" > </lightning-icon> <lightning-icon     icon-name="utility: priority "     alternative-text="Flag"     title="Flag"     class="my-icon4" > </lightning-icon> </ template > .css -------- .my-icon1 {     --slds-c-icon-color-foreground-default: green;      }//Styling Hooks .my-icon2 {     --slds-c-icon-color-foreground-default:...