Forum Replies Created

Page 4 of 6
  • Prachi

    Member
    August 20, 2018 at 12:51 pm in reply to: What is the use of the aura:method tag in Salesforce Lightning?

    Hi Anjali,

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

  • Hello chanchal,

    A limit of no more than 2k per minute for SOAP calls is recommended.

    thanks.

  • Hello Chanchal,

    Yes, it is possible. You can drill down within a report to visualize a subset of its data. For example, you can click on the critical section of a report sorted by priority to view the categories of those critical incidents.

    For reports with a defined drilldown, click on a portion of the chart to display a subset of data. The subset may use a different chart type. In the example, the user clicks on the critical incidents in a bar chart to reveal the categories of critical incidents in a semi-donut chart.

    thanks

  • Prachi

    Member
    August 16, 2018 at 1:26 pm in reply to: What is a Cron trigger in Salesforce Apex?

    Hi Anurag,

    Cron trigger Contains schedule information for a scheduled job. CronTrigger is similar to a cron job on UNIX systems. This object is available in API version 17.0 and later.

    Example:-

    List<CronTrigger> jobs = [Select Id, CronJobDetail.Name, State, NextFireTime From CronTrigger limit 10];
    for(CronTrigger job : jobs)
    {
    System.debug(job);
    }

    thanks.

  • Prachi

    Member
    August 16, 2018 at 1:24 pm in reply to: Does trigger.oldmap change during recursion in Salesforce?

    Hi Madhulika,

    Trigger.old contains a version of the objects before the specific update that fired the trigger. However, there is an exception. When a record is updated and subsequently triggers a workflow rule field update, Trigger.old in the last update trigger won’t contain the version of the object immediately prior to the workflow update, but the object before the initial update was made. For example, suppose an existing record has a number field with an initial value of 1. A user updates this field to 10, and a workflow rule field update fires and increments it to 11. In the update trigger that fires after the workflow field update, the field value of the object obtained from Trigger.old is the original value of 1, rather than 10, as would typically be the case.
    Based on that, I think Trigger.old will maintain the original value even throughout multiple loops through the order of execution due to recursion

    thanks.

  • hi madhulika,
    To find out if a particular user has Edit access to a record, use the UserRecordAccess object. This object is available in API version 24.0 and later. You can use SOQL to query this object to find out if the user has edit access to the record in question.

    SELECT RecordId, HasEditAccess FROM UserRecordAccess WHERE UserId = [single ID] AND RecordId = [single ID]
    If you want to check a batch of records you can use

    SELECT RecordId FROM UserRecordAccess WHERE UserId=:UserInfo.getUserId() AND HasReadAccess = true AND RecordId IN :allRecordIds LIMIT 200
    But make sure that allRecordIds is a LIST of IDs. It doesn't work if allRecordIds is a SET of IDs. I guess that's a bug.

    Also, only a maximum amount of 200 recordIds can be checked in one query.

    thanks.

  • hello anurag,

    Governer and execution limits is one term. So, there is no difference in between them.

    Governor execution limits ensure the efficient use of resources on the Force.com multitenant platform. It is the limit specified by the Salesforce.com on code execution for efficient processing.

    Thanks.

  • Hello shradha,

    you can have any number of connections . For example, if you have a production org and two sandboxes, a deployment connection is created between production and each sandbox. Also, a deployment connection is created between the two sandboxes.

    Thanks.

  • Prachi

    Member
    August 14, 2018 at 8:30 am in reply to: How to add javascript remoting to a Salesforce visualforce page?

    Hello avnish,

    To use javascript remoting in a vf page , add the request as a java script invocation with the following from.

    [namespace.] controller.method (
    [parameters….,]
    Call back Function,
    [configuration]
    );
    Name space is the namespace of the controller class
    Controllers is the name of your apex controller.
    Method is the name of your apex controller method you are calling.
    Parameters is the comma-separated list of parameters that your method takes.
    Callback function is the name of the javascript function that will handle the response from the controller.
    Configuration configures the handling of remote call and response.

    Thanks.

  • Prachi

    Member
    August 14, 2018 at 8:29 am in reply to: What are the uses of profile's “Transfer Record” in Salesforce?

    Hello avnish,

    If user have only Read access on particular record but he wants to change the owner name of that record, then in profile level Transfer Record enables he can able to change the owner.

    Thanks.

  • Hello Avnish,

    No, directly we cannot create master details relationship if custom object contains existing records.
    Following are the steps to create to create master-detail relationship when records are available in custom object.
    First create field with lookup relationship.
    And then associate look field with parent record for every recordNext change the data type of the field from look up to Master detail.

    THanks

  • Prachi

    Member
    August 14, 2018 at 8:24 am in reply to: What is a “Self Relationship” in Salesforce?

    Hello Avnish,

    Self Relationship is a lookup relationship to the same object. Suppose let’s take an object “Merchandise”. Here we can create relationship in between the Account to Account (same object) object. That is called “Self Relationship”.

    Thanks.

  • Prachi

    Member
    August 10, 2018 at 5:51 am in reply to: Can we edit an apex trigger/apex class in production environment?

    Hello Anurag,

    No, its not possible to edit apex classes and triggers directly on production:
    reference:
    http://help.salesforce.com/apex/HTViewSolution?id=000005267&language=en_US

    Thanks.

  • Hello Anjali,

    The Salesforce Lightning Design System grid (SLDS grid), based on Flexbox, provides a flexible, mobile-first, device-agnostic scaffolding system. It has features to control alignment, order, flow, and gutters. It includes helper classes that you can use to alter the look and behavior of your grid, such as alignment, order, flow, and padding helpers.

    Lightning Layout provides modules and configuration for great layout authoring experiences. It uses the Panels In-Place Editor (IPE) to enable a drag-and-drop experience when laying out pages. Layout utility classes will help you to achieve layouts found within the Salesforce Platform.

    Thanks

  • Prachi

    Member
    August 9, 2018 at 1:24 pm in reply to: Describe key features of advanced approvals in Salesforce CPQ.

    Hello Anjali,

    Key Features:-

    Fulfill Orders Faster 
    Seamlessly generate orders from quotes to quickly get products and services delivered to your customers.

    Flexible for Evolving Customer Needs
    Split quotes into multiple orders, manage future dated orders and modify with point-and-click.

    360-Degree View of the Customer
    Quickly generate contracts with all contract term, pricing, asset, and subscription details.

    Connect to Back Office
    Sync order details to ERP for order fulfillment.

    Thanks.

  • Hello Anjali,

    Key Features:-

    Fulfill Orders Faster
    Seamlessly generate orders from quotes to quickly get products and services delivered to your customers.
    Flexible for Evolving Customer Needs
    Split quotes into multiple orders, manage future dated orders, and modify with point- and-click.
    360-Degree View of the Customer
    Quickly generate contracts with all contract term, pricing, asset, and subscription details.
    Connect to Back Office
    Sync order details to ERP for order fulfillment.

    Thanks.

  • Prachi

    Member
    August 9, 2018 at 9:08 am in reply to: What happen if child have two master records and one is deleted?

    Hello Avnish,

    If child have two master records and one is deleted then the record is deleted and placed in the recycle bin.

    Junction object records are deleted when either associated master record is deleted and placed in the Recycle Bin. If both associated master records are deleted, the junction object record is deleted permanently and cant be restored.

    Thanks.

  • Hello Avnish,

    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.

  • Prachi

    Member
    August 9, 2018 at 9:03 am in reply to: What is the use of apex:detail component in Salesforce?

    Hello Avnish,

    The standard detail page for a particular object, as defined by the associated page layout for the object in Setup. This component includes attributes for including or excluding the associated related lists, related list hover links, and title bar that appear in the standard Salesforce application interface.

    Thanks.

  • hello anurag,

    Page layouts and custom layouts

    Page layouts control the layout and organization of buttons, fields, s-controls, Visualforce, custom links, and related lists on object record pages. They also help determine which fields are visible, read only, and required. Use page layouts to customize the content of record pages for your users. The layouts which you can customize yourself are custom layouts.Page layouts can include s-controls and Visualforce pages that are rendered within a field section when the page displays. You can control the size of the s-controls and Visualforce pages, and determine whether or not a label and scroll bars display.

    thanks

  • Prachi

    Member
    August 9, 2018 at 6:14 am in reply to: What is “Data Skew” in Salesforce?

    Hello Anjali,

    “Data skew” is a condition which you will encounter when working for a big client where there are over 10,000 records. When one single user owns that many records we call that condition ‘ownership data skew’.

    When such users perform updates, performance issues will be encountered because of “data skew”. This happens when a single user/ members of a single role own most of the records for a particular object.

    Thanks

  • Hello Anjali,

    Database.AllowCallout helps in integrate salesforce with external server by making a call to an external web service . That is why it is must to specify Database.allowCallouts in the class defination to use callouts in batch apex

    If you want to integrate other party then we have to use Database.AllowsCallouts interface. It is used to allow Callouts in batch Apex Callouts include HTTP requests as well as methods defined with the web Service keyword.

    Thanks.

  • Prachi

    Member
    August 9, 2018 at 5:27 am in reply to: Explain Guided Selling in Salesforce CPQ.

    hello anjali,

    Guided selling implemented in CPQ is very much like an experienced sales rep, the tools asks questions about the need of the customer. But instead of forcing the sales rep to understand which product and options match the customer needs, the tool is able automatically to put together an optimal solution based on the needs of the customer.

    Create a prompt that asks sales reps about the types of products they want when they’re adding products to a quote. Salesforce CPQ reviews their answers and shows the Add Products page with a list of products that match their responses. We call this process “guided selling.”

    Thanks.

  • Prachi

    Member
    August 9, 2018 at 5:24 am in reply to: What are product bundles in Salesforce CPQ?

    Hello anjali,

    A bundle is a product with optional features or components that you want to include on a single quote line.

    A bundle product contains several records.

    A bundle parent: The parent product is the bundle itself.
    Options: These products in the bundle contribute to the bundle price. You can consider these children of the bundle parent. An option doesn’t contribute to the bundle price if you select its Bundled checkbox.
    Features: A feature is a group of options. You can use the Min Options and Max Options fields to define selection restrictions for objects in the same feature, such as “pick one or more” or “pick 3 of 5.”
    Option constraints: Use constraints to control how users select options together.
    Configuration attribute: A field and picklist shown above or below the list of product options. This field targets all options containing the same field and applies its value to all those fields.

    Thanks.

  • Prachi

    Member
    August 9, 2018 at 5:17 am in reply to: How can we move process from one Org to another Org in Salesforce?

    hello chanchal,

    You can use the force.com migration tool:

    http://wiki.developerforce.com/page/Migration_Tool.
    Also you can use the Force.com Eclipse IDE to view and export your metadata from your org, http://www.forcetalks.com/wp-content/uploads/2018/03/Steps-to-Install-the-0AForce.com-IDE-Plug-In-in-Eclipse.png

    thanks.

Page 4 of 6