Anuj
IndividualForum Replies Created
-
Anuj
MemberJanuary 29, 2020 at 2:44 pm in reply to: What is the use of Page reference in the Salesforce Visualforce Page?Hi Pooja,
PageReference is a predefined class in Apex in which we pass the URL or Id of the page which we want to redirect on Click of Button.
-
Hi Shubham,
In Salesforce there are two types of Records , the records which are saved in Database are original records and other is copy of them are Duplicate Rules .
For Example Contacts have multiple Leads.
-
Anuj
MemberJanuary 28, 2020 at 11:38 am in reply to: What is 'Transfer record' in the Salesforce profile ?Hi Anjali,
Transfer Records In Salesforce means Transfer of Record From One Owner to Other Record Owner OR Change the owner of Records . you can transfer bulk records by using Mass transfer Records.
you can find Mass transfer Records in Quick Find Search in Salesforce.
-
Hi Krati,
Exception Reports are used to show Data where Data is not Showing or Exists and Exception Reports are built By Using Cross filters. Cross Filter can be found in Normal Filter Panel.
-
Hi Shubham,
Apex callout is used to integrate Salesforce application with other application .
Salesforce provide Two types of Services to do that.
1.SOAP API uses WSDL file to store information in the form of XML .
2.REST API uses HTTP protocols to send request to other application and Recieve information from Other applications in the JSON format and XML both.
-
Anuj
MemberJanuary 27, 2020 at 1:05 pm in reply to: What is the meaning of newMap and oldMap in Salesforce trigger?Hi Aditya,
NewMap in Apex Trigger is a Map of Id's which return New Version of records and It is available in
before update, after insert, after update, and after undelete triggers only.
OldMap in Apex Trigger is a Map of Id's which return older version of records and It is available in Update and Delete triggers only.
-
Hi Pooja,
When you perform certain statements in Salesforce like Insert, Update or Upsert , Salesforce define some order to execute it.
Its comes under best practise when you follow the order of execution defined by Salesforce.
For More Info please check out this link:
-
Hi Kiran,
Data Skew Occur when more than 10,000 child object records are associated to a single parent object .
There are Three types of Data Skew.
1. Account Skew
2. Record Locking
3. Sharing Issues
-
Hi Aditya,
SOAP (Simple Object Access Protocol) is a web service architecture, which specifies the basic rules to be considered while designing web service platforms. It typically uses HTTP as a layer 7 protocol .It is based on the standard XML format, designed especially to transport and store structured data between two applications.
REST(Representational State Transfer) is another web services interface for interacting with Salesforce. It support both JSON and XML formats.
and various methods like Get, set, Put , Post, Patch.
-
Hi Sweta,
Apex:facet is a Visualforce page tag, is used as a placeholder for content that's rendered in a specific part of the parent component, such as the header or footer of an <apex:dataTable>.
-
Anuj
MemberJanuary 23, 2020 at 11:15 am in reply to: In Salesforce,How to reuse the same Page Block in Visualforce Page ?Hi Kirandeep Kaur,
Make a list of that particular object in Controller class and initialize the object in any method and bind that method in Button in Visualforce page , Also take Boolean Variable and set 'True' the variable in method
For Example see the below code.
public list<contact> listOfContact{get;set;} contact ContactObject= new Contact(); public void AddMoreContact() { accountBoolvalue = false; contactBoolValue = true; contact ContactObject= new Contact(); ContactObject.accountId= account.Id; listOfContact.add(ContactObject); InsertSuccess= false; }
-
Anuj
MemberJanuary 23, 2020 at 11:04 am in reply to: How to override the standard buttons in Salesforce?Hi Sweta,
Just click Edit Button next to the Standard Button whichever you want to override and perform the modification or make changes .
Hope this will help you .
-
Anuj
MemberJanuary 23, 2020 at 10:56 am in reply to: How to use Output Text In Visualforce page in Salesforce?Hi Aditya,
Apex:output Text is a Tag of Visualforce Page which is used to display the records in Page
-
Hi Ayush ,
Cron Trigger is a object in salesforce which contains information of a schedule jobs, It holds the Cron Expression, NextFire Time, LastFire Time, Start Time ,End Time ,status etc .
For more info Check out this Link:
https://www.salesforce.com/developer/docs/api/Content/sforce_api_objects_crontrigger.htm
-
Anuj
MemberJanuary 22, 2020 at 11:19 am in reply to: Why Future method does not contain return type(always void) in Salesforce?Hi Manish,
Future method always run in Background and is used for long running process that's why its always used static method and return type Void and use primitive data types and Future methods does not take standard or custom objects as argument, it take sObject as parameter.
For more Info check out this link: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_invoking_future_methods.htm
-
Anuj
MemberJanuary 22, 2020 at 11:02 am in reply to: When should Apex be used over Workflow rules or Process Builder in Salesforce ?Hi Arun,
Workflow and Process Builder used for Before insert and Update events only but Apex Trigger is used for all events like after Update and Delete but Workflow and Process Builder will not work on delete events.
-
Anuj
MemberJanuary 21, 2020 at 3:03 pm in reply to: What is the difference between <apex:actionSupport> and <apex:actionPoller> in Salesforce?Hi Sweta,
Action Pollar is used to refresh the page according to time interval we define in interval tag and in action tag we bind the method name whom to refresh
Action Support is used to call Controller method through OnClick event in Action support.
-
Anuj
MemberJanuary 21, 2020 at 2:57 pm in reply to: In Salesforce How can you declare List/Map/Set in Apex ?Hi Arun,
In Salesforce Apex List ,Set and Map can be used to store data in bulk , for unique data we used Set for example Id, and for duplicate we use List and for Map is used for Key,Value pair where key is unique and value can be multiple
-
Anuj
MemberJanuary 21, 2020 at 2:47 pm in reply to: What is the difference between a standard and a custom controller in Salesforce Apex?Hi Arun,
Standard Controller:-
Standard controller in apex, inherits all the standard object properties and standard button functionality directly.
It contain the same functionality and logic that are used for standard Salesforce pages we can not modify it.Custom Controller:-
It is an Apex class that implements all of the logic for a page with Custom functionality.
Custom Controllers are associated with Visualforce pages through the controller attribute.
Custom controller defines its own functionality whatever the User wants and we can modify it according to requirements. -
Anuj
MemberJanuary 20, 2020 at 2:25 pm in reply to: Is there any other way to execute batch class without writing its test class in Salesforce?Hi Anjali ,
First of all Batch class is Execute on Anonymous window By creating Object of class and pass the object variable in Id jobId= Database.executebatch(Object_variable);
Test class is used to test the functionality of main class , it is not compulsory to write test calss.
-
Anuj
MemberJanuary 20, 2020 at 2:17 pm in reply to: What is the Wrapper Class in Salesforce apex with examples ?Hi Arun,
A wrapper class is a custom object defined by developer wherein he define the wrapper class properties. Consider a custom object in salesforce, what do you have in it? handle right? various fields of various information types. Additionally wrapper class is a custom class which has various information types or properties according to prerequisite. We can wrap various items types or some other sorts in a wrapper class.
-
Anuj
MemberJanuary 17, 2020 at 3:36 pm in reply to: What is the smallest possible component that can be added in a dashboard in Salesforce?Hi,
In lightning, smallest possible component of size 1 row by 1 column can be added to a dashboard component.
-
Anuj
MemberJanuary 16, 2020 at 2:19 pm in reply to: What functionality should a system admin use to identify and fix security vulnerabilities in the salesforce org?As an administrator, you can utilize Health Check functionalities to distinguish and fix potential vulnerabilities in your security settings, all from a Single page. A rundown score shows how your organization measures against a security level, similar to the Salesforce Baseline Standard.
For better understanding follow this link: https://help.salesforce.com/articleView?id=security_health_check.htm&type=5
- This reply was modified 4 years, 10 months ago by Anuj.
-
Login forensics helps you identify suspicious login activity. It provides you key user access data, including:
1. The average number of logins per user per a specified time period
2. Who logged in more than the average number of times
3.Who logged in during non-business hours
4.Who logged in using suspicious IP ranges -
Anuj
MemberJanuary 15, 2020 at 3:19 pm in reply to: How will validation rule work on the field which is hidden on page layout in Salesforce?Yes , because validation only work on before insertion and it cross-check the condition applied in formula editor for existing fields.