How to show a component only in Mobile in Salesforce Lightning
1. Select the Component. 2. Click Add Filter. 3. Select Device. 4. Select Form Factor in field, Equal as Operator and Phone as Value.
1. Select the Component. 2. Click Add Filter. 3. Select Device. 4. Select Form Factor in field, Equal as Operator and Phone as Value.
1. Change the View to Mobile. 2. Select the Component. 3. Click Hide On Mobile if you would like to hide it in Mobile view. https://youtu.be/l6EpEGXQT3k
1. Create a custom field in Case object to get the values from Pre-Chat. 2. Create a custom field in Chat Transcript object to store the values from Pre-Chat. 3. ....
package.xml: <?xml version="1.0" encoding="UTF-8"?><Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <members>Opportunity.Easy Deal</members> <name>BusinessProcess</name> </types> <types> <members>Opportunity.StageName</members> <name>CustomField</name> </types> <types> <members>Easy_Deal</members> <name>PathAssistant</name> </types> <types> <members>Opportunity.Easy_Deal</members> <name>RecordType</name> </types> <types> ....
1. Create a Heroku Project. 2. Install Heroku Connect and Heroku Postgres add-ons. 3. Create a table in Heroku Postgres. https://www.infallibletechie.com/2021/03/how-to-create-table-using-postgresql.html 4. Create some data in Heroku Postgres table. https://www.infallibletechie.com/2021/03/how-to-createinsert-records-into.html ....
Sample Code:Apex Class:public class ExternalSharingController { @AuraEnabled( cacheable = true ) public static List < ConnectionWrapper > fetchConnections( String recId ) { List < ConnectionWrapper > listConnections = ....
In my implementation, I have shared Account records to another Salesforce org.1. Create a Custom Report type with Account as primary object and Connection Histories as related object..2. Now create ....
Sample Code:PartnerNetworkConnection network = [ SELECT Id FROM PartnerNetworkConnection WHERE ConnectionStatus = 'Accepted' LIMIT 1 ];List < PartnerNetworkRecordConnection > listConnections = new List < PartnerNetworkRecordConnection >();PartnerNetworkRecordConnection connection = new PartnerNetworkRecordConnection();connection.ConnectionId ....
1. Create the below Lightning Web Component for a Tab. HTML: <template> <iframe src={strURL} width="100%" height="100%"></iframe> </template> JavaScript: import { LightningElement, wire } from 'lwc'; import { CurrentPageReference } from ....
"INVALID_PARTNER_NETWORK_STATUS, invalid status for partner network operation: []" exception occur if the "LocalRecordId" attribute of "PartnerNetworkRecordConnection" is incorrect. Sample Code: PartnerNetworkConnection network = [ SELECT Id FROM PartnerNetworkConnection WHERE ConnectionStatus = ....