Forum Replies Created

Page 36 of 53
  • Parul

    Member
    September 18, 2018 at 3:49 am in reply to: What are Enterprise and Partner WSDL in Salesforce?

    To add more points;-

     

    With the Partner WSDL, the client code can automatically adapt with no need for the Partner WSDL to be generated again and then run through client code generation tools. The client can also be used with different orgs because of this adaptability. The client code is harder to write but the solution typically requires less maintenance over time.

    With the Enterprise WSDL, field names and types and object names are hard wired into the generated WSDL and therefore into the generated client code. While this makes the client code easier to write, it also means the Enterprise WSDL and client code generation need to be redone when change happens. So good for working with a single org where nothing changes.

     

    Hope this will help you.

     

    Thanks

  • Parul

    Member
    September 18, 2018 at 3:47 am in reply to: What are Enterprise and Partner WSDL in Salesforce?

    Hi

    Enterprise WSDL:

    • The Enterprise WSDL is strongly typed, which means that it contains objects and fields with specific data types, such as int and string.
    • The Enterprise WSDL document is for customers who want to build an integration with their Salesforce organization only.
    • Customers who use the enterprise WSDL document must download and re-consume it whenever their organization makes a change to its custom objects or fields or whenever they want to use a different version of the API.

    Partner WSDL:

    • The Partner WSDL is loosely typed, which means that you work with name-value pairs of field names and values instead of specific data types.
    • This WSDL document is for customers, partners, and ISVs who want to build an integration that can work across multiple Salesforce organizations, regardless of their custom objects or fields.
    • The Partner WSDL is static, and hence does not change if modifications are made to an organization’s Salesforce configuration.

    Thanks

  • Parul

    Member
    September 18, 2018 at 3:43 am in reply to: What is Entry Event in Salesforce?

    Entry event that allows creating unique journey results using transaction keys as mentioned in the marketing cloud.

    The entry event on the cloud in Journey Builder where customers entering this journey come from. Each journey must include an entry source. It can be shared more than one journey.Set event availability to give marketers in your organization access to entry events.

     

    Thanks

     

     

  • Advertising Studio from Salesforce Marketing Cloud connects your advertising with your marketing and CRM data to create personalized, 1:1 customer journeys. It Engage customers with relative content  and timely messages and find new customer with similar attribute.

     

    Thanks

  • Parul

    Member
    September 18, 2018 at 3:17 am in reply to: What is the difference between Pardot and Marketing Cloud in Salesforce?

    HI

    Pardot:

    Pardot is a marketing automation and lead management software that helps you to set up, deploy, and handle online marketing campaigns to boost your company’s revenue.

    Pardot is a B2B company that sends out scheduled email campaigns and takes advantage of automation strategies like drip campaigns that keep the company fresh in the collective mind of the business they are marketing to.

    Marketing Cloud:

    Marketing Cloud is a platform, businesses can easily create and maintain a very strong presence in the social media.

    Marketing Cloud client is a B2C company that sends out scheduled email campaigns and utilizes drip automation programs as well as more specialized email services such as transactional emails and triggered emails.

     

    Thanks

  • Parul

    Member
    September 18, 2018 at 3:10 am in reply to: What is List Class in Salesforce?

    A list is an ordered collection of elements that are distinguished by their indices. List elements can be of any data type—primitive types, collections, sObjects, user-defined types, and built-in Apex types.

    Lists can contain any collection and can be nested within one another and become multidimensional. For example, you can have a list of lists of sets of Integers. A list can contain up to four levels of nested collections inside it, that is, a total of five levels overall.

    To declare a list, use the List keyword followed by the primitive data, sObject, nested list, map, or set type within <> characters.

    Ex:

    // Create an empty list of String
    List<String> my_list = new List<String>();
    // Create a nested list
    List<List<Set<Integer>>> my_list_2 = new List<List<Set<Integer>>>();

     

    Thanks

  • Parul

    Member
    September 18, 2018 at 3:08 am in reply to: What is lightning out in Salesforce?

    Hi

    Lightning Out is a feature that extends Lightning Apps and acts as a bridge to surface Lightning Components in any remote web container. This means you can use your Lightning Components inside of an external site (i.e. Sharepoint or SAP), in a hybrid app built with the Mobile SDK, or even elsewhere in the App Cloud like on Heroku or in a Visualforce (VF) Page.

     

    Hope this will help you.

  • Parul

    Member
    September 18, 2018 at 3:06 am in reply to: What is the purpose of custom domain in Salesforce?

    HI

    Implementing a custom domain for your site creates brand recognition and gives you additional control and functionality. We'll go through how you can get your custom domain implemented.

    1. Click Setup.
    2. Under "Administer," click Domain Management | click Domains.
    3. Click Add A Domain.
    4. Copy the 18 digit token. This token is case sensitive so copy it exactly as displayed.

    MyDomain is a custom URL to directly log-in to your Salesforce Instance rather than going through https//login.Salesforce.com. You can go through either one to reach your instance, but it allows for custom branding of the log-in experience and also provides a namspace for any Lightning Components in your Org.

    1. Click Setup.
    2. Under "Administer," click Domain Management | click Domains.
    3. Click Add A Domain.
    4. Copy the 18 digit token. This token is case sensitive so copy it exactly as displayed.

    Benefits of create Custom Domian:

    • We can create our own custom URL
    • We can set custom login policies.
    • We can brand salesforce login page screen

    Hope this will help you.

    Thanks

  • Parul

    Member
    September 18, 2018 at 2:50 am in reply to: Init() in salesforce

    Hi.

    <aura:handler name=”init” value=”{!this}” action=”{!c.doInit}”/>

    This registers an init event handler for the component.

    init is a predefined event sent to every component.

    After the component is initialized, the doInit action is called in the component’s controller.
    In this sample, and the controller action sets an attribute value, but it could do something more interesting,
    such as firing an event.Setting value=”{!this}” marks this as a value event. You should always use this setting for an init event.

     

    THanks

  • Parul

    Member
    September 18, 2018 at 2:48 am in reply to: What is the init() function in Salesforce Lightning?

    Hi.

    <aura:handler name="init" value="{!this}" action="{!c.doInit}"/>

    This registers an init event handler for the component.

    init is a predefined event sent to every component.

    After the component is initialized, the doInit action is called in the component's controller.
    In this sample, and the controller action sets an attribute value, but it could do something more interesting,
    such as firing an event.Setting value="{!this}" marks this as a value event. You should always use this setting for an init event.

     

    THanks

  • Parul

    Member
    September 18, 2018 at 2:44 am in reply to: Why we can't use DML before trigger in Salesforce?

    The idea is to help avoid recursion. You cannot perform DML on the records which are stored in the trigger context variables. You can however retrieve them using the Ids (or create a new object referring to that record with the same Id ) and then update this. You still have to manage recursion properly though by using a static variable which can be resued over the contexts. For example:

     

    Trigger AccountTrigger on Account (after insert) {

    if(isAfter() && isInsert()){
    AccountTriggerHelper.performAfterInsert();
    }
    }

    public class AccountTriggerHelper {

    public static boolean isExecuting = false;

    public static void performAfterInsert(){

    if( TriggerHelper.isExecuting ){
    // if was executed during the same context
    // avoid recursion
    return;
    }

    TriggerHelper.isExecuting = true;

    //list of new instance of object to update.
    Account[] accounts = new Account[]{};

    for (Account a: Trigger.new) {
    //here the magic by creating a new instance using the same id
    Account aux = new Account(Id = a.Id);
    aux.Name = a.Id + 'Value forced to be set after by an extrange req';
    }
    //then update the new instance list.
    update accounts;

    }

    }

     

    Hope this will you.

     

    Thanks

  • Parul

    Member
    September 18, 2018 at 2:42 am in reply to: What is utility class in Salesforce?

    Hi

    The purpose of a utility class is to serve as a single one-stop-shop for reusable pieces of code. Basically any variable, method, inner class and whatever it might be that is used multiple times across multiple other classes within the project, can reside into a single (or multiple) utility class(es), which helps writing more elegant and structured code, as well as makes the code easier to maintain.

     

    Thanks

  • Parul

    Member
    September 17, 2018 at 6:23 pm in reply to: Automate the approval process?

    Hi,

    You can Automate the approval process with the help of process builder. Create New process on Opportunity in the process builder with the entry criteria ‘Fire Custom Apprvoal’ checkbox true and in the Immediate Actions create new ‘Submit for Approval’ Action.

     

    Thanks

  • Parul

    Member
    September 17, 2018 at 6:19 pm in reply to: Difference between Dev-401 & Developer-1 Certification.

    Dev(401)- for App Builder.

    And with Developer-1 I think with this you want to specify PD-1 certification.

     

     

    Thanks

  • System.assertEquals() is used to validate two values are equal. Basically it is used in test method. This method asserts that the first two arguments, x and y are the same, if they are not a runtime exception is thrown.

    Signature of this method:
    Public static void assertEquals(Object expected, Objecet actual, object msg)

     

    Thanks

  • Parul

    Member
    September 17, 2018 at 6:02 pm in reply to: What is the use of System.assertEquals() in Salesforce?

    Hi

    System.assertEquals() asserts that the first two arguments are the same. if they are not same, a fatal error is returned that causes code execution halt.

    Signature of this method:
    Public static void assertEquals(Object expected, Objecet actual, object msg)

    This method is having three parameters, one is expected which is a type of object, second one is actualwhich is also type of object and the other one msg which is optional and type of object.

     

    Thanks

  • Parul

    Member
    September 17, 2018 at 5:57 pm in reply to: What are some use cases for using the Schema class in Salesforce?

    Contains methods for obtaining schema describe information. Schema Is data about data. SObjectType is used to check the object type. Pleas try below code it will give you list of object in your org
    For ex:

    Map <String, Schema.SObjectType> schemaMap = Schema.getGlobalDescribe();
    List<String> entities = new List<String>(schemaMap.keySet());
    For(String name : entities)
    {
    System.debug('----->'+name);
    }

     

    Thanks

  • Parul

    Member
    September 17, 2018 at 5:39 pm in reply to: Cloud Flow Designer

    Cloud Flow Designer—a point-and-click tool for building flows.

    Steps to create Cloud Flow Designer

    • Open the Cloud Flow Designer. From Setup, enter Flows in the Quick Find box, then select Flows, and then click New Flow.
    • Drag the appropriate elements onto the canvas.
    • Connect the elements together so that it’s clear what the order of the elements is.
    • Identify which element the flow should start with when it runs.
    • Save any changes that you made to the flow.
    • Test the flow to make sure it’s working as you expect it to.
    • Activate the flow so that users can run it.
    • Distribute the flow to the appropriate users.

    Thanks

  • Parul

    Member
    September 17, 2018 at 5:33 pm in reply to: Can we include one lightning component to another ?

    Hi

    Yes, you can include one lightning component to another as a parent and child component.

    for examp:

    <aura:component >

    <lightning:tabset selectedTabId="openCases">

    <lightning:tab label="Open Cases" id="openCases">
    <c:Medicine_Community_Case_Component_Datatable caseType="open"/> // child component.
    </lightning:tab>

    </aura:component >

    For more detail, you can refer blog.

     

    Thanks

  • Parul

    Member
    September 17, 2018 at 5:21 pm in reply to: lightning:card in salesforce.

    Hi

    A lightning:card component is a group of related information in an article HTML tag.lightning:card uses the styling from Cards in the Lightning Design System.

    Example how to use Card

    <lightning:card title=”Potential Duplicates” iconName=”standard:contact” class=”slds-p-around_medium” >
    <lightning:datatable data=”{!v.mydata}” columns=”{!v.mycolumns}” keyField=”Id” hideCheckboxColumn=”true”/>
    </lightning:card>

     

    Thanks.

  • Parul

    Member
    September 17, 2018 at 2:10 pm in reply to: Type of events in Salesforce Lightning component?

    All we know, that we have 2 types of Events

    1. Application Event: 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.
    2. Component Event: A component event is fired from an instance of a component. A component event can be handled by the component that fired the event or by a component in the containment hierarchy that receives the event.

    All components inside the Application will get notified when Application event fires. where as Component event only those component will notify which are in hierarchy.

     

    Thanks.

  • Parul

    Member
    September 17, 2018 at 2:04 pm in reply to: What are the tools included in Salesforce lightning?

    Hi

    Lightning Component Framework – Components and extensions that allow you to build reusable components, customize the Salesforce1 Mobile App, and build standalone apps.
    Lightning App Builder – A new UI tool that lets you build apps lightning fast, using components provided by Salesforce and platform developers.
    Lightning Connect – An integration tool that makes it easier for your Force.com app to consume data from any external source that conforms to the OData spec.
    Lightning Process Builder – A UI tool for visualizing and creating automated business processes.
    Lightning Schema Builder – A UI tool for viewing and creating objects, fields, and relationships.

     

    Thanks

  • Parul

    Member
    September 17, 2018 at 1:57 pm in reply to: What is the use of Lightning card in Lightning Component?

    Hi

    A lightning:card component is a group of related information in an article HTML tag.lightning:card uses the styling from Cards in the Lightning Design System.

    Example how to use Card

    <lightning:card title="Potential Duplicates" iconName="standard:contact" class="slds-p-around_medium" >
    <lightning:datatable data="{!v.mydata}" columns="{!v.mycolumns}" keyField="Id" hideCheckboxColumn="true"/>
    </lightning:card>

     

    Thanks.

  • Parul

    Member
    September 17, 2018 at 1:46 pm in reply to: What is SAQL in Salesforce?

    This is new Query language for Analytics cloud to enable ad hoc analysis of data stored in dataset. SAQL is compositional and you can chain statements together to operate on data sequentially. The order of SAQL statements is enforced according to how the operations in the statements change the results of a query.

    The statement order rules:

    • The order of filter and order can be swapped because it doesn't change the results
    • offset must be after filter and order
    • offset must be before limit
    • There can be no more than 1 offset statement after a foreach statement

    Thanks

  • Parul

    Member
    September 17, 2018 at 12:02 pm in reply to: How do I prepopulate fields on a Standard layout?

    Hello Ravi,

    You can prepopulate fields on tha standard layout using Salesforce URL hacking. In this, you have to pass the values to the standard field id's in the url.

    NOTE: Since the Id is different from in production from Sandbox, so you need to store the value in custom setting.

    Thanks.

Page 36 of 53