Forum Replies Created

Page 14 of 24
  • Shweta

    Member
    June 30, 2020 at 1:52 pm in reply to: how to fix list index out of bounds in Apex ?

    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.

  • Shweta

    Member
    June 29, 2020 at 4:03 pm in reply to: How can we create a custom link in Salesforce?

    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.

  • Shweta

    Member
    June 29, 2020 at 3:58 pm in reply to: What is $a in lightning in Salesforce ?

    $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

    Member
    June 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

    Member
    June 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 .

  • 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.

  • Shweta

    Member
    June 25, 2020 at 3:10 pm in reply to: How To Create Unique Contact in Salesforce?

    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

    Member
    June 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.

  • 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.

  • The root object determines what related objects you can add to the dataset.

  • Shweta

    Member
    June 23, 2020 at 3:23 pm in reply to: How do we ensure data quality in Salesforce?

    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.

  • Shweta

    Member
    June 22, 2020 at 3:42 pm in reply to: What is ParentId in Attachment Salesforce?

    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.

  • Shweta

    Member
    June 22, 2020 at 3:38 pm in reply to: What is Manual sharing?

    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.

  • Shweta

    Member
    June 22, 2020 at 3:36 pm in reply to: When to Use the SOAP API in salesforce ?

    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.

  • With the help of the Related List, the user can access the parent record from the child record.

  • Shweta

    Member
    June 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.

  • 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.

  • Shweta

    Member
    June 18, 2020 at 2:36 pm in reply to: Can two Users have same profile in Salesforce?

    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.

  • 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();
    }
    }

  • 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.

  • 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

    Member
    June 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.

  • Shweta

    Member
    June 17, 2020 at 1:26 pm in reply to: What are Tabular Report in Salesforce?

    Tabular Report: It is the simple list of records with the selected column and it is similar to a spreadsheet.

  • Shweta

    Member
    June 16, 2020 at 7:01 am in reply to: How to create personal time zone in Salesforce?

    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.

  • Shweta

    Member
    June 16, 2020 at 6:54 am in reply to: What Are Locale Settings in Salesforce?

    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.

Page 14 of 24