Forum Replies Created

Page 1 of 4
  • chanchal kumar

    Member
    October 8, 2018 at 2:36 pm in reply to: Can we create a Formula Type in Salesforce Reports?

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

  • 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 in reply to: When are lead assignment rules triggered in Salesforce?

    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 in reply to: How are lead assignment rules executed in Salesforce?

    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 in reply to: SOSL Statements In Salesforce Apex

    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 in reply to: Define Javascript Remoting for Salesforce Apex Controllers.

    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 in reply to: What is AppExchange directory ?

    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 in reply to: What are the tools included in Salesforce lightning?

    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 in reply to: Cloud Flow Designer

    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 in reply to: How to use remote site settings in salesforce

    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 in reply to: Limitations of using a Savepoint in apex

    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 in reply to: why formula fields are useful

    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 in reply to: Relation Between OpportunityLineitem & Pricebook entry

    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 in reply to: Difference between 'null' and 'undefined' In Apex

    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.

  • hi,

    For instance, the use of Leads AND Contacts in Salesforce allows you to maintain a superior level of data quality and organization in your Salesforce database.  In many cases, an organization exclusively using contacts is converting all leads that come into their instance of Salesforce immediately into an existing account or creating a new account should one not already exist for that organization.

  • hi,

    The maximum response size when creating a PDF must be below 15 MB, before being rendered as a PDF. This is the standard limit for all Visualforce requests.
    The maximum file size for a generated PDF is 60 MB.
    The total size of all images included in a generated PDF is 30 MB.

  • chanchal kumar

    Member
    September 12, 2018 at 2:11 pm in reply to: What is the scope of static variable in Apex?

    Hello Anurag,

    A static variable defined in a trigger doesn’t retain its value between different trigger contexts within the same transaction, such as between before insert and after insert invocations. Instead, define the static variables in a class so that the trigger can access these class member variables and check their static values.

  • chanchal kumar

    Member
    September 11, 2018 at 2:41 pm in reply to: What is Apex Managed Sharing?

    hello

    To create an Apex sharing reason:

    1. From the management settings for the custom object, click New in the Apex Sharing Reasons related list.
    2. Enter a label for the Apex sharing reason. The label displays in the Reason column when viewing the sharing for a record in the user interface. The label is also enabled for translation through the Translation Workbench.
    3. Enter a name for the Apex sharing reason. The name is used when referencing the reason in the API and Apex. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.
    4. Click Save.
  • chanchal kumar

    Member
    September 11, 2018 at 2:34 pm in reply to: What is Duplicate Management in Salesforce?

    Hello Shradha

    1. A Matching Rule Compares Records and Detects Duplicates:The matching rule specified in a duplicate rule or job can compare records on the same object, such as leads, or one other object. For example, a rule can compare leads that duplicate contacts.

    2. A Duplicate Rule or Job Handles Duplicates Duplicates can be detected when a sales rep creates, clones, or edits a record and a duplicate rule runs, or when you run a duplicate job. They can also be detected as part of other processes, such as importing or an API.

    3. Sets and Reports List Duplicates Found Duplicate record sets list the duplicates found when duplicate rules or jobs run. Reports of duplicates are generated from these sets.

     

  • chanchal kumar

    Member
    September 11, 2018 at 2:07 pm in reply to: What are the uses of big objects in Salesforce?

    hello Shradha,

    Considerations in big object
    Big objects support only object and field permissions.
    You must use the Metadata API to define a big object or add a field to a custom big object.
    SOQL relationship queries are based on a lookup field from a big object to a standard or custom object in the select field list (not in filters or subqueries).
    Big objects support custom Lightning and Visualforce components rather than standard UI elements home pages, detail pages, list views, and so on).
    You can create up to 100 big object per org. The limits for big object fields are similar to the limits on custom objects, and depend on your org’s license type.
    Big objects don’t support transactions including both big objects, standard object and custom objects.
    To support the scale of data in a big object, features like triggers, flows, processes, and the Salesforce app are not available.
    You can’t use Salesforce Connect external objects to access big objects in another org.

  • chanchal kumar

    Member
    September 11, 2018 at 2:02 pm in reply to: What is single sign-on(SSO) in Salesforce?

    Single Sign-On (SSO) is a feature that connects multiple applications through one password. It makes life simple, by eliminating the need to remember multiple passwords, and allows you to login once and access many systems.

    Federated authentication using Security Assertion Markup Language (SAML) lets you send authentication and authorization data between affiliated but unrelated web services. You can log in to Salesforce from a client app. Salesforce enables federated authentication for your org automatically.
    Delegated authentication SSO integrates Salesforce with an authentication method that you choose. You can integrate authentication with your LDAP (Lightweight Directory Access Protocol) server or use a token instead of a password for authentication. You manage delegated authentication at the permission level, not at the org level, giving you more flexibility. With permissions, you can require some to use delegated authentication while others use their Salesforce-managed password.

    Authentication providers let your users log in to your Salesforce org using their login credentials from an external service provider. Salesforce supports the OpenID Connect protocol, which lets users log in from any OpenID Connect provider, such as Google, PayPal, and LinkedIn. When an authentication provider is enabled, Salesforce doesn’t validate a user’s password. Instead, Salesforce uses the user’s login credentials from the external service provider to establish authentication credentials.

  • chanchal kumar

    Member
    September 11, 2018 at 1:55 pm in reply to: Is there a limit for data.com records?

    If adding a set of records causes you to exceed your addition limit, you’ll see a message that tells you how many additions you have remaining. If you still need to add more records, contact your administrator.

  • chanchal kumar

    Member
    September 10, 2018 at 2:13 pm in reply to: Explain the difference between a custom button and a custom link.

    Custom links can link to an external URL, such as google, a Visualforce page, or your company’s intranet. While custom buttons can connect users to external applications, such as web pages, and launch custom links.

     

  • chanchal kumar

    Member
    September 10, 2018 at 1:45 pm in reply to: more than one server side controller in lightning

    Hello Anjali,

    There is no way so far for multiple apex controllers link to one aura component. but component allows include child components or inherited from super component. Each component has one controller.

Page 1 of 4