Marziya Sarwar
IndividualForum Replies Created
-
Marziya
MemberJune 4, 2020 at 1:46 pm in reply to: What is meant by pagination in Visualforce page in Salesforce?Pagination is the process of displaying large number of records and displaying the records on multiple pages within in Salesforce. ... By default, a list controller returns 20 records on the page.
-
Marziya
MemberJune 4, 2020 at 1:44 pm in reply to: What is Blob and when to use it in Apex salesforce?Blob. The Blob is a collection of Binary data which is stored as object. This will be used when we want to store the attachment in salesforce into a variable.
-
Marziya
MemberJune 4, 2020 at 1:41 pm in reply to: What is the advantage of using Component event over application events?We can use component event instead of an application events. Component events can only be handled by components above them in the containment hierarchy so their usage is more localized to the components that need to know about them.
-
To create your custom exception class, extend the built-in Exception class and make sure your class name ends with the word Exception , such as “MyException” or “PurchaseException”. All exception classes extend the system-defined base class Exception , and therefore, inherits all common Exception methods
-
The expected method for updating an existing record is PUT. So your choice should be PUT. So in your case you do not need any POST operation because PUT for upsert operation also covers that.
-
Marziya
MemberJune 3, 2020 at 12:54 pm in reply to: What are the two options for when Apex Triggers can run?Apex Triggers can either run before a record has been saved of after.
-
Marziya
MemberJune 2, 2020 at 12:54 pm in reply to: How to cover map in batch test class in Salesforce?Private Map - Map is declared as Private or inside a method which is not accessible in Test Class. We can not pass values by test class. In order to cover private map, first we need to find the line where we put values into map in our class like mapName. put().
-
Marziya
MemberJune 2, 2020 at 12:51 pm in reply to: Why objects cannot be passed as an argument in future methods in Salesforce?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.
-
Marziya
MemberJune 2, 2020 at 12:49 pm in reply to: What is standard list controller in Salesforce?Standard List Controllers. Standard list controllers allow you to create Visualforce pages that can display or act on a set of records. Examples of existing Salesforce pages that work with a set of records include list pages, related lists, and mass action pages.
-
Marziya
MemberMay 29, 2020 at 2:38 pm in reply to: how to hide approve/Reject links in the home page in salesforce?got to Setup > Home > Home Page Layouts. add “HideApprovalLink-box” to your layout. Click on home Tab you can see the Approval/Reject links are hidden in the page.
-
Marziya
MemberMay 29, 2020 at 2:37 pm in reply to: How to display alert on Salesforce standard/custom object page layouts?1..Click Edit next to the page layout and add visualforce. Click on visualforce settings change width & height to “0”. ...
2..Save page layout. ...
3..You can change popup message on visualforce page based on your requirement. -
Marziya
MemberMay 29, 2020 at 2:33 pm in reply to: Difference between lightning component and lightning web component.The Aura Components and the Lightning Web Components have similar but still different structures. The Aura components have multiple Javascript files while the Lightning Web Components have the only Javascript file, which is also an ES6 Javascript module, as is pointed out in the LWC Building Blocks section.
-
Marziya
MemberMay 28, 2020 at 1:14 pm in reply to: How many types of API’s avaliable in salesforce?Different types of Salesforce APIs. Salesforce APIs: Below are the different types of Salesforce APIs available. REST API: This is useful to access objects in your Salesforce organization using REST. SOAP API: This API is useful to integrate your Salesforce organization data with other application using SOAP.
-
Marziya
MemberMay 28, 2020 at 1:12 pm in reply to: what is use of Database.convertLead() method in salesforce ?The convertLead takes an instance of the Database. LeadConvert class as a parameter.
-
Marziya
MemberMay 28, 2020 at 1:10 pm in reply to: What are the different types of dashboards in Salesforce?Four types of Dashboards:---
1.Table.
2.Chart.
3.Gauge.
4.Metric. -
Marziya
MemberMay 27, 2020 at 12:30 pm in reply to: What are the alternative tools for sending email alert in Salesforce?1..Click Add Workflow Action and choose New Email Alert.
2..Enter a description and unique name for the email alert. ...
3..Choose an email template.
4..Select who receives email alerts from the workflow rule. ...
5..Click Save. -
Triger. new in Salesforce is a command which returns the list of records that have been added recently to the sObjects. ... Note that this sObject list is only available in insert and update triggers, and the records can only be modified in before triggers. But just for your information, Trigger.
-
Marziya
MemberMay 27, 2020 at 12:26 pm in reply to: Explain the advantages of Salesforce using the SaaS platform.SaaS facilitates remote application hosting and delivery, making this the key advantage of SaaS: painless application access. Customers who use software as a service have no hardware or software to install, maintain, or upgrade. Access to these applications is easy because you just need an internet connection.
-
SQL Trigger | Student Database. Trigger: A trigger is a stored procedure in database which automatically invokes whenever a special event in the database occurs. For example, a trigger can be invoked when a row is inserted into a specified table or when certain table columns are being updated.
-
To execute a trigger before or after insert, update, delete, and undelete operations, specify multiple trigger events in a comma-separated list. The events you can specify are: before insert. before update.
-
To avoid recursive triggers you can create a class with a static Boolean variable with default value true. In the trigger, before executing your code keep a check that the variable is true or not. Once you check make the variable false.
-
ListView. ListView allows you to see a filtered list of records, such as contacts, accounts, or custom objects. This type extends the Metadata metadata type and inherits its fullName field. See “Create a Custom List View in Salesforce Classic” in the Salesforce online help.
-
Marziya
MemberMay 22, 2020 at 1:43 pm in reply to: What is the use of getQuery() method of QueryLocator Class in Salesforce?QueryLocator object when you are using a simple query (SELECT) to generate the scope of objects used in the batch job. If you use a querylocator object, the governor limit for the total number of records retrieved by SOQL queries is bypassed but we can retrieve up to 10,000 records.
-
Marziya
MemberMay 21, 2020 at 1:53 pm in reply to: How to create a Federation Id in SSO in Salesforce?From Setup, enter Users in the Quick Find box, then select Users.
1.Click Edit next to Sia's name.
2.Under Single Sign On Information, enter the Federation ID: [email protected] . Tip: A Federation ID must be unique for each user in an org. That's why the username is handy. ...
3.Click Save. -
Single sign-on (SSO) lets users access authorized network resources with one login. You validate usernames and passwords against your corporate user database or other client app rather than Salesforce managing separate passwords for each resource.