Yearly Archives: 2020

SFDX commands Cheet Sheet: Quick take

sfdx force:doc:commands:list === Commands force:alias:list ...

INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY: insufficient access rights on cross-reference id

INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, insufficient access rights on cross-reference id: is a common issue when you...

Adding/Assigning the list of Permission Sets to a User via APEX

User userRecord = [ SELECT Id,Name FROM User...

How to Find Salesforce Object ID prefixes (custom or standard)

How to Find Salesforce Object ID prefixes (custom or...

Customized Kanban View using lightning Components | SalesforceCody

Hello SalesforceCody's, we are here with New post, Yes "Customized...

Top 100 Salesforce Developer Blogs & Websites To Follow in 2020 | SalesforceCody

Yes, you heard it correctly, SalesforceCody Blog has been...

Salesforce Integration With Bitly

public class Salesforce_Bitly_Intigration { public Salesforce_Bitly_Intigration(){ ...

Create a Trigger on Account which will set the ownership as “public”.

trigger AccountrTrigger on Account (before insert) { ...

Create a Trigger on Opportunity which will set the Opportunity type as “new customer”.

trigger Opportunitytrigger on Opportunity (before insert) {     if(Trigger.isBefore && Trigger.isInsert){         for(Opportunity...

ADVERTISMENT

SFDX commands Cheet Sheet: Quick take

sfdx force:doc:commands:list === Commands force:alias:list #...

INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY: insufficient access rights on cross-reference id

INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, insufficient access rights on cross-reference id: is a common issue when you try to update or create data with insufficient access on a record. Kindly check the user profile...

Adding/Assigning the list of Permission Sets to a User via APEX

User userRecord = [ SELECT Id,Name FROM User limit 1]; List<String> permissionSetNames =new permissionSetNames(); permissionSetNames.add('PermissionSet1');//replace with your'e permission set name permissionSetNames.add('PermissionSet2');//same here List<PermissionSetAssignment> permissionSetAssignments = new List<PermissionSetAssignment>(); List<PermissionSet>...

How to Find Salesforce Object ID prefixes (custom or standard)

How to Find Salesforce Object ID prefixes (custom or standard) In salesforce every custom and stranded object has specific id. first 3 digits of an...

Customized Kanban View using lightning Components | SalesforceCody

Hello SalesforceCody's, we are here with New post, Yes "Customized Kanban" using Lightning Components. this is how it's looks Get it for you self just by installing...

Top 100 Salesforce Developer Blogs & Websites To Follow in 2020 | SalesforceCody

Yes, you heard it correctly, SalesforceCody Blog has been selected among top 30 Salesforce Developer Blogs Thanks to Everyone who made this possible! thanks to...

Salesforce Integration With Bitly

public class Salesforce_Bitly_Intigration { public Salesforce_Bitly_Intigration(){ HttpRequest req = new HttpRequest(); ...

Create a Trigger on Account which will set the ownership as “public”.

trigger AccountrTrigger on Account (before insert) { if(Trigger.isBefore && Trigger.isInsert){ for(Account act : ...

Create a Trigger on Opportunity which will set the Opportunity type as “new customer”.

trigger Opportunitytrigger on Opportunity (before insert) {     if(Trigger.isBefore && Trigger.isInsert){         for(Opportunity oppRecord: Trigger.New){            oppRecord.Type = 'New Customer';         }     } }

Create a new trigger on opportunity which will set the stage name is prospecting and close date is 15 days from today.

trigger OpportunityTrigger on Opportunity (before insert) { if(Trigger.isBefore && Trigger.isInsert){ for(Opportunity oppObject: Trigger.New){ ...

Don't miss