Forum Replies Created

Page 6 of 8
  • Hi,
    Search Result and Web results
    Write Apex triggers to perform custom database actions.
    To execute a trigger before or after insert, update, delete, and undelete operations, specify size.
    The total number of records in a trigger invocation, both old and new. With your new trigger in place, you get an email every time you add one or more contacts!

  • Sumit

    Member
    May 12, 2020 at 6:50 am in reply to: What is URL.getSalesforceBaseUrl() in Salesforce?

    It basically returns the URL of the Salesforce instance.

  • Sumit

    Member
    May 12, 2020 at 6:49 am in reply to: What is mail.setSubject() in Salesforce?

    The setToAddresses() function sets the to field of the email. This function takes a string list as an input and hence we have created a string list object and added the to address to that string. ... The setSubject() function sets the subject of the mail and the setHtmlBody() sets the body of the mail in HTML form

  • Sumit

    Member
    May 11, 2020 at 7:00 am in reply to: What is System mode and user mode in Salesforce?

    What are the differences between System Mode and User Mode? System Mode basically runs Apex code while ignoring the user's permissions and privileges. In the System Mode, Apex code will have access to all the fields and objects while sharing rules and field security aren't applied to the current user

  • Sumit

    Member
    May 11, 2020 at 7:00 am in reply to: When can Apex Triggers run in Salesforce?

    Apex can be invoked by using triggers . Apex triggers enable you to perform custom actions before or after changes to Salesforce records, such as insertions, updates, or deletions. A trigger is Apex code that executes before or after the following types of operations: insert

  • Sumit

    Member
    May 11, 2020 at 6:58 am in reply to: How many portals available in Salesforce.com?

    Portals overview in Salesforce :- There are 3 types of Salesforce.com Portals. Self-Service portal:- Self-Service provides an online support channel for your customers – allowing them to resolve their inquiries without contacting a customer service representative

  • Sumit

    Member
    April 29, 2020 at 1:50 pm in reply to: When to use newMap and oldMap in Salesforce?

    Trigger.OldMap: Trigger.oldMap returns map of old records which are updated with new values. These List of records already there in Database. Trigger.oldmap available in Before update, after update, Before Delete and After Delete triggers.
    Trigger.NewMap: Trigger.newMap returns map of new records which are trying to insert into Database. This is available in Before Insert, Before Update, After Insert, After Update Triggers and undelete Triggers. This list of records can only modified in Before triggers.

  • Sumit

    Member
    April 29, 2020 at 1:48 pm in reply to: What is stub API in Salesforce?

    Build a Mocking Framework with the Stub API. Apex provides a stub API for implementing a mocking framework. ... You can define the behavior of stub objects, which are created at runtime as anonymous subclasses of Apex classes. The stub API comprises the System

  • Sumit

    Member
    April 29, 2020 at 1:44 pm in reply to: What is newMap and oldMap in Salesforce?

    Build a Mocking Framework with the Stub API. Apex provides a stub API for implementing a mocking framework. ... You can define the behavior of stub objects, which are created at runtime as anonymous subclasses of Apex classes. The stub API comprises the System

  • Sumit

    Member
    April 28, 2020 at 10:19 am in reply to: What is Apex in Salesforce?

    Apex is a development platform for building software as a service (SaaS) applications on top of Salesforce.com's customer relationship management (CRM) functionality. Apex allows developers to access Salesforce.com's back-end database and client-server interfaces to create third-party SaaS applications.

  • Sumit

    Member
    April 28, 2020 at 10:16 am in reply to: What is an apex transaction in Salesforce?

    Apex Transactions. An Apex transaction represents a set of operations that are executed as a single unit. All DML operations in a transaction either complete successfully, or if an error occurs in one operation, the entire transaction is rolled back and no data is committed to the database.

  • Sumit

    Member
    April 24, 2020 at 12:49 pm in reply to: What is EventBus Namespace in Salesforce ?

    EventBus Namespace. The EventBus namespace provides classes and methods for platform events and Change Data Capture events. The following are the classes in the EventBus namespace. ChangeEventHeader Class. Contains header fields of Change Data Capture events.

  • Sumit

    Member
    April 24, 2020 at 7:49 am in reply to: How do you create an indirect lookup relationship in Salesforce?

    Connecting objects with this new feature is relatively simple. Here are the steps you should follow to create one:
    Go to “Setup” and use “Quick Find.”
    Input the object name and select it.
    Click on the customer ID field.
    Click “Edit” and select “Change Field Type.”
    Select “Indirect Lookup Relationship” and click “Next.”
    Select “Account” in the “Related To” value and click “Next.”
    Choose “Customer ID” in the value for the “Target Field” and click “Next.”
    For the field length, input “18.”
    Leave everything else in their default settings and click “Next.”
    Depending on your preference, you can choose to make this new component visible to everyone in the system. To do this, select “Visible” and click “Next.” This is a setting that you can change later on. There are times when it might be better if you became selective with granting access.
    Leave all other settings in default mode then click “Save.” As you do this, you will find a new Orders list on your Accounts pages.

  • Sumit

    Member
    April 23, 2020 at 10:10 am in reply to: What is OAuth in Salesforce?

    Search Results
    Featured snippet from the web
    Authorize Apps with OAuth. OAuth is an open protocol that authorizes a client application to access data from a protected resource through the exchange of tokens. ... In Salesforce, you can use OAuth authorization to approve a client application's access to your org's protected resources.

  • Sumit

    Member
    April 23, 2020 at 10:09 am in reply to: How many types of chatter group in Salesforce?

    You can join up to 300 groups, and your company can have a total of 30,000 groups. Chatter groups can be public, private, unlisted, and archived. Public: Anyone can see and add posts, comments, and files.

  • Sumit

    Member
    April 21, 2020 at 8:29 am in reply to: What is minimum test coverage required for trigger to deploy?

    Search Results
    Featured snippet from the web
    As it turns out, 75% code coverage is required on an individual Apex class and an average of 75% of code coverage is required across the organization. This includes classes and triggers. But, you can deploy a Trigger with less than 75% coverage, for some unforgivable reason.

  • Sumit

    Member
    April 21, 2020 at 8:27 am in reply to: How can you expose an Apex class as a REST WebService in Salesforce?

    you can expose your Apex class and methods so that external applications can access your code and your application through the REST architecture. This is done by defining your Apex class with the @RestResource annotation to expose it as a REST resource. You can then use global classes and a WebService callback method

  • Sumit

    Member
    April 20, 2020 at 1:51 pm in reply to: What is approval process in Salesforce?

    Salesforce approval process. Salesforce approval process is an automated process and your organization can use to approve records in Salesforce, An approval process is combination of steps for a record to be approved and person has to approve it each step.

  • Sumit

    Member
    April 20, 2020 at 1:49 pm in reply to: How does a flow works in Salesforce?

    Flows can look up, create, update, and delete Salesforce records. They can also create Chatter posts, submit records for approval, and send emails. If your action isn't possible out of the box, call Apex code from the flow. Connect your flow to an external database by using core actions or Apex actions.

  • Sumit

    Member
    April 14, 2020 at 2:57 pm in reply to: Can we schedule a dynamic dashboard in Salesforce?

    A Dynamic Dashboard enables multiple users to access a dashboard that was previously accessed only by a single static user. This means that the dynamic dashboard can be used by a specific user alongside a logged-in user, and display data specific to both users accordingly.

  • Sumit

    Member
    April 14, 2020 at 2:51 pm in reply to: What is the purpose of namespace in salesforce?

    Namespace Prefix. The Salesforce application supports the use of namespace prefixes . Namespace prefixes are used in managed AppExchange packages to differentiate custom object and field names from names used by other organizations.

  • Sumit

    Member
    April 13, 2020 at 1:23 pm in reply to: What is login flows in Salesforce?

    A login flow directs users through a login process before they access your Salesforce org or community. ... After Salesforce authenticates a user, the login flow directs the user through a process, such as enforcing strong authentication or collecting user information.

  • Sumit

    Member
    April 13, 2020 at 1:15 pm in reply to: What is the use of startTest() and stopTest() in Salesforce?

    startTest() and Test. stopTest() exist primarily to allow you 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  Sumit kumar.
  • Sumit

    Member
    April 13, 2020 at 1:12 pm in reply to: What is utility class in Salesforce?

    Utility classes are helper classes that consisits of reusable methods. From triggers we can call methods in such public classes. This helps to reduce code with in trigger and make it more structured

  • Sumit

    Member
    April 9, 2020 at 12:57 pm in reply to: When to use lookup relationship in Salesforce?

    A Lookup relationship involves finding value of a field based on the value in another field in another object. It is mostly used in the case of commonly shared data between two objects.

Page 6 of 8