
Melonleaf Consulting
Company-
Rajan replied to the discussion How to create records of any selected object using Salesforce Batch Apex Class? in the forum Salesforce® Discussions 5 years ago
Reply to How to create records of any selected object using Salesforce Batch Apex Class?
Hi Namrata
global class batchForUserInput implements Database.Batchable<sObject> {
global batchForUserInput(string inputUser){
this.inputUser = inputUser;
}
global Database.QueryLocator start(Database.BatchableContext BC) {
String query = 'SELECT Id,Name FROM inputUser';
return Database.getQueryLocator(query);
}global… Read more
-
Rajan replied to the discussion What is object specific action and how to create it? in the forum Salesforce® Discussions 5 years ago
Reply to What is object specific action and how to create it?
Hi Abhishek,
Object-specific create actions create records that are automatically associated with related records. Object-specific actions are only available on page layouts for that object. For example, you can add the New Group Member action only to the group publisher layout.
1 From the management settings for the object for which you want… Read more
-
Rajan replied to the discussion Trigger to prevent Date Overlap #ApexTrigger in the forum Salesforce® Discussions 5 years ago
Reply to Trigger to prevent Date Overlap #ApexTrigger
Hi Suman,
Create two map in your trigger to store start and end date corresponding to the register event of that window. So the first map will contain information about start date for each attendee and second map will store end date for each attendee. Now iterate over the event the attendee is trying to register, if the attendee is already in… Read more
-
Rajan replied to the discussion How to Edit Multiple Records using cURL? in the forum Salesforce® Discussions 5 years ago
Reply to How to Edit Multiple Records using cURL?
Hi Parantap,
You need to create a PATCH request to Edit existing record in salesforce.
Thanks,
Rajan
-
Subhendu and
Rajan are now connected 6 years ago
-
Abhay and
Rajan are now connected 6 years ago
-
Rajan became a registered member 7 years ago