Forum Replies Created

Page 2 of 2
  • Hi Aditya,

    When My Domain isn’t deployed in your org, user interface controls related to Lightning components may be hidden or inactive. Lightning components added to pages, tabs, and so on, don’t run and may be omitted, or display a placeholder error message.

  • Hi Marziya,

    Component events are used to communicate between child and parent. A change in a child component can be communicated to the parent component through the component events. Application events are used to communicate any change in the component to a broader audience.

    • This reply was modified 4 years, 9 months ago by  Forcetalks.
  • Shubham

    Member
    January 29, 2020 at 5:43 pm in reply to: What is the Difference between Roles and Profiles in Salesforce?

    Hi Marziya,

    Profiles determine which objects, fields, etc. you can access where roles determine what you can see relative to others in the hierarchy within the organization

  • Shubham

    Member
    January 29, 2020 at 5:41 pm in reply to: What is the Salesforce Lightning Component Bundles?

    Hi Shweta,

    In Salesforce Lightning components, we can build applications by assembling components created by us and other developers. A component can contain other components, as well as HTML, CSS, JavaScript, or any other Web-enabled code. This enables to build apps with sophisticated UIs.

  • Shubham

    Member
    January 29, 2020 at 5:33 pm in reply to: What is the use of Selective Query in Salesforce?

    Hi kiran,

    Selective SOQL queries are queries that have direction on how to get the results (a presence of a filter/index0

  • Hi Ayush,

    Yes, this is possible that two or more users have the same profile in the Salesforce. But a single user cannot have more than one profile

     

  • Shubham

    Member
    January 28, 2020 at 2:45 pm in reply to: What is the significance of keyset() method of MAP in Salesforce?

    Hi Shradha,

    keyset() method returns a set of all the keys in a map

  • Shubham

    Member
    January 28, 2020 at 2:42 pm in reply to: What are the best practices while writing Test Classes in Salesforce?

    Hi Ratnesh,

    Some of the best practices for writing test classes are:-

    1-Try not just covering 75% of the code, but as much coverage as possible

    2-If possible Don’t use seeAllData=true, Create your Own Test Data.

    3-Always use @testSetup method dedicated to create test records for that class. This is newly added annotation and very powerful. Any record created in this method will be available to all test methods of that class.

    4-Use Test.startTest() to reset Governor limits in Test methods

    5-Use Test.isRunningTest() in your code to identify that context of class is Test or not.

  • Shubham

    Member
    January 27, 2020 at 2:57 pm in reply to: What are the limitations of FUTURE METHOD in Salesforce?

    Hi Mohit,

    The specified parameters must be primitive data types, arrays of primitive data types, or collections of primitive data types; future methods can't take objects as arguments.
    Future methods won't necessarily execute in the same order they are called.
    Mar

  • Shubham

    Member
    January 27, 2020 at 2:53 pm in reply to: What is Cascade Deleting in Salesforce?

    Hi Udit,

    It's a general relational database term used to describe the process by which child records are automatically deleted when their parent record is deleted.

  • Shubham

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

    Data skew is a condition which we encounter when there are over 10,000 records. When one single user owns that many records we call that condition 'ownership data skew'. When such users perform updates, performance issues will be encountered because of “data skew

  • Hi Aditya,

    add() method adds your specified element to the list at the specified index, the element which previously existed at that particular index and all the following elements will shift 1 index , and the previous element still exists.

    Whereas in set() method the element is replaced by the element we want to insert at that particular index.

    ex:-

    a list - [1,2,3,4,5,6]

    on add(0, 9)

    the list will be [9,1,2,3,4,5,6]

    on set(0,9)

    the list will be

    [9,2,3,4,5,6]

    hope it helps.

  • Shubham

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

    Hi Aditya,

    Soap and Rest API help us to interact with other platforms and helps external platforms to invoke apex methods

    SOAP API supports data in form of XML while REST API supports data in form of XML as well as JSON.

  • Shubham

    Member
    January 23, 2020 at 2:55 pm in reply to: What is External Lookup in Salesforce?

    Hi Krati,

    An external lookup relationship is a new field type relationship introduced with Salesforce Connect. This type links an object to an external object. ... You link product Details to products based on the product ID field in both objects, resulting in a new related list on the Products page.

  • Hi Pooja,

    apex:outputText: Displays text on a Visualforce page.

    apex:outputlabel tag is used to provide label or name to the controller method in visualforce page. Outputlabel tag renders an HTML “label” element to customize the appearance of the label using CSS labels.

  • Shubham

    Member
    January 23, 2020 at 2:46 pm in reply to: Can we call batch class from another batch class in Salesforce?

    Hi Marziya,

    yes a batch class can be called from a batch class but only in the finish method.

  • Shubham

    Member
    January 22, 2020 at 6:30 pm in reply to: Output panel vs Pageblock section in Salesforce

    <apexpageblocksection> is used to create sub sections inside a page block.

    Output panel is used to conditionally render a section of block of html element using it's render attributes

  • Shubham

    Member
    January 22, 2020 at 6:22 pm in reply to: What is the difference between Salesforce ActionPoller & Rerendered?

    Action poller is used as a timer in visualforce page. It is mainly used to send an AJAX request to the server depending on the time interval whereas Rerender is used to refresh a particular section of the visualforce page.

  • hi Ayush,

    the limit for maximum number of field dependencies in a visualforce page is 10.

  • Shubham

    Member
    January 21, 2020 at 5:32 pm in reply to: What is big object in Salesforce?

    hi aditya,

    A big object stores and manages massive amounts of data on the Salesforce platform. You can archive data from other objects or bring massive datasets from outside systems into a big object to get a full view of your customers. Clients and external systems use a standard set of APIs to access big object data. A big object provides consistent performance, whether you have 1 million records, 100 million, or even 1 billion. This scale gives a big object its power and defines its features.

  • Hi manish,

    With Lightning Experience, Salesforce now has many new cloud-based features and a new UI. Sales accounts, campaigns, contacts, leads, opportunities, personal accounts, price books and products have been re-organized and given a modern, visual appeal.

  • Shubham

    Member
    January 21, 2020 at 5:05 pm in reply to: What are the limitations of  Process Builder in Salesforce?

    Hi Kirandeep,

    These are some limitations of process builder:-

    -Process Builders cannot handle before DML It executes after a record has been created or updated. Whereas Apex triggers can handle both before and after DML operations.
    -Process Builder cannot handle delete and undelete DML. Whereas Apex triggers can handle all DML operations.
    -An error reported in Process Builder is more generic which makes it difficult to find the origin of the error. With -Apex triggers, exception handling can be made more specific.
    -It is all or none in case of Process Builder failure. But with Apex triggers partial success is possible.

Page 2 of 2