Category: Salesforce
Batch class execute() method not covered by test class
Please check the following if the Batch class execute() method is not getting covered by test class 1. Remember that the execute method will be called only once. 2. If you ....
How to set created date for CollaborationGroupFeed in test class in Salesforce
Sample Test Class: @isTest private class CollaborationGroupFeedTest { static testMethod void test() { CollaborationGroup cg = new CollaborationGroup(Name = 'Test', CollaborationType = 'Public'); ....
CollaborationGroupFeed in Test Class in Salesforce
Sample Test Class: @isTest private class CollaborationGroupFeedTest { static testMethod void test() { CollaborationGroup cg = new CollaborationGroup(Name = 'Test', CollaborationType = 'Public'); insert cg; FeedItem FI = new FeedItem(Body ....
File Upload and Download Security in Salesforce
1. Go to File Upload and Download Security. 2. Click Edit and set it.
How to use GITHUB as version control in Salesforce?
1. Go to https://github.com/. 2. Create an account or use your existing account. 3. Create a new Repository. 4. Click "Create Repository" to create the repository. 5. Go to https://git-scm.com/downloads. ....
How to find how many records an user created across all objects in Salesforce?
1. Go to that user record. 2. Click View in Data Usage. 3. Below will be the output.
How to Commit Changes to Git from Force.com IDE in Salesforce?
1. Right Click the component and select Team --> Commit. 2. Drag and Drop from Unstaged to Staged and click "Commit and Push" button.
Upsert requires view all data on a non-unique custom index
To fix Upsert requires view all data on a non-unique custom index, check the below 1. Make sure the External Id field column in the file or table is unique. 2. ....
Org Migration in Salesforce
Please find the below article. It has pre and post migration checklists items and how to get ready for the org migration. This helps to prepare for the org migration. ....