Kirandeep
IndividualForum Replies Created
-
Kirandeep
MemberJune 26, 2020 at 4:13 PM in reply to: What is the difference between partner portal and customer portal in Salesforce?Custom Portal:-A Salesforce Customer Portal provides an online support channel for your customers—allowing them to resolve their inquiries without contacting a customer service representative. With a Customer Portal, you can customize and deliver a visually stunning user interface to your customers, and use the following Salesforce features to help you and your customers succeed.
Partner Portal:-A partner portal allows partner users to log in to Salesforce through a separate website than your non-partner users. Partner users can only see the data that you have made available to them. Furthermore, partner users can only manipulate data if you give them the appropriate user permissions. -
Kirandeep
MemberJune 26, 2020 at 4:08 PM in reply to: How many records can be displayed on a page for a report?We can display up to 2000 records on a page.
-
Yes we can use list of map in Salesforce
for example
List<Map<Id,Account> listofMap = new List<Map<Id,Account>>(); -
Kirandeep
MemberJune 25, 2020 at 2:39 PM in reply to: What are the best approaches to write a test class in salesforce?Best Practices to write test Class :-
-Do not put (seeAllData = true) in test class otherwise, use it for exceptional cases.
-Use @isTest at the Top for all the test classes.
-Test in bulk
-System.runAs() method to test the functionality in user Context
-Use Test.startTest() and Test.stopTest() statement to increase Governor Limits -
Apex triggers enable you to perform custom actions before or after events to records in Salesforce, such as insertions, updates, or deletions. Just like database systems support triggers, Apex provides trigger support for managing records
-
Kirandeep
MemberJune 24, 2020 at 2:37 PM in reply to: What are the types of events in Lightning Component in Salesforce?Different Types of Events :-
System Events.
Application Events.
Component Events. -
API call is the process of adding an endpoint to a URL and sending a request to a server. This is known as making an API call.
-
Lightning Flow is a new Lightning Platform service that empowers any business to create and extend the power of process automation to any customer or employee experience. ... Now anyone can declaratively build and embed component-based processes, Lightning fast
-
Kirandeep
MemberJune 23, 2020 at 2:26 PM in reply to: What is the use of “floating report header” in Salesforce?It is used to see the header of the report while they scroll if there are large set of data to be shown in the report.
-
Kirandeep
MemberJune 23, 2020 at 2:23 PM in reply to: How to enable “floating report header” in Salesforce?To enable floating report header in salesforce go to
Setup=>Customize=>Reports and Dashboards=>User Interface settings=>Click on enable floating report header. -
Kirandeep
MemberJune 23, 2020 at 2:21 PM in reply to: Diff b/w “printable View” and “Export Details” button on report in Salesforce?Printable View:
Formatting, Grouping and Subtotals are persisted (Retain the grouping as you see it on your report).
Export Details:
-Formatting, Grouping and Subtotals are lost.
-It exports the details of the report; meaning every line that makes up your report will be rendered as a new line in your .xls or .csv -
You can use SOAP API to create, retrieve, update, or delete records. You can also use SOAP API to perform searches and much more. Use SOAP API in any language that supports web services. For example, you can use SOAP API to integrate Salesforce with your org's ERP and finance systems.
-
Kirandeep
MemberJune 22, 2020 at 3:32 PM in reply to: How do you find the length of a string in Salesforce?we can find the length with the use of predefind function length()
String var = 'hello'; // store the string the variable
Integer size = var.length(); // var.length() return the string length -
Kirandeep
MemberJune 22, 2020 at 3:25 PM in reply to: What is meant by compact layout and where it is used in Salesforce?Compact layouts are used to display the key fields of a record whenever a summary representation of the record is needed. In this module, you create a compact layout for the expense object.
-
The Apex Scheduler lets you delay execution so that you can run Apex classes at a specified time. This is ideal for daily or weekly maintenance tasks using Batch Apex.
-
Batch Apex is used to run large jobs (think thousands or millions of records!) that would exceed normal processing limits. Using Batch Apex, you can process records asynchronously in batches (hence the name, “Batch Apex”) to stay within platform limits. ... Let's say you want to process 1 million records using Batch Apex.
-
Kirandeep
MemberJune 5, 2020 at 1:59 PM in reply to: Where can a system administrator assign a page layout in Salesforce ?Answer is Profile and Record Type
-
Kirandeep
MemberJune 4, 2020 at 2:49 PM in reply to: What is diff b/w system.assertEquals() and system.assertNotEquals() in Apex?AssertEquals and System. AssertNotEquals both accepts three parameters; the first two (mandatory) are the variables that will be tested for in/equality and the third (optional) is the message to display if the assert results in false.
-
Kirandeep
MemberJune 4, 2020 at 2:29 PM in reply to: Can two users have the same profile in Salesforce?Yes, this is possible that two or more users have the same profile in the Salesforce. But a single user cannot have more than one profile.
-
Kirandeep
MemberJune 4, 2020 at 1:04 PM in reply to: What is Blob and when to use it in Apex salesforce?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. This data type converts the attachments into a single object.
-
Kirandeep
MemberJune 2, 2020 at 3:44 AM in reply to: What is the use of force:appHostable in Salesforce lightning components?Add the force:appHostable interface to a Lightning component to allow it to be used as a custom tab in Lightning Experience or the Salesforce mobile app. Components that implement this interface can be used to create tabs in both Lightning Experience and the Salesforce mobile app. This interface is a marker interface.
-
Kirandeep
MemberJune 1, 2020 at 1:55 PM in reply to: What is difference between SOAP and WSDL in Salesforce?SOAP is a messaging protocol specification for exchanging structured information in the implementation of web services in computer networks.
Whereas WSDL is is an XML-based interface description language that is used for describing the functionality offered by a web service. -
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.
-
Kirandeep
MemberJune 1, 2020 at 1:49 PM in reply to: Can you name three types of object relationships available in Salesforce?-Master-detail relationship.
- Lookup relationship.
-Many-to-many relationship (junction object) -
Kirandeep
MemberMay 29, 2020 at 3:06 PM in reply to: What is lightning:formattedText in Salesforce lightning component?A lightning:formattedText component displays a read-only representation of text, wrapping URLs and email addresses in anchor tags (also known as "linkify"). ... To display URLs and email addresses in a block of text in anchor tags, set linkify="true". If not set, URLs and email addresses display as plain text.