Forum Replies Created

Page 1 of 2
  • hi kirandeep,
    In Salesforce Classic, you can create four different types of email templates: text, HTML with letterhead, custom, and Visualforce. All of these email templates can include text, merge fields, and attached files.

  • Shubham

    Member
    April 9, 2020 at 5:33 pm in reply to: How to refresh a Lightning Component after Success in Salesforce?

    Hi Krati,
    To refresh a view, run $A.get('e.force:refreshView').fire();,

  • Shubham

    Member
    April 9, 2020 at 5:27 pm in reply to: What is Apex Managed Sharing in Salesforce ?

    Hi kirandeep, in some scenarios conventional methods of sharing records are not suffice, then we can grant access programatically, such process is apex managed sharing, it is generally achieced by shareobjects of sobjects

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

    Member
    April 6, 2020 at 5:27 pm in reply to: How to remove duplicate records in Salesforce?

    hi shweta,
    you can always use set collection, to remove duplicate records as per your requirement

  • Shubham

    Member
    April 6, 2020 at 2:55 pm in reply to: This Keyword In Salesforce?

    Hi Marziya,
    This keyword defines a method/variable that is only initialized once and is associated with an (outer) class, and initialization code.

  • Hi Anuj,
    TestVisible annotation allows test methods to access private or protected members of another class outside the test class. These members include methods, member variables, and innerclasses. This annotation enables a more permissive access level for running tests only. This annotation doesn’t change the visibility of members if accessed by non-test classes.

  • Shubham

    Member
    April 3, 2020 at 6:22 pm in reply to: What is meant by bulk API in Salesforce?

    Bulk API is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAll, insert, update, upsert, or delete many records asynchronously by submitting batches. Salesforce processes batches in the background.

  • Shubham

    Member
    April 3, 2020 at 6:17 pm in reply to: Can anyone give the example of WHATID activity?
  • hi sumit,
    these functions are used to reset the governor limits

  • hi deepak,
    the records are mostly manipulated in the database itself, and any change, in your case deletion should be working fine if you are fetching records correctly from database,
    can you be more specific about your issue?

  • Shubham

    Member
    April 2, 2020 at 5:52 pm in reply to: How can I create one to many relationship in Salesforce?

    you can do this by creating two master detail relationships on two junction objects of

  • Hi Deepak,
    The Math.ceil() function always rounds a number up to the next largest whole number or integer.
    Note: Math.ceil(null) returns integer 0 and does not give a NaN error
    ek 2.5=3, 2=2, -7.004=-7.
    we also have Math.floor
    Math.floor() function returns the largest integer less than or equal to a given number.
    it can be used in a lot of ways in your lightning component,
    for ex;- In pagination
    where your total no of records are 20, and your page size is 8, to go to the last page,
    where page no is being calculated as totalrecords/pagesize,
    i this case 2.5, math.ceil(2.5) returns 3, and we have our page no

  • Shubham

    Member
    February 18, 2020 at 5:14 pm in reply to: What are the benefits of creating Test Class in SalesForce?

    We write Test Classes in Apex Salesforce for Unit Testing. We get to find the bugs in our code and fix it to give better output

  • Shubham

    Member
    February 18, 2020 at 5:11 pm in reply to: When to use DeepClone() in Salesforce?

    DeepClone is a predefined function which clone(duplicate copy) the list of object and doesn’t have any reference.

  • Shubham

    Member
    February 18, 2020 at 5:06 pm in reply to: What is the use of startTest() and stopTest() method in Salesforce?

    Hi Aditya,

    startTest() and Test. stopTest()denotes the start and end of the test cases that we want t check in our code their job is to primarily allow us to reset the governor limits within the context of your test execution and to be able to test asynchronous methods. These two statements cannot be called more than once within a testMethod.

     

     

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

    Member
    February 11, 2020 at 3:10 pm in reply to: Can we edit a scheduled job in Salesforce Apex?

    Hi Sanjana,

    No we cannot edit a scheduled job in salesforce

  • Shubham

    Member
    February 11, 2020 at 3:07 pm in reply to: Why do we use lightning components in Salesforce?

    Hi Ratnesh,

    The Lightning Component framework is a UI framework for developing web apps for mobile and desktop devices. It's a modern framework for building single-page applications with dynamic, responsive user interfaces for Lightning Platform apps. It uses JavaScript on the client side and Apex on the server side.

  • Shubham

    Member
    February 11, 2020 at 3:04 pm in reply to: What is application lifecycle management in Salesforce?

    Hi Shweta,
    Application Lifecycle Management is a combination of software engineering and integrated requirements management. ... Efficient progression of application through development, testing, and production.

  • Shubham

    Member
    February 10, 2020 at 5:08 pm in reply to: What can a cross object formula reference in Salesforce?

    Hi Anjali,

    A cross-object formula can reference merge fields from a master (“parent”) object if an object is on the detail side of a master-detail relationship.

  • Shubham

    Member
    February 10, 2020 at 5:06 pm in reply to: How to use HasRecordid in Lightning Component in Salesforce?

    Hi Deepak,

    The force:hasRecordId interface does two things to a component that implements it.

    It adds an attribute named recordId to your component. This attribute is of type String, and its value is an 18-character Salesforce record ID,

    When your component is invoked in a record context in Lightning Experience or the Salesforce app, the recordId is set to the ID of the record being viewed

  • Hi Marziya,

    Component events are used to do communication between child and parent. They use bubbling and capture same as used in DOM events. A change in a child component can be communicated to the parent component via component event. Application events are used to communicate any change in the component to a broader audience

  • Shubham

    Member
    February 5, 2020 at 7:01 pm in reply to: What is a bucket field in reports in Salesforce?

    Hi Marziya,

    Bucket field in Salesforce Reports is an incredible powerful functionality used to quickly categorize values for a field in a report without the need to have a custom formula field at the object level. When you create a bucket field in Salesforce, you define multiple categories into groups depending on the record values, this bucket field will not affect other Salesforce reports. Bucket fields in Salesforce are available in Tabular reports, Summary Reports and Matrix reports. Joined Reports does not support Bucket fields.

  • Shubham

    Member
    February 5, 2020 at 6:58 pm in reply to: What is REGEX function in Salesforce?

    Hi udit,

    By using this function we can build validation rule to enforces proper data format.

  • Shubham

    Member
    January 31, 2020 at 1:49 pm in reply to: Is Lightning Components build on the MVC pattern in Salesforce?

    Hi deepak,

    There are similarities, to be sure, but it would be more correct to say that

    Lightning Components is View-Controller-Controller-Model, or perhaps View-Controller-Controller-Database.

    Why is “controller” doubled up in that pattern name? Because when interacting with Salesforce, your components will have a server-side controller in addition to the client-side controller. This dual controller design is the key difference between Lightning Components and MVC.

  • Shubham

    Member
    January 31, 2020 at 1:41 pm in reply to: What is CRUD permission in profile in Salesforce?

    Hi pooja, CRUD permission comes under object level security, it deals with  Create,Read,Update,Delete. it is used to imply restrictions on users for different case scenario.

Page 1 of 2