Marziya Sarwar
IndividualForum Replies Created
-
Hii Ayush,
The dispatcher is responsible for making sure all of the applicable methods on your trigger handler are called, depending on the current trigger context. It also contains a check to make sure that the trigger has not been disabled. -
Marziya
MemberApril 6, 2020 at 1:35 pm in reply to: What is PageReference.getParameters() in Salesforce?Hii Deepak,
getParameters()
Returns a map of the query string parameters for the PageReference; both POST and GET parameters are included. The key string contains the name of the parameter, while the value string contains the value of the parameter. -
Hii Kirandeep,
To access this functionality:
1.In the application, from Setup, enter Apex Classes in the Quick Find box, then select Apex Classes.
2.Click Generate from WSDL.
3.Click Browse to navigate to a WSDL document on your local hard drive or network, or type in the full path. This WSDL document is the basis for the Apex class you are creating. -
Marziya
MemberApril 3, 2020 at 12:44 pm in reply to: What is @isTest annotation? When you will use it?Hii Sumit,
The isTest(SeeAllData=true) annotation is used to open up data access when applied at the class or method level. However, using isTest(SeeAllData=false) on a method doesn't restrict organization data access for that method if the containing class has already been defined with the isTest(SeeAllData=true) annotation. -
Marziya
MemberApril 3, 2020 at 12:42 pm in reply to: What is an apex Unit Testing? Why we need to write Test classes?Hii sumit,
To facilitate the development of robust, error-free code, Apex supports the creation and execution of unit tests. Unit tests are class methods that verify whether a particular piece of code is working properly. Unit test methods take no arguments, commit no data to the database, and send no emails. Such methods are flagged with the @isTest annotation in the method definition. Unit test methods must be defined in test classes, that is, classes annotated with @isTest. -
Marziya
MemberApril 2, 2020 at 2:22 pm in reply to: What is the purpose of the controllers in Salesforce?Hii Sumit,
Standard controllers fetches data and provide to the views such as page, list, dialog or forms. Controlling data for a single record: One of the key functionality of standard controllers is to provide the data, and to facilitate binding a view's controls to the records fields for either display or input. -
Marziya
MemberApril 2, 2020 at 2:21 pm in reply to: What is difference between URL and URI in Salesforce?HII Aditya,
URL is a subset of URI that specifies where a resource exists and the mechanism for retrieving it, while URI is a superset of URL that identifies a resource. The main aim of URL is to get the location or address of a resource whereas the main aim of URI is to find a resource. -
Marziya
MemberApril 2, 2020 at 2:17 pm in reply to: what is the use of RestContext.request.params in salesforce?Hii Mohit,
Use the System.RestContext class to access the RestRequest and RestResponse objects in your Apex REST methods. -
Marziya
MemberFebruary 20, 2020 at 2:22 pm in reply to: What is syntax of auto-scroller in Lightning Component in Salesforce?ui:scrollerWrapper creates a container that enables native scrolling in theSalesforce app. This component enables you to nest more than one scroller inside the container. Use the class attribute to define the height and width of the container. ... This example creates a scrollable area with a height of 300px.
-
Marziya
MemberFebruary 20, 2020 at 2:20 pm in reply to: What is Dynamic Content in Salesforce Marketing Cloud?Dynamic Content. Use Marketing Cloud Content Builder to create dynamic content to deliver a targeted message to an audience. ... Dynamic content iscontent that displays in a content area according to the rules that you define based on the subscriber's attributes or data extension column values.
-
Salesforce Email Studio is a cloud-based, scalable, and powerful email marketingplatform that is a component of the company's popular Marketing Cloud. It is a leading solution that assists companies in making smarter email campaigns by using data from all departments.
-
Marziya
MemberFebruary 20, 2020 at 2:15 pm in reply to: What is IP Warmup in Salesforce Marketing Cloud?As a new Marketing Cloud client, the sending IP addresses reserved for your use are unused with no history of previously sending mail. ... This sending reputation is referred to as the warming or ramping up of your new IP address.
-
Marziya
MemberFebruary 20, 2020 at 2:14 pm in reply to: What is the role of Utility Methods in Salesforce ?Utility Class, also known as Helper class, is a class, which contains just static methods, it is stateless and cannot be instantiated. It contains a bunch of related methods, so they can be reused across the application. As an example consider Apache StringUtils, CollectionUtils or java. lang.
-
Marziya
MemberFebruary 20, 2020 at 2:11 pm in reply to: What is field history tracking in Salesforce?Field history tracking in salesforce. Field History tracking is a method where we can track the changes that happens to a field. Thi field history tracking can be done for custom objects and standard objects.
-
Marziya
MemberFebruary 20, 2020 at 2:09 pm in reply to: Can we convert Master Detail to Lookup in Salesforce?You can convert a master-detail relationship to a lookup relationship as long as no roll-up summary fields exist on the master object. You can convert a lookuprelationship to a master-detail relationship, but only if the lookup field in all records contains a value.
-
TestVisible Annotation. Use the TestVisible annotation to allow test methods to access private or protected members of another class outside the test class. These members include methods, member variables, and inner classes. ... It contains the test method that accesses the annotated member variable and method.
-
Marziya
MemberFebruary 19, 2020 at 1:39 pm in reply to: What is the use of @testsetup method in Salesforce?TestSetup Annotation. Methods defined with the @testSetup annotation are used for creating common test records that are available for all test methods in the class.
- This reply was modified 4 years, 8 months ago by Forcetalks.
-
Marziya
MemberFebruary 19, 2020 at 1:37 pm in reply to: Why would a developer use test startTest and test stopTest in Salesforce?Hii Ratnesh,
Test. 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 testasynchronous methods. These two statements cannot be called more than once within a testMethod.
-
Marziya
MemberFebruary 18, 2020 at 2:45 pm in reply to: What will happen if the Account is deleted in Salesforce?Hii Aman,
The Delete option is available on the account's detail page and on the account list view in Lightning Experience and Salesforce Classic. ... Ask your Salesforce admin for help. Deleted accounts are moved to the Recycle Bin, along with these associated items.
-
A lightning:breadcrumb component displays the path of a page relative to a parent page. Breadcrumbs are nested in a lightning:breadcrumbs component. Each breadcrumb is actionable and separated by a greater-than sign. The order the breadcrumbs appear depends on the order they are listed in markup.
-
Deepclone is done by keeping tru in the parameters: Syntax - clone(preserveId, isDeepClone, preserveReadonlyTimestamps, preserveAutonumber))view source .
-
Hii Ayush,
Record Types. Record types allow you to associate different business processes and subset of pick list value to different users based on their user profile. They are used to drive which page layouts users see when viewing records, based on their user profile.
-
Marziya
MemberFebruary 14, 2020 at 1:53 pm in reply to: What are the differences between 15 and 18 digit record ids in Salesforce ?Hii Ayush,
The 15 digit record ID is case sensitive. While the 18 digit ID is case insensitive. This means the capital-letter-A and small-letter-a hold different values in the case of a 15 digit ID.
-
Marziya
MemberFebruary 14, 2020 at 1:47 pm in reply to: Why sObjects can't be passed as arguments to Future method in Salesforce?Hii Shweta,
The reason why sObjects can’t be passed as arguments to future methods is because the sObject might change between the time you call the method and the time it executes. In this case, the future method will get the old sObject values and might overwrite them. To work with sObjects that already exist in the database, pass the sObject ID instead (or collection of IDs) and use the ID to perform a query for the most up-to-date record. The following example shows how to do so with a list of IDs
-
Marziya
MemberFebruary 13, 2020 at 2:30 pm in reply to: I want to delete a user in Salesforce. Can i do that.?No,you can simply deactivate it.