Forum Replies Created

Page 2 of 7
  • Prachi

    Member
    November 24, 2019 at 9:36 am in reply to: How to deactivate lightning app builder in Salesforce?

    Hi,

    Open the page in Lightning App Builder and click Activation to deactivate it. Deactivating the page does not work and repeats the same steps. Until this issue is addressed, customers can rename the pages so as to mark them as un-usable.

    Thanks.

  • Hi,

    getQueryRows()-
    Returns the number of records that have been returned by issuing SOQL queries.
    getLimitQueryRows()-
    Returns the total number of records that can be returned by issuing SOQL queries.

    Thanks.

  • Prachi

    Member
    November 21, 2019 at 10:41 am in reply to: What is getLimitQueryRows() function in Salesforce?

    Hi,

    getLimitQueryRows() function returns the total number of records that can be returned by issuing SOQL queries.

    Thanks.

  • Prachi

    Member
    November 21, 2019 at 10:38 am in reply to: What is getQueryRows() function in Salesforce?

    Hi,

    getQueryRows() function returns the number of records that have been returned by issuing SOQL queries.

    Thanks.

  • Prachi

    Member
    November 21, 2019 at 10:37 am in reply to: What is the use of Limit class in Salesforce?

    Hi,

    The Limits methods in Limit class return the specific limit for the particular governor, such as the number of calls of a method or the amount of heap size remaining.

    You can take help of below link for further information-

    https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_limits.htm

    Thanks.

  • Prachi

    Member
    November 20, 2019 at 6:51 am in reply to: How to call a child component"s method from its parent in Salesforce?

    Hi,

    You can take help from below link-

    https://github.com/kriasoft/react-starter-kit/issues/909

    Thanks.

  • Prachi

    Member
    November 20, 2019 at 6:44 am in reply to: How to remove an element placed at an index from an array in Salesforce?

    Hi,

    Find the index of the array element you want to remove, and then remove that index with splice.

    The splice() method changes the contents of an array by removing existing elements and/or adding new elements.

    var array = [2, 5, 9];
    console.log(array)
    var index = array.indexOf(5);
    if (index > -1) {
    array.splice(index, 1);
    }
    // array = [2, 9]
    console.log(array);

    Thanks.

  • Prachi

    Member
    November 20, 2019 at 5:01 am in reply to: How to use Salesforce dynamic custom label in lightning components ?

    Hi,

    Use this syntax to access custom labels in Lightning components:

    1.$Label.c.labelName for the default namespace
    2.$Label.namespace.labelName if your org has a namespace, or to access a label in a managed package
    Here are some examples.

    1.Label in a markup expression using the default namespace
    {!$Label.c.labelName}
    2.Label in JavaScript code if your org has a namespace
    $A.get(“$Label.namespace.labelName”)

    Thanks.

  • Prachi

    Member
    November 20, 2019 at 2:15 am in reply to: What are Custom Labels in salesforce?

    Hi,

    Custom labels enable developers to create multilingual applications by automatically presenting information (for example, help text or error messages) in a user’s native language. Custom labels are custom text values that can be accessed from Apex classes, Visualforce pages, or Lightning components. The values can be translated into any language Salesforce supports.

    We can create up to 5,000 custom labels in an organization, and they can be up to 1,000 characters in length.

    Setup | App Setup | Custom Labels | Click ‘New Custom Label’ Button

    Thanks.

  • Hi,

    In your testmethod, insert records in such a way that it will cause the exception to occur. This will cover the exception lines as well.

    try this in your test class.

    try
    {
    //perform actions like insert,update,delete...etc that causes your exception to occur
    system.assert(false);
    }
    Catch(exception e)
    {

    }

    Thanks.

  • Prachi

    Member
    November 19, 2019 at 11:20 am in reply to: How and who can manually share records in Salesforce?

    Hi,

    The users who can manually share records are-

    1. Record Owner.
    2. Administrator.
    3. User above the role of the Record Owner's role.

    From Setup, enter Sharing Settings in the Quick Find box, then select SharingSettings. Click Edit in the Organization-Wide Defaults area. Select the Manual UserRecord Sharing checkbox to display the Sharing button on user detail pages, which enables users to share their records with others.

    Thanks.

  • Hi Nikita,

    A standard field record name can have data type of either auto number or text field with a limit of 80 chars.

    For generating auto numbers, the format needs to be specified while defining the field and after that for every record that is added, the number will get auto generated. For example:-
    Sr No-{1}
    Sr No-{2}
    Sr No-{3}

    Thanks.

  • Prachi

    Member
    November 19, 2019 at 4:03 am in reply to: What is WhoId and WhatId in Salesforce?

    Hi Nikita,

    WhoID in Salesforce refers to people things. So that would be typically a Lead ID or a Contact ID. The WhoId represents a human such as a lead or a contact. WhoIds are polymorphic. Polymorphic means a WhoId is equivalent to a contact’s ID or a lead’s ID. The label is Name ID.
    WhatID in Salesforce refers to object type things. That would typically be an Account ID or an Opportunity ID. The WhatId represents nonhuman objects such as accounts, opportunities, campaigns, cases, or custom objects. WhatIds are polymorphic. Polymorphic means a WhatId is equivalent to the ID of a related object. The label is Related To ID.

    Thanks.

  • Hi,

    If a master record is deleted than detail records also gets deleted in master detail relationship.

    Thanks.

  • Hi,

    If the parent record in a lookup relationship is deleted, the field history tracking for the child record does not record the deletion. For example, if a parent account is deleted, the Account History related list for the child account does not show the deletion.

    But In case of Master-Detail Relationship, once you detail Master  i.e parent record all corresponding Child Records get deleted.

    Thanks.

  • Hi,

    Yes ,it is possible to edit VisualForce page in production environment in salesforce?

    It is not possible to edit apex classes and triggers directly in production environment. It needs to be done first in Developer edition or testing org or in Sandbox org. However, Visualforce pages can be created and edited in both sandbox and in production.

    Thanks.

  • Hi,

    To use a custom component in a Visualforce page you must prefix the component's name with the namespace in which the component was defined. For example, if a component named myComponent is defined in a namespace called myNS , the component can be referenced in a Visualforce page as <myNS:myComponent> .

    Please follow the below link for more details-

    https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_component.htm

    Thanks.

  • Hi,

    While viewing a class, you can do any of the following. Click Edit to make changes to the class. You can add, edit, or delete Apex using the Salesforce user interface only in a Developer Edition organization,a Salesforce Enterprise Edition trial organization, or sandbox organization not in production. You can make changes in classes in sandbox and deploy in production by following steps-

    1) In production insetup --> deployment setting  add your sanbox for inbound change set
    2) create outbond change set in sandbox
    3) add Apex Class/trigger Components you want to change set
    4) upload to production and you will get an email after upload
    5)Goto prouction setup--> inbound change set
    6) click on your change set name and click on deploy
    7)After validating classes will be deployed

    Thanks.

  • Prachi

    Member
    November 18, 2019 at 2:20 am in reply to: What is the need of aura methods in Salesforce?

    Hi,

    Use <aura:method> to define a method as part of a component's API. This enables you to directly call a method in a component’s client-side controller instead of firing and handling a component event. Using <aura:method> simplifies the code needed for a parent component to call a method on a child component that it contains.

    Thanks.

  • Prachi

    Member
    November 18, 2019 at 2:10 am in reply to: What is the need of Quick Action in Salesforce?

    Hi,

    Quick actions enable users to do more in Salesforce and in the Salesforce mobile app. With custom quick actions, you can make your users’ navigation and workflow as smooth as possible by giving them convenient access to information that’s most important. For example, you can let users create or update records and log calls directly in their Chatter feed or from their mobile device.

    Quick actions can also invoke Lightning components, flows, Visualforce pages, or canvas apps with functionality that you define.

    Thanks.

  • Prachi

    Member
    November 16, 2019 at 2:19 pm in reply to: How to use API (entry resource) in Salesforce Journey Builder?
  • Prachi

    Member
    November 15, 2019 at 4:31 pm in reply to: How to schedule a batch class without scheduler class in salesforce?

    Hi Deepak,

    You can schedule a batch class from UI. Enter Apex classes in quick find box than click on Schedule Apex.

    Thanks.

    • This reply was modified 5 years ago by  Prachi.
  • Hi Laveena,

    Contact and Account.

    Thanks.

  • Prachi

    Member
    November 14, 2019 at 3:03 pm in reply to: Which tool is used for soap integration in salesforce?

    Hi,

    SoapUI

    Use SoapUI to create a SOAP project from the WSDL file.

    Thanks.

  • Prachi

    Member
    November 14, 2019 at 2:57 pm in reply to: Is there any limit for sending mail from a developer org in salesforce?

    Hi,

    Yes there is a limit of 10/day to use single email method to send emails. But you can use it to send more then 10 email/day for that you need to attachemed more then person email id and then use send email method of single email class to send email in bulk.

     

    The limit is to use sendEmail method 10 times in a day not to send only 10 email/day. To send more then 10 email you need to create a logic which send email to more then one person by using single call of sendEmail  method by adding email it to setToAddresses[] method, setCcAddresses[] ,etc .

    Thanks.

Page 2 of 7