Forum Replies Created

Page 8 of 21
  • Hello,

    Yes, it is possible only, there is no Roll-up summary.

    Thanks.

  • Avnish Yadav

    Member
    September 29, 2018 at 8:03 pm in reply to: What purpose does Junction objects serve in salesforce?

    Hello,

    junction object is a custom object with two master-detail relationships and is the key to making a many-to-many relationship.

    Thanks.

  • Avnish Yadav

    Member
    September 29, 2018 at 8:03 pm in reply to: Explain use of Junction Object in Salesforce.

    Hello,

    junction object is a custom object with two master-detail relationships and is the key to making a many-to-many relationship.

    Thanks.

  • Avnish Yadav

    Member
    September 29, 2018 at 8:02 pm in reply to: What is the use of Junction Object in Salesforce?

    Hello,

    junction object is a custom object with two master-detail relationships and is the key to making a many-to-many relationship.

    Thanks.

  • Hello,

    You need to create the lookup, then populate each one so that each child record has a parent record. This is because a master-detail relationship does not allow for 'orphaned' child records. Once you have a lookup with each child having a parent, then you can go back and convert the lookup field to a master-detail.

    Thanks.

     

  • Hello,

    You need to create the lookup, then populate each one so that each child record has a parent record. This is because a master-detail relationship does not allow for 'orphaned' child records. Once you have a lookup with each child having a parent, then you can go back and convert the lookup field to a master-detail.

    Thanks.

     

  • Hello,

    You can use Junction Object to create many to many relationships.

    thanks.

  • Hello,

    You can use Junction Object to create many to many relationships.

    thanks.

  • Avnish Yadav

    Member
    September 28, 2018 at 12:40 pm in reply to: What Are The Types of SOQL Statements in Salesforce?

    Hello,

    Salesforce Object Query Language is used to query that records from the database.com based on the requirement.
    There are 2 types of SOQL Statements.

    Static SOQL
    Dynamic SOQL

    1.Static SOQL: The oStatic SOQL Statement is written in []  (Array Brackets)
    This statements are similar to IINQ(Ion Integrated Query)
    Example: String search for =’Jones’;
    Contact[] contacts=[select testfield__c, FirstName, LastName from Contact Where Last Name=:search for];

    2. Dynamic SOQL: 

    It is used to refer to the creation of a SOQL string at run time with Apex code.
    Dynamic SOQL enables you to create more flexible application.
    To create Dynamic SOQL query at run time use Database.Query() method, in one of the following ways.
    Return a single sObjects when the query returns a single record.
    sObjects s = Database. Query(String_limit_l);
    Return a list of sObjects when the query returns more than a single record.
    Examples:
    Eg1:
    String myTestString = ‘TestName’;
    List List= Database.Query(SELECT Id FROM MyCustomObject__c WHERE Name = :myTestString);
    Eg2:
    String resolviedfield L = myvariable.field__c;
    List L = Database.Query(‘SELECT Id FROM myCustomObject__c WHERE field__c = ‘+resolvedfield_L);

  • Avnish Yadav

    Member
    September 28, 2018 at 7:23 am in reply to: What is aura:attribute in Salesforce?

    aura:attribute describes an attribute available on an app, interface, component, or event. An attribute can have a type corresponding to a JavaScript function.

  • Fire Application Events
    Application events follow a traditional publish-subscribe model. An application event is fired from an instance of a component. All components that provide a handler for the event are notified.

    Register an Event
    A component registers that it may fire an application event by using <aura:registerEvent> in its markup. The nameattribute is required but not used for application events. The name attribute is only relevant for component events. This example uses name="appEvent" but the value isn’t used anywhere.

    <aura:registerEvent name="appEvent" type="c:appEvent"/>

    Fire an Event
    Use $A.get("e.myNamespace:myAppEvent") in JavaScript to get an instance of the myAppEvent event in the myNamespacenamespace.

    The syntax to get an instance of an application event is different than the syntax to get a component event, which is cmp.getEvent("evtName").
    Use fire() to fire the event.

    var appEvent = $A.get("e.c:appEvent");
    // Optional: set some data for the event (also known as event shape)
    // A parameter’s name must match the name attribute
    // of one of the event’s &lt;aura:attribute&gt; tags
    //appEvent.setParams({ "myParam" : myValue });
    appEvent.fire();

    Thanks.

  • Avnish Yadav

    Member
    September 28, 2018 at 7:06 am in reply to: How can we extend any Salesforce Component?

    We use inheritance extensively in our work places. some of the use cases for extending a base lightning component kind are if you have some functions that you want to use in multiple components.

  • Avnish Yadav

    Member
    September 28, 2018 at 6:53 am in reply to: why do we use $A.enqueueAction(action) in Salesforce?

    $A.enqueueAction(action) adds the server-side controller action to the queue of actions to be executed. All actions that are enqueued will run at the end of the event loop.

  • Avnish Yadav

    Member
    September 28, 2018 at 6:47 am in reply to: What is the Use of THIS Salesforce CSS class?

    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.

  • Unmanaged packages are typically used to distribute open-source projects or application templates to provide developers with the basic building blocks for an application. Managed packages are typically used by salesforce.com partners to distribute and sell applications to customers.

  • Count : It calculates the total number of related records.
    Sum : It totals the values of selected fields.
    Min : Displays lowest value.
    Max : Displays the highest value.

  • Avnish Yadav

    Member
    September 27, 2018 at 6:32 am in reply to: What all things are not supported in Salesforce Joined Reports?

    The following items aren’t supported in joined reports, and aren’t converted:
    Bucket fields
    Cross filters
    The Rows to Display filter

  • Avnish Yadav

    Member
    September 27, 2018 at 6:17 am in reply to: How we can achieve dynamic approval process in Salesforce?

    It is possible through apex triggers because in standard approval process, you need to define approver while creating approval process.

  • Avnish Yadav

    Member
    September 27, 2018 at 6:16 am in reply to: Is it possible to create parallel approval process in Salesforce?

    Yes. Parallel approval process allows specifying (upto 25) multiple approvers. The approver setting could be set to unanimous, or first action. In unanimous parallel approval process, all approvers must approve a request, before it is considered as approved.

  • Avnish Yadav

    Member
    September 27, 2018 at 6:15 am in reply to: When do we use the data loader in Salesforce?

    The data loader allows you to insert, update, upsert and delete data. What is upserting you ask? Upsert is a combination of updating and inserting. It means that if a record in your file matches an existing record in your CRM the existing record will be updated with the information that the file contains, if there is no existing record a new record will be created. In other words this means you can add new records or modify or delete existing records. Once you start using the data loader you can define which of these operations you want to perform.

  • Avnish Yadav

    Member
    September 26, 2018 at 1:16 pm in reply to: What is a FlexiPage in Salesforce lightning?

    Hello,

    We can use Flexipage to make custom Homepage for some product which will be accessed directly from Salesforce1. One important thing to note here is that, till date (at the time of writing this tutorial) Flexipage can be defined in XML file and then deploying it using Eclipse, Ant Migration tool, workbench or any other migration tool. There is no way to define Flexipage directly in Salesforce using point and click functionality.

    Flexi page can contain List View, Recent Items, Report chart, Visualforce page and Global actions.

    Thanks.

  • Avnish Yadav

    Member
    September 26, 2018 at 1:12 pm in reply to: What is the use of access=“global” in Salesforce?

    Hello,

    access=" global" - This means the method or variable can be used by any Apex code that has access to the class, not just the Apex code in the same application. This access modifier should be used for any method that needs to be referenced outside of the application, either in the SOAP API or by other Apex code. If you declare a method or variable as global, you must also declare the class that contains it as global.

    Thanks.

  • Avnish Yadav

    Member
    September 26, 2018 at 9:14 am in reply to: What is record type in Salesforce?

    Hello,

    ere’s an example of how record types can work in your org. Let’s say you have two sales divisions, hardware and consulting, and only your consulting division receives leads through seminars. You can choose to display the Seminar contact lead source for the consulting division only.

    Step 1: Manage master picklists
    Define a list of contact Lead Source picklist values that contains all of the values used by both the Hardware and Consulting divisions, including Seminar.
    Step 2: Create record types
    Create two contact record types: one called Hardware and another called Consulting. This step includes adding master picklist values to the record types.
    Step 3: Add record types to profiles
    Add the Hardware record type to the profiles for all users in the hardware sales division. Add the Consulting record type to the profiles of all users in the consulting sales division.
    Step 4: Set personal options for record types
    Allow users of both the hardware and consulting sales divisions to bypass the prompt that asks them to select a record type when creating a new contact. If you have users that create contact records for both sales divisions, they can customize their personal settings to always prompt them to select a record type.

    Thanks.

  • Avnish Yadav

    Member
    September 26, 2018 at 6:35 am in reply to: What is lead process/Sales process/Support process in Salesforce?

    Hello,

    --> Sales Processes - Create different sales processes that include some or all of the picklist values available for the Opportunity Stage field
    --> Support Processes - Create different support processes that include some or all of the picklist values available for the Case Status field
    --> Lead Processes - Create different lead processes that include some or all of the picklist values available for the Lead Status field

    Thanks.

  • Avnish Yadav

    Member
    September 26, 2018 at 6:32 am in reply to: Explain the customization in Salesforce Service Cloud.

    Hello,

    Salesforce offers Service Cloud as Software as a Service. Service Cloud is built on the Salesforce Customer Success Platform, giving you a 360-degree view of your customers and enabling you to deliver smarter, faster and more personalized service.

    With Salesforce Service Cloud, you can create a connected knowledge base, enable live agent chat, manage case interactions –  all at one platform. You can have personalized customer interactions or even up-sell your products/ services based on his/her past activity data.

    Now, you may be wondering how to access Service Cloud. Let me walk you through the steps to access a Service Cloud Console.
    Step 1: Login to login.salesforce.com
    Step 2: Create a SF Console App
    Step 3: Choose its display
    Step 4: Customize push notifications
    Step 5: Grant users Console Access – Sc User

    Thanks.

Page 8 of 21