saloni gupta
IndividualForum Replies Created
-
saloni gupta
MemberJuly 12, 2017 at 7:29 am in reply to: What are Managed and Unmanaged packages in salesforce?Unmanaged packages are typically used to distribute open-source projects or application templates to provide developers with the basic building blocks for an application , whereas Managed packages are typically used by salesforce.com partners to distribute and sell applications to customers.
Main thing which differentiate Managed and Unmanaged is , Managed version can be upgraded but the Unmanaged version you can customize however you like, but it can't be upgraded (if a new version were released, you would need to uninstall and reinstall, which can be difficult once you have data). That is the reason , unmanaged package is only used to share the meta data.
-
saloni gupta
MemberJuly 12, 2017 at 7:26 am in reply to: What is the difference between queueable interface and future callouts?Queueable Interface
This interface enables you to add jobs to the queue and monitor them which is an enhanced way of running your asynchronous Apex code compared to using future methods.
Future Callouts
When using synchronous processing, all method calls are made from the same thread that is executing the Apex code, and no additional processing can occur until the process is complete. You can use future methods for any operation you’d like to run asynchronously in its own thread. This provides the benefits of not blocking the user from performing other operations and providing higher governor and execution limits for the process. Everyone’s a winner with asynchronous processing.
-
saloni gupta
MemberJuly 12, 2017 at 4:26 am in reply to: what is the use of Database.Stateful in Salesforce Batch Class?thanks sudhir, Can you give any example for this scenario ?
-
hi shubham,
Yes, Undelete is count as DML Operation.
you can refer following link for DML operation-
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_dml_section.htm
-
saloni gupta
MemberJuly 11, 2017 at 9:00 am in reply to: How can we insert 10 contacts in an after insert trigger on Account without using nested for loop ?trigger InsertContactOnAccount on Account (after insert) {
List<Contact> con = new List<Contact>();
List<id> ide = new List<id>();
for(Account acc:Trigger.new)
ide.add(acc.id);
integer i,j;
for(i=0,j=0;j<10&&i<ide.size();j++){
contact c = new contact(lastName = 'test'+j, accountId= Trigger.new.get(i).id);
con.add(c);
if(j==9){
i++;
j=0;
}
}insert con;
} -
saloni gupta
MemberJuly 11, 2017 at 8:53 am in reply to: What is a custom object in Salesforce and What does a custom object permit the user to do?Custom objects are objects that you create to store information that’s specific to your company or industry. For House, you want to build a custom Property object that stores information about the homes.
-
saloni gupta
MemberJuly 6, 2017 at 5:15 am in reply to: Error while inserting the feedItem in SalesforceThis code is showing the same exception again and again.
-
saloni gupta
MemberJuly 5, 2017 at 11:23 am in reply to: How can i get the owner Name of account object by DML and put at the outputfield of visualForce Page?hi Sudhir,
I want to display the owner name by custom controller.
-
saloni gupta
MemberJuly 5, 2017 at 10:40 am in reply to: How can i get the owner Name of account object by DML and put at the outputfield of visualForce Page?yes, i want to display the account owner name on the vf page