-
What is the difference between given two Salesforce Apex code in description?
Apex Code 1:-
public PageReference save()
{
PageReference pr = new PageReference('/apex/AnyApexPage');
pr.setRedirect(true);
return pr;
}
Apex Code 2:-
public PageReference save()
{
return Page.AnyApexPage;
}
Log In to reply.
Popular Salesforce Blogs
What is Sandbox and the Type of Sandbox in Salesforce?
A candidate who wants to come on the Salesforce program must know that the production environment of the development process is a necessary entity. That…
Top 10 Salesforce Consulting Companies Around the Globe
Building stronger customer relationships is the need of the hour in this technology-driven world. Salesforce, being the #1 CRM platform, helps your business accomplish this goal.…
Popular Salesforce Videos
The World of Salesforce Einstein
Salesforce Einstein is artificial intelligence (AI) technology that has been developed for the Salesforce Customer Success Platform. ... Upgrades include Einstein Vision, which brings image…
Developer Preview Live - Release Readiness Live, Winter '22 | Salesforce
The Winter ’22 release is packed full of features to help developers solve key business problems fast. Join us to learn from Product Managers and…
Salesforce Sales Engagement Mastery: Proven Strategies for Efficiency and Success
Salesforce stands as a cloud-based customer relationship management (CRM) software capable of revolutionizing sales procedures and enhancing the efficiency of internal sales representatives. This dynamic…