Forum Replies Created

Viewing 1 - 15 of 83 posts
  • chanchal kumar

    Member
    October 8, 2018 at 2:36 pm

    Hi,

    Add a Summary Formula Column in Lightning Experience:

    • Edit or create a report.
    • If necessary, group report data. From the Groups section, select a field from the Add group... lookup menu under GROUP ROWS.
    • From the Columns section, click   | Add Summary Formula Column.
    • Optionally, to open the full editor, click Switch to Full Editor.
    • Enter a summary formula. For example: IF(AMOUNT:SUM < 1000000, AMOUNT:SUM * (1 - 0.15), AMOUNT:SUM * (1 - 0.20))
    • To see if your formula contains errors, click Check Syntax. Resolve any errors.
    • Optionally, click FORMAT to choose how to format results, how many decimals points to show, and to change
    • where the formula gets applied.
    • Click Apply.
    • Click Save.
  • chanchal kumar

    Member
    October 5, 2018 at 1:45 pm

    Hi,
    Based on your formula field {! } it will execute the corresponding extension. If both the extension having same method name then it will execute the first extension. Below is the example

    If both extensions having the same method, whichever methods are defined in the “leftmost” extension, or, the extension that is first in the comma-separated list will execute first.

  • chanchal kumar

    Member
    October 5, 2018 at 1:36 pm

    Hi,

    No, We cannot reference both attributes at a time.

    See below syntax to understand

    <apex:page standardController=”ControllerName” extensions=”Class1, Class2,..”> Correct

    <apex:page Controller=”MYControllerName” extensions=”Class1, Class2,..”>   Correct syntax

    <apex:page standardController=”MYControllerName” Controller=”MyController”>  Wrong

  • chanchal kumar

    Member
    October 4, 2018 at 2:22 pm

    Hi,

    Assignment rules are usually triggered through the user interface when creating or editing a record; this can make it difficult to get the assignment rules to trigger for already existing records, or records imported or updated through the API. Using the Data Loader, you can access settings to get an assignment rule to trigger when performing an insert, update or upsert.

  • chanchal kumar

    Member
    October 4, 2018 at 2:18 pm

    Hi Anjali,

    Lead assignment rules allow us to automatically assign Leads to the appropriate queue or user. A Lead assignment rule consists of multiple rule entries that define the conditions and order for assigning cases. From a Salesforce User interface, a user can trigger assignment rules by simply checking the Assign using active assignment rules checkbox under the optional section. The problem arises when you need to insert or update the Leads from Process Builder and wants to trigger assignment rules. Using the Process Builder, a Lead will be inserted or updated but assignment rule will not be triggered as there is no check box to use the organization’s assignment rule or a prompt to assign using the active assignment rule.

  • chanchal kumar

    Member
    September 19, 2018 at 1:30 pm

    Hi,

    SOSL statement evaluate to a list of sobjects , where each list contains the search results for a particular sobject type, The result lists are always returned in the same order as they were specified in the query.
    If a SOSL query does not return any records for a specified sObject type , the search results include an empty list for that sObject.

    for example, you can return a list of accounts, contacts, opportunities and leds that begin with the phase map.

    List < list < subject >> search list = [ find 'map*' In ALL FIELDS RETURNING Account (ID, Name), contact, opportunity, lead ];
    Note : The syntax of the classon Apex differs from the syntax of the FIND clause in the SOAP API.
    In Apex, the value of the FIND cause is demarcated with single quotes.

    Example:

    FIND 'map*' IN ALL FIELDS RETURNING account (Id, Name], Contact, Opportunity, Lead.
    In the Force.com API, the value of the FIND Clause is demarcated with braces.

  • chanchal kumar

    Member
    September 19, 2018 at 1:28 pm

    Hi,

    Use javascript remoting in visualforce to call methods in apex controllers from javascript.
    Javascript remoting has 3 parts.
    1. The remote method invocation you add to the visualforce page, written in javascript.
    2. The remote method definition in your Apex controller class.
    3. This method definition is written in apex, but there are  few differences from normal action methods.
    4. The response handles callback function you add to or include in your vf page, written in javascript.

  • chanchal kumar

    Member
    September 19, 2018 at 1:27 pm

    Hi,

    A web directory where hundreds of appexchange apps  are  available to salesforce customers to review, demo, comment upon, and /or install. Developers can submit their apps for listing on the appexchange directory if they want to share them with the community.

  • chanchal kumar

    Member
    September 18, 2018 at 1:54 pm

    Hi,

    Inspite of Eclipse, there are other terrific third-party tools with add-ins that support Lightning components, such as SublimeText and Visual Studio Code.

  • chanchal kumar

    Member
    September 18, 2018 at 1:27 pm

    Hi,

    Visual flow can be summed up as an app inside the Salesforce app. Analogically, what methods are to object oriented programming, visual flow is to Salesforce. To be more precise, a Flow is a wizard or a set of screens in sequential order which can be used to complete a business process. This business process can be anything like filling out a form, or working on a script, or even filling out a survey. The Flow has the ability to fetch, edit, and create all Salesforce information in an appealing, quick and smart manner.

  • chanchal kumar

    Member
    September 18, 2018 at 1:14 pm

    Hi,

    When you access the external site you need to add that in the remotesite settings, this is one kind of security level that force.com platfom is going to check.

  • chanchal kumar

    Member
    September 17, 2018 at 10:43 am

    Hi,

    Sometimes during the processing of records, your business rules require that partial work (already executed DML statements) be “rolled back” so that the processing can continue in another direction. Apex gives you the ability to generate a savepoint, that is, a point in the request that specifies the state of the database at that time. Any DML statement that occurs after the savepoint can be discarded, and the database can be restored to the same condition it was in at the time you generated the savepoint.

  • chanchal kumar

    Member
    September 17, 2018 at 10:39 am

    Here’s the use case of formula fields:

    • Let’s take an example of Account Object, which has 3 record types say (Group, Branch, Vendor) so If the Account RecordType is “Group”
    • Picklist value of Account “Status” is set to “Closed”
    • And Value in field ReasontoClose__c is Blank, the validation rule should fire.

    AND(
    ISBLANK(  ReasontoClose__c),

    ISPICKVAL( Status, “Closed”),

    RecordType.Name=” Group ”

    )

  • chanchal kumar

    Member
    September 13, 2018 at 7:08 am

    Hi,

    Opportunity relates to Opportunity Product, Opportunity Product relates to a Pricebook Entry, Pricebook Entry then relates to Product.

  • chanchal kumar

    Member
    September 12, 2018 at 2:32 pm

    Hi,

    There are two special clauses in the "abstract equality comparison algorithm" in the JavaScript spec devoted to the case of one operand being null and the other being undefined, and the result is true for == and false for !=. Thus if the value of the variable is undefined, it's not != null, and if it's not null, it's obviously not != null.

Viewing 1 - 15 of 83 posts