Forum Replies Created

Page 9 of 21
  • Hello,

    You can use apex:outputText

    Example : Format the number into currency.
    <apex:outputtext value=”{0, number, 000,000.00}”>
    <apex:param value=”{!valFromController}” />
    </apex:outputtext>

    Thanks.

  • Avnish Yadav

    Member
    September 25, 2018 at 11:55 am in reply to: What are different kinds of reports in Salesforce?

    There are four types of reports you can create in Salesforce, Tabular, Summary,Matrix and Joined Reports. Each are best suited for showing different types of data depending on what you want out of a report.

    Tabular Reports – The images that I have shown you in this post have all been from a tabular report. This is the simplest of reports and is suited to just showing lines of data and nothing else. If you just want to show data with no preference to seeing totals, calulations or groups of data then this is the report for you just to keep it simple. It is also best to use this report type if you are planning to use it to export data.

    Summary Reports – As soon as you click “Group by this field” as shown in the above image, you will turn the report into a summary report. Summary reports are probably the most commonly used and are great for showing groups of data e.g. If you want to see your recent accounts opportunities they will be grouped by account and you can see each opportunity under the account. From then you can do calculations, you can see the total amount of sales under an account, you can see the maximum, minimum and also average amount. You can also sub group fields by dragging them under the initial group.

    Matrix Reports – Matrix reports are very similar to Summary but they allow you to group by rows as well as columns to see different totals. Matrix reports aren’t commonly used unless you have to display lots of complex data.

    Joined Reports – Joined reports allow you to create two separate reports so that you can compare data. Again not most commonly used.

    Thanks.

  • In case of Lookup Relationship, if you delete Master Record, all corresponding Child Records will not be deleted. But if you want to delete child records in this case, you can create a trigger through which on master record deletion the child records will get deleted. It will behave like a master detail relationship.

    Thanks,

  • You cannot create a new Master-Detail relationship on an existing custom object if records already exist. You must first create a Lookup relationship, populate the lookup field with data in all records, and then change the relationship type to Master-Detail.   Click here to return to the previous page.

  • Avnish Yadav

    Member
    September 25, 2018 at 11:32 am in reply to: What are Salesforce Dynamic Dashboards?

    Dynamic dashboards are used to display information tailored to a specific user, while a normal dashboard shows data only from a single user's perspective. Use dynamic dashboards when you want to show each user user-specific data, such as their personal quotas and sales, or number of case closures, or leads converted, etc. Use a normal dashboard when you want to show regional or organization-wide data to a set of users, such as a region's sales, or a support team's performance on case closures.

  • Avnish Yadav

    Member
    September 25, 2018 at 11:29 am in reply to: What are Dashboards in Salesforce?

    Hello,

    A dashboard is the graphical representation of the data generated by a report (or multiple reports) at certain point in time. So it's a snapshot of data, to obtain the latest data you need to refresh them either manually or in a scheduled manner.

    Thanks.

  • Avnish Yadav

    Member
    September 25, 2018 at 11:29 am in reply to: Is it possible to delete reports using Salesforce Data loader?

    Hello, it is not possible to delete reports using data loader, you can only extract reports data through Dataloader. A report object is a ReadOnly object if accessed by Dataloader or any other API tool.

    You can use the inbuilt Mass Delete Report option from the setup menu or use either eclipse or some other IDE's to delete the reports in mass.

    Thanks.

  • Avnish Yadav

    Member
    September 25, 2018 at 11:26 am in reply to: What is a Salesforce Workflow Task?

    Hello,

    Workflow tasks assign a new task to a user, role, or record owner. For example, automatically assign follow-up tasks to a support representative one week after a case is updated

    Thanks.

  • Avnish Yadav

    Member
    September 25, 2018 at 11:22 am in reply to: What is Salesforce Workflow?

    Hello,

    Workflows in Salesforce are a fantastic way to automate certain business processes. You can create a rule, and based on certain criteria that you set, Salesforce can do a number of things, like send an email, create a task, or update a field.

    Thanks.

  • Avnish Yadav

    Member
    September 25, 2018 at 11:21 am in reply to: What is Analytical Snapshot in Salesforce.com?

    Hello,

    Salesforce Help defines Analytic Snapshots as “allowing you to load data from a Custom Report to a Custom Object on a regularly scheduled basis.” This in turn allows you to create Reports and Dashboards based on the data in the Custom Object.

    Analytic Snapshots are comprised of three things:

    A source Report of type Tabular or Summary
    A Custom Object with fields matching the columns in the source Report
    An Analytic Snapshot definition, which maps fields and schedules the snapshot runs

    Thanks.

  • Avnish Yadav

    Member
    September 25, 2018 at 6:38 am in reply to: What is Lightning Design System (SLDS) in Salesforce?

    Hello,

    The Salesforce Lightning Design System (SLDS) component library is actively developed to enable Salesforce developers to create a uniform look and feel across all Salesforce-related applications while adhering to CSS best practices and conventions.

    It follows the naming convention of BEM is a well-known method of naming components — block, element, modifier. If you’re comfortable with BEM, move down to the “Where we diverge from BEM” section. For those unfamiliar or who need a quick refresh, let’s briefly look at how BEM works.

    Thanks.

     

  • Hello,

    Using the <aura:if> tag is the preferred approach to conditionally display markup but there are alternatives. Consider the performance cost and code maintainability when you design components. The best design choice depends on your use case.

    Thanks.

  • Avnish Yadav

    Member
    September 25, 2018 at 6:19 am in reply to: Use of THIS CSS class in Salesforce?

    Hello,

    All top-level elements in a component have a special THIS CSS class added to them. This, effectively, adds namespacing to CSS and helps prevent one component's CSS from overriding another component's styling. The framework throws an error if a CSS file doesn't follow this convention.

    Thanks.

  • Hello,

    A component has two types of IDs: a local ID and a global ID.
    You can retrieve a component using its local ID in your JavaScript code.
    A global ID can be useful to differentiate between multiple instances of a component or for debugging purposes.
    Local ID is created by using the aura:id attribute.
    example
    To find the local ID for a component in JavaScript, use cmp.getLocalId()
    Every component has a unique globalId, which is the generated runtime-unique ID of the component instance.
    A global ID is not guaranteed to be the same beyond the lifetime of a component, so it should never be relied on

    Thanks

  • Avnish Yadav

    Member
    September 25, 2018 at 6:16 am in reply to: How to make quick lightning action in Salesforce?

    Hello,

    To display a lighting component as a Quick action to an object, It must be implemented withforce:lightningQuickAction OR force:lightningQuickActionWithoutHeader.

    Thanks.

  • Avnish Yadav

    Member
    September 25, 2018 at 6:14 am in reply to: What are value providers in Salesforce Lightning?

    Salesforce Lightning Value Providers. Value providers are a way to access data. Value providers encapsulate related values together, similar to how an object encapsulates properties and methods. The value providers for a component are v (view) and c (controller)
    Thanks.

  • Avnish Yadav

    Member
    September 25, 2018 at 6:13 am in reply to: List of Salesforce Global value providers?

    Hello,

    $globalID
    $Browser
    $Label
    $Locale
    $Resource

    Thanks.

     

  • Avnish Yadav

    Member
    September 25, 2018 at 5:58 am in reply to: Limit of Data.com Records that can be added to Salesforce?

    Hello,

    User can see their limit form setup, by clicking data.com administration/Users. From the data.com users section, user can see their monthly limit and how many records are exported during the month.

    Thanks.

  • Avnish Yadav

    Member
    September 25, 2018 at 5:56 am in reply to: What is Joined Report in Salesforce?

    Hello,

    oined reports let you compare 2 sets of data across a common field (e.g. owner, account, campaign, etc.) that you otherwise wouldn’t be able to view side-by-side. For example, say you want to understand which of your opportunities may be at risk because they have open support cases associated with them. With a joined report, you can view a block of data showing opportunities alongside a block of data showing cases on an account by account basis to give you this information.

    Thanks.

  • Avnish Yadav

    Member
    September 25, 2018 at 5:55 am in reply to: Explain the use of Aura: Namespace in the Salesforce code.

    Hello,

    Aura is a UI framework for developing dynamic web apps for mobile and desktop devices. Aura provides a scalable long-lived lifecycle to support building apps engineered for growth.

    Aura supports partitioned multi-tier component development that bridges the client and server. It uses JavaScript on the client side and Java on the server side.

    Thanks.

  • Hello,

    Visualforce provides the facility for delivering template-driven web pages and email messages. In addition, developers wishing to simply utilize a basic container and maintain more control over the lifecycle of the request may choose Visualforce pages. Finally, organizations that can’t use Apex code can’t use Lightning Components, but they can use Visualforce.
    Thanks.

  • Hello,
    Actually, you can perform DML in trigger from future methods with callout=true. You can call this method in the trigger, but they will be executed after trigger ends, so no error will happen. For example, I used it to automatically fill some fields that require ID of record, that can't be received in Before trigger.
    Thanks.

  • Avnish Yadav

    Member
    September 24, 2018 at 1:13 pm in reply to: What is the difference between Trigger and Workflow in salesforce?

    Hello,

    Workflow is a point and clicks Tool which doesn’t need coding. When you want to take actions like Update filed, Email, Outbound message, and create the task from the same object or from child to the parent object(in the master-detail relationship) you can use workflow. You can also perform these action based on time triggers. It’s an automated tool which fires based on Evaluation criteria and rule criteria. Using workflow you can’t create a record.

    A trigger is a programmatic approach which fires when before or after a record is inserted, updated or deleted. Using a trigger you can work on multiple objects. It involves coding you can query and you can perform any DML operation.

    Thanks.

  • Avnish Yadav

    Member
    September 24, 2018 at 1:11 pm in reply to: What are the limitations of Time-dependent workflow in Salesforce?

    Hello,

    Time triggers don’t support minutes or seconds. and
    You can’t add or remove time triggers if the workflow rule is active.

    Thanks.

  • Hello,

    public class RecursiveTriggerHandler{
         public static Boolean isFirstTime = true;
    }

    ------------------------------------------------------------

    trigger SampleTrigger on Contact (after update){
     
        Set accIdSet = new Set();
         
        if(RecursiveTriggerHandler.isFirstTime){
            RecursiveTriggerHandler.isFirstTime = false;
             
            // Calling Apex Class with Logic
        }
    }

    Hope this will you.

    Thanks.

Page 9 of 21