Forum Replies Created

Page 18 of 19
  • Anuj

    Member
    January 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.

  • Anuj

    Member
    January 28, 2020 at 11:50 am in reply to: What is Duplicate Rule in Salesforce?

    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

    Member
    January 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.

  • Anuj

    Member
    January 28, 2020 at 11:28 am in reply to: What is exception reporting 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.

  • Anuj

    Member
    January 27, 2020 at 1:14 pm in reply to: What is a Callout in Salesforce?

    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

    Member
    January 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.

  • Anuj

    Member
    January 27, 2020 at 12:56 pm in reply to: What is Order of Execution in Salesforce?

    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:

    https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_order_of_execution.htm

  • Anuj

    Member
    January 24, 2020 at 3:48 pm in reply to: What is Data Skew in Salesforce ?

    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

  • Anuj

    Member
    January 24, 2020 at 3:39 pm in reply to: What is SOAP and REST API in Salesforce?

    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.

  • Anuj

    Member
    January 24, 2020 at 3:19 pm in reply to: What is the use of <apex:facet> in Salesforce?

    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

    Member
    January 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

    Member
    January 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

    Member
    January 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

  • Anuj

    Member
    January 22, 2020 at 11:25 am in reply to: What is crontrigger in salesforce ??

    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

    Member
    January 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

  • 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.

  • 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

    Member
    January 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

  • 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.

  • 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

    Member
    January 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.

  • Hi,

    In lightning, smallest possible component of size 1 row by 1 column can be added to a dashboard component.

  • 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.
  • Anuj

    Member
    January 16, 2020 at 2:11 pm in reply to: What is Login Forensics in Salesforce?

    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

  • Yes , because validation only work on  before insertion and it cross-check the condition applied in formula editor for existing fields.

Page 18 of 19