How to deploy Lightning LWC or Aura Custom Tab using Apache ANT tool in Salesforce?
Sample package.xml: <types> <members>Sample_LWC</members> <name>CustomTab</name> </types> Sample_LWC is the API Name of the Tab.
Sample package.xml: <types> <members>Sample_LWC</members> <name>CustomTab</name> </types> Sample_LWC is the API Name of the Tab.
Sample Code: Apex Class: public with sharing class ProductController { @AuraEnabled( cacheable = true ) public static List< PricebookEntry > fetchProducts() { return [ SELECT Id, Product2.Name, IsActive, UnitPrice, Product2.Family ....
Use sfdx force:source:deploy -p command to deploy. You may catch some failure.Sample Command to deploy Lightning Web Component:sfdx force:source:deploy -p "force-app/main/default/lwc/sampleLWC"
Sample Code: Apex Class: public with sharing class AccountController { @AuraEnabled( cacheable = true ) public static List< Account > fetchAccounts() { return [ SELECT Id, Name, Industry, ParentId, RecordTypeId ....
DataClip in Heroku: Heroku Dataclips enable you to create SQL queries for your Heroku Postgres databases and share it with others. 1. Click "Create Dataclip". 2. Enter the query and ....
Salesforce Queues typically route work based on a First-In, First-Out (FIFO) principle, prioritizing items that have been waiting the longest. However, more urgent work may enter the queue while other ....
disableTabClose() prevents a user from closing a tab or a subtab. If the ID parameter doesn’t specify a tab, the enclosing tab is used. You can also use this method ....
1. Go to Settings in Heroku App. 2. Enable Maintenance Mode. Output:
Error Message: The file contains translation keys that do not match the translation type specified in the file header. Create separate import files for metadata and data translations.If you receive ....
GlobalValueSet can be used in the package.xml file to retrieve the Picklist Value Set/Global Picklists in Salesforce. Check the following package.xml for reference. package.xml: <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> ....