Forum Replies Created

Page 1 of 6
  • Prachi

    Member
    November 13, 2018 at 1:06 pm in reply to: What is the use of force:hasRecordId interface in Salesforce?

    Hello Madhulika,

    The force:hasRecordId interface does two things to a component that implements it. It adds an attribute named recordId to your component. This attribute is of type String, and its value is an 18-character Salesforce record ID, for example: 001xx000003DGSWAA4. If you added it yourself, the attribute definition would look like the following markup: <aura:attribute name=”recordId” type=”String” />

    Note: If your component implements force:hasRecordId, you don’t need to add a recordId attribute to the component yourself. If you do add it, don’t change the access level or type of the attribute or the component will cause a runtime error.

    Thanks.

  • Prachi

    Member
    November 13, 2018 at 12:41 pm in reply to: Explain use of Junction Object in Salesforce.

    Hello Madhulika,

    Junction Object is a custom object with two master-detail relationships. Using a custom junction object, you can model a “many-to-many” relationship between two objects. For example, you create a custom object called “Bug” that relates to the standard case object such that a bug could be related to multiple cases and a case could also be related to multiple bugs.

    Creating the many-to-many relationship consists of:

    Creating the junction object.
    Creating the two master-detail relationships.
    Customizing the related lists on the page layouts of the two master objects.
    Customizing reports to maximize the effectiveness of the many-to-many relationship.

  • Prachi

    Member
    November 12, 2018 at 1:15 pm in reply to: what is the difference between the types of Sandboxes in Salesforce?

    Hi,

    Sandbox Types

    Developer Sandbox
    A Developer sandbox is intended for development and testing in an isolated environment. A Developer Sandbox includes a copy of your production org’s configuration (metadata).

    Developer Pro Sandbox
    A Developer Pro sandbox is intended for development and testing in an isolated environment and can host larger data sets than a Developer sandbox. A Developer Pro sandbox includes a copy of your production org’s configuration (metadata). Use a Developer Pro sandbox to handle more development and quality assurance tasks and for integration testing or user training.

    Partial Copy Sandbox
    A Partial Copy sandbox is intended to be used as a testing environment. This environment includes a copy of your production org’s configuration (metadata) and a sample of your production org’s data as defined by a sandbox template. Use a Partial Copy sandbox for quality assurance tasks such as user acceptance testing, integration testing, and training.

    Full Sandbox
    A Full sandbox is intended to be used as a testing environment. Only Full sandboxes support performance testing, load testing, and staging. Full sandboxes are a replica of your production org, including all data, such as object records and attachments, and metadata. The length of the refresh interval makes it difficult to use Full sandboxes for development.
    We recommend that you apply a sandbox template so that your sandbox contains only the records that you need for testing or other tasks.
    When you create a Full sandbox, you also have to decide how much field tracking history and Chatter activity to include. The default is to omit field tracking, but you can include up to 180 days of field tracking. If you track field history for many objects in your production org, specify fewer days to avoid generating an excessive amount of data.
    Chatter activity data can be extensive, which can add a significant amount of time to your Full sandbox copy.
    Limit the amount of field history that you copy, and copy your Chatter data only if you need it for your testing use cases.

    Thanks.

  • Prachi

    Member
    November 12, 2018 at 1:08 pm in reply to: What is the difference between profile and role in Salesforce?

    Hi,

    Profile:
    - Controls the Object level access.
    Eg: If you want a set of users to get access to say "Account" object in salesforce, you will enable the type of access you want to provide on the Profile->Account Object. You can give Read Only, Read & Write, Create and Delete privilege as well.
    - You can control which field a user can see by enabling the Field Level Security (FLS) in Profile settings.
    - You Can assign different Record types and Page Layouts to a Profile to decide which fields the user with the particular profile can access.

    Roles:
    -Controls the data level access.
    - Roles decide which type of data can be viewed by which user.
    Eg: Manager can see all the data related to the Associates working under him.
    - It maintains the record level access in the org.

    Thanks

  • hi,

    Even after deactivating the the workflow, its action will not be removed. It’s still active in queue.

  • Prachi

    Member
    October 25, 2018 at 12:48 pm in reply to: What are different Salesforce Editions?

    hi,

    different editions are:-

    Group.
    Professional.
    Enterprise.
    Unlimited.

  • Prachi

    Member
    October 15, 2018 at 1:01 pm in reply to: Explain use of Junction Object in Salesforce.

    hi,

    Junction objects are used to create many to many relationships between objects. It is a custom object which can link one instance of a record to many children, and each child can equally be linked too. Junction Object have two master-detail relationships to two different record types.

  • Prachi

    Member
    October 15, 2018 at 1:01 pm in reply to: What purpose does Junction objects serve in salesforce?

    hi,

    Junction objects are used to create many to many relationships between objects. It is a custom object which can link one instance of a record to many children, and each child can equally be linked too. Junction Object have two master-detail relationships to two different record types.

  • Prachi

    Member
    October 3, 2018 at 12:20 pm in reply to: What is Page Layout and Record Types in Salesforce?

    hi,

    Page Layout

    The organization of fields, custom links, and related lists on an object detail or edit page.

    Used to organize UI pages for your users:

    –          Which fields, related lists, and Custom links a user’s sees.

    –          Field properties – visible, read-only and required.

    –          Page section customizations.

    Record Types

    Record types allow you to associate different business processes and subset of pick list value to different users based on their user profile.

    They are used to drive which page layouts users see when viewing records, based on their user profile.

  • Prachi

    Member
    October 3, 2018 at 12:18 pm in reply to: What is a dependent picklist in Salesforce?

    hi,

    Dependent picklist is very useful within the Salesforce CRM for many reasons.  It is used to limit the list of values in one picklist based on the value of another picklist.Dependent Picklist allows to contain multiple values and pick value one among them or Multiple values among them. Dependent fields depends upon controlling field.

    thanks

  • Prachi

    Member
    October 3, 2018 at 12:15 pm in reply to: How to freeze users in salesforce.com?

    Hi,

    1. From Setup, click Manage Users | Users.
    2. Click the name of the user whose account you want to freeze.
    3. Click Freeze.

    thanks

  • Prachi

    Member
    September 28, 2018 at 9:42 am in reply to: What is Hybrid Cloud and Public Cloud in Salesforce?

    hi,

    Public Cloud infrastructure is available to public or many industry groups or customers. It is owned by the organizations promoting and selling cloud services. This can also be thought of as an “on-demand” and a “pay-as-you-go” environment where there are no on-site infrastructure or management requirements; however, the environment is no longer within the customer’s perimeter.

    Hybrid cloud Organizations may host critical applications on private clouds and applications with relatively less security concerns on the public cloud. The usage of both private and public clouds together is called hybrid cloud. A related term is Cloud Bursting. In Cloud bursting organization use their own computing infrastructure for normal usage, but access the cloud using services like Salesforce cloud computing for high/peak load requirements. This ensures that a sudden increase in computing requirement is handled gracefully.

    thanks.

  • Prachi

    Member
    September 21, 2018 at 5:34 am in reply to: What are the best practices for Salesforce triggers?

    hi,

    There should only be one trigger for each object.
    Avoid complex logic in triggers. To simplify testing and resuse, triggers should delegate to Apex classes which contain the actual execution logic.
    Bulkify any "helper" classes and/or methods.
    Trigers should be "bulkified" and be able to process up to 200 records for each call.
    Execute DML statements using collections instead of individual records per DML statement.
    Use Collections in SOQL "WHERE" clauses to retrieve all records back in single query
    Use a consistent naming convention including the object name (e.g., AccountTrigger)

    thanks.

  • Prachi

    Member
    September 21, 2018 at 5:33 am in reply to: What are the types of Email Templates in Salesforce?

    hi,

    Text - All users can create or change text email templates. See Create Text Email Templates in Salesforce Classic.
    HTML with letterhead - Administrators and users with the “Edit HTML Templates” permission can create HTML email templates based on a letterhead. Letterheads define the look and feel of your HTML email templates. Your HTML email templates can inherit the logo, color, and text settings from a letterhead. See Create Letterhead Email Templates in Salesforce Classic.
    Custom HTML - Administrators and users with the “Edit HTML Templates” permission can create custom HTML email templates without using a letterhead. You must either know HTML or obtain the HTML code to insert in your email template. See Create Custom HTML Email Templates in Salesforce Classic.
    Visualforce - Administrators and developers can create templates using Visualforce. Visualforce email templates allow for advanced merging with a recipient's data, where the content of a template can contain information from multiple record.

    thanks

  • Prachi

    Member
    September 21, 2018 at 5:31 am in reply to: What are full copy and partial copy in salesforce?

    hi,

    Partial Copy
    Partial Data sandboxes include all of your organization’s metadata and add a selected amount of your production organization’s data that you define using a sandbox template. A Partial Data sandbox is a Developer sandbox plus the data you define in a sandbox template

     Full Sandbox – Fully testing changes against real data before promoting to production.  This may include user acceptance testing.  All changes must go through this sandbox.  If multiple admins/developers are working on overlapping areas, this is the place where changes get merged.

    thanks

  • Prachi

    Member
    September 21, 2018 at 5:30 am in reply to: What is Lightning Data Services in Salesforce?

    hi,

    Use Lightning Data Service to load, create, edit, or delete a record in your component without requiring Apex code.At the simplest level, you can think of Lightning Data Service as the Lightning Components version of the Visualforce standard controller.It’s built on highly efficient local storage that’s shared across all components that use it. Records loaded in Lightning Data Service are cached and shared across components. Components accessing the same record see significant performance improvements, because a record is loaded only once, no matter how many components are using it.

    thanks.

  • Prachi

    Member
    September 21, 2018 at 5:28 am in reply to: What is aura definition bundle in Salesforce Lightning?

    hi,

    A bundle contains a Lightning definition and all its related resources. The definition can be a component, application, event, interface, or a tokens collection.An AuraDefinitionBundle component is a collection of component definition files, each representing a different resource such as markup code, event documentations, applications and interfaces.

    thanks

     

  • Prachi

    Member
    September 21, 2018 at 5:27 am in reply to: What is field tracking in Salesforce?

    hi,

    Field History Tracking. You can select certain fields to track and display the field history in the History related list of an object. The field history data is retained for up to 18 months. You can track the field history of custom objects and thefollowing standard objects.

    To enable field history tracking in Salesforce:-

    1.From the management settings for the custom object, click Edit.
    2.Select the Track Field History checkbox. ...
    3.Save your changes.
    4.Click Set History Tracking in the Custom Fields & Relationships section. ...
    5.Choose the fields you want tracked. ...
    6.Click Save.
    thanks.

  • Prachi

    Member
    September 20, 2018 at 5:25 am in reply to: What is Apex Managed Sharing?

    hi,

    Apex managed sharing allows developers to programmatically share custom objects. When you use Apex managed sharing to share the custom object, only users with the “Modify All Data” permission can add or change the sharing on the custom object’s record, and the sharing access is maintained across record owner changes.

    thanks.

  • Prachi

    Member
    September 20, 2018 at 5:23 am in reply to: What is the difference between aura and apex framework in Salesforce?

    hi,

    Aura is an open-source UI framework built by Salesforce for developing dynamic web apps for mobile and desktop devices. The lightning component framework is not different from the Aura framework rather it is a subset of the Aura framework.

    Apex is a development platform for building software as a service (SaaS) applications on top of Salesforce.com’s customer relationship management (CRM) functionality.

    thanks

     

  • Prachi

    Member
    September 20, 2018 at 5:21 am in reply to: Type of events in Salesforce Lightning component?

    hi,

    Component Events:A component event can be triggered from an instance of a component and can be handled by the component that triggered it or by any other component in the hierarchy that recieve the event.
    Application Events:An application event is fired by an instance of a component and all the components that provide handler for the event are notified.

    Thanks

  • hi,

    The following is an example of a business process:-

     Customer Support 
    If you’re a software company, you probably have a customer support form online on your website (or even better, a dedicated tool for that). Let’s say there’s a bug with the new update, affecting a big chunk of your users.

    Within a day, your support inbox will be packed with hundreds or thousands of texts complaining about the issue – and there’s no way your support team can take care of all that. If you’re using a customer support software, such as Intercom, you can automate most of the replies.

    If the customer ticket contains a keyword about the new bug or issue, you can send out an automated reply to each new ticket apologizing and explaining what the problem is.

    Or, you can even automate 90% of your customer support, if you do some research. You can combine a list of frequently asked questions about the software & identify several keywords that are mentioned. Then, create separate messages you could send to the users whenever they complain about the keyword, and voila! There goes most of your customer support work.

     

    Thanks

  • hi,

    there are three types of bindings used in Visualforce

    1. Data binding
    2. Action bindings
    3. Component bindings
      Data bindings refer to the data set in the controller.
      Action bindings refer to action methods in the controller.
      Component bindings refer to other Visualforce components

    Thanks

  • Prachi

    Member
    September 19, 2018 at 1:21 pm in reply to: How to round the Double to two decimal places In Salesforce Apex?

    hi,

    Decimal toround = 3.14159265;
    Decimal rounded = toround.setScale(2);
    system.debug(rounded);

    Or

    What's nice about this one is you can use the setScale overload that lets you specify the rounding mode you want to use.

    Decimal toround = 3.14159265;
    Decimal rounded = toRound.setScale(2, RoundingMode.HALF_UP);
    system.debug(rounded);
    In this case - I think you'll want the HALF_UP rounding mode. It's the traditional round to nearest, but round .5 up.

    Thanks

  • Prachi

    Member
    September 19, 2018 at 1:19 pm in reply to: What Are Limitations Of Salesforce Reports?

    hi,

    Too much training required

    Salesforce reports do not support importing data from other sources When displaying objects and their children, Salesforce does not support reporting on objects that do not have any children.

    To set the maximum number of records to display in a tabular report, click on Add and select Row Limit in a report builder.

    If an object has two different related lists, then Salesforce reporting does not support displaying both these related lists together.

    Difficult cross-object reporting.

    thanks

Page 1 of 6