Sumit kumar
IndividualForum Replies Created
-
Sumit
MemberMay 12, 2020 at 6:52 am in reply to: What's the most extreme bunch size in a solitary trigger execution ?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! -
It basically returns the URL of the Salesforce instance.
-
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
-
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
-
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
-
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
-
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. -
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
-
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
-
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.
-
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.
-
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
MemberApril 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. -
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. -
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
MemberApril 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
MemberApril 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
-
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.
-
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
MemberApril 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.
-
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.
-
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
MemberApril 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.
-
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
-
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.