Shweta
IndividualForum Replies Created
-
It occurs when we are trying to access the value by index and the query is unable to fetch any records. We can add a not null check to each of 'if' statements or alternatively use the native isEmpty method.
-
Steps for creation of a Custom Links:
1. From the management settings for the appropriate object, go to Buttons, Links, and Actions or to Buttons and Links.
2. Click Default Custom Links.
3. Next to a sample link you want to add, click Add Now!.
4. Change the default data for the link, as necessary.
5. Choose Save.
6. Edit the page layout for the appropriate tab to display the new link. -
$A is how you gain access to the underlying Aura framework, such as enqueuing actions, getting application events, managing the Aura rendering life cycle, and various utility methods.
-
Shweta
MemberJune 29, 2020 at 3:56 pm in reply to: What are three permissions in User Profile in Salesforce?These are the permissions of user profile: Run reports, Object permissions, and Mass mail.
-
Shweta
MemberJune 25, 2020 at 3:14 pm in reply to: Maximum number of records displayed on the VF page in Salesforce?You can enable readOnly attribute value true for the page it will increase Number of query rows from 50000 to 1 million rows .
-
Shweta
MemberJune 25, 2020 at 3:12 pm in reply to: What is the difference between Static Resources and Documents in salesforce?static resources is used for files that will need to be transferred between orgs. Often, images are put here that are used within code, Javascript, CSS, or documents that code might reference.
-
Make the field invisible to all profiles, of course the "System Administrator" would still have access to this field. Do not add the field to any page layout.
-
Shweta
MemberJune 24, 2020 at 3:36 pm in reply to: How do you implement carousel in lightning component?lightning:carousel: This component displays a series of images in a single container. Only one image is displayed at a time, and we can select other images by clicking the carousel indicators.
-
Shweta
MemberJune 24, 2020 at 3:10 pm in reply to: What is difference between component event & application event in Salesforce?Component events: It is used to do communicate between child and parent. They use bubbling and capture the same as used in DOM events. A change in a child component can be communicated to the parent component via the component event.
Application events: It is used to communicate any change in the component to a broader audience. Any component who has registered for this event will get notified. -
Shweta
MemberJune 23, 2020 at 3:31 pm in reply to: Why is it important to select the right root object when you use the datasetThe root object determines what related objects you can add to the dataset.
-
Quality assurance is one of the most important aspects of a business. Workflow alerts will make it easier to come up with tasks. There are also some email alerts that are available that will allow you to specify what you need from the people who will do the tasks. Lookup filters will allow the administration to control the values and details that are needed.
Validation rules will make sure that the data that will be placed will also correspond to the standards that have been set by the administration. -
AttachmentParentID specifies the record in Salesforce to which the output file is attached when requested. In the absence of this parameter, the default attachment parent record is the Master Object.
-
Manual Sharing: It is used to grant one-off access. It can be granted by the record owner, anyone above the owner in role hierarchy and System Administrator. It is also used to handle exception cases where access to a particular record needs to be given to a specific user.
-
SOAP API is used to create, retrieve, update, or delete records. You can also use SOAP API to perform searches and much more. We can use this in any language that supports web services.
-
Shweta
MemberJune 19, 2020 at 3:51 pm in reply to: How can a user access the parent record from child record in Salesforce?With the help of the Related List, the user can access the parent record from the child record.
-
Shweta
MemberJune 19, 2020 at 3:48 pm in reply to: How to override standard new button in Salesforce Lightning?With the help of visualforce pages, we can override standard buttons. First, we can create visualforce page and overriding the standard new button with created visualforce page.
After the creation of vf page, the next step how to override the standard opportunity new button.
Go to setup -> opportunity -> Buttons,links, and actions -> Click on Edit button.
select override with the visualforce option and select "name of the Vf page" you created above and save your changes. -
Shweta
MemberJune 19, 2020 at 3:42 pm in reply to: What is Value provider and What is action provider in Salesforce Lightning?Value providers: It is a way to access data. It encapsulates related values together, similar to how an object encapsulates properties and methods. It enables us to access the value of a component attribute in component markup and javascript controller.
Action provider: It enables us to handle actions, events, handlers for the component. -
Yes, it is possible that two or more users have the same profile in the Salesforce. But a single user cannot have more than one profile.
-
Shweta
MemberJune 18, 2020 at 2:34 pm in reply to: How to pass id from one method to another method as a parameter in Salesforce?If you need to access any field in multiple methods in a class, its better to define it in the class, outside any method. e.g.:
public class SampleClass{
String userId;
public SampleClass(){
// initialize it once in the constructor, use it in any method
userId= userinfo.getUserId();
}
} -
Shweta
MemberJune 18, 2020 at 2:23 pm in reply to: What are Bound expression and Unbound expression in lightning salesforce?Bound Expression: It is represented as {!v.str}. Whenever the value of the string is changed, this expression will reflect the change and also affect the components where it is used, we can say the value change dynamically through this expression.
Unbound Expression: It is represented as {#v.str}. Whenever the value of the string is changed, this expression will not reflect the change, we can say the value remains static through this expression. -
Shweta
MemberJune 17, 2020 at 1:38 pm in reply to: How much space is taken by each Person Account record in Salesforce?Person Accounts consume a record in both the Account and Contact objects. In Person Account, Account takes 2kb and Contact takes 2kb, so each Person Account record will require 4KB of storage space.
-
Shweta
MemberJune 17, 2020 at 1:29 pm in reply to: Can we create a field on Person Account directly in Salesforce?No.
We need to create a field on contact which will appear for Person Account as well. Fields created on Contact appear on Account with extension __pc. Person Accounts is also considered a Contact in the salesforce back-end, therefore, person accounts have an Account Id and a Contact Id. -
Tabular Report: It is the simple list of records with the selected column and it is similar to a spreadsheet.
-
Time zone settings in salesforce:
1.Go to Your name -> My Settings -> Personal -> Language & Time Zone.
2. Edit your time zone settings and select your local time zone.
3. Click Save.
4. Go to Administer -> Company profile -> Company information -> Select Edit button.
5. In the default time zone select your default time zone.
6. Save. -
Locale Setting: It allows us to define the default language and timezone used in the org. The default locale defined in the company setting applies to the whole salesforce org. it can be defined on the user level and the user locale overrides the default locale.