Forum Replies Created

Page 17 of 53
  • Parul

    Member
    September 22, 2018 at 4:54 pm in reply to: What’s the difference between Salesforce.com & Force.com?

    Force.com is the platform on which developers can build custom Salesforce application and thus a service offering of Salesforce. The exact difference between Salesforce.com and Force.com isexplained in the below paragraph. Salesforce is the company (Salesforce.com) which provides cloud computing services.

  • Parul

    Member
    September 22, 2018 at 4:52 pm in reply to: What is SOQL used for in Salesforce?

    SOQL:
    1) SOQL (Salesforce Object Query Language ) retrieves the records from the database by using “SELECT” keyword.
    2) By Using SOQL we can know in Which objects or fields the data resides.
    3) We can retrieve data from single object or from multiple objects that are related to each other.
    4) We can Query on only one table.

  • Parul

    Member
    September 22, 2018 at 4:52 pm in reply to: Can you name three types of object relationships available in Salesforce?

    lookup relationship

    master-detail relationship

    many-to-many relationship

  • Parul

    Member
    September 22, 2018 at 4:48 pm in reply to: Does Lightning Work With Visualforce in Salesforce?

    Lightning Components run at the client-side, in a single page (where they are created and destroyed as needed), and alongside other components that work on the same data. In this blog post, we discuss how these characteristics impact performance, and review a list of best practices to optimize the performance of your Lightning Components.

  • it's not necessary we create component bundle

  • Parul

    Member
    September 22, 2018 at 4:38 pm in reply to: What Is Salesforce Lightning Experience?

    Some of the benefits are of  Lightning Experience:-

    Quick App-Building
    Making the App Home to your Company
    Innovation through Components
    Unify the user experience
    It also includes a performance chart and calendar feature, all to help reps stay organised and find and digest data more easily.

  • Parul

    Member
    September 22, 2018 at 4:38 pm in reply to: How Can We Deploy Components To Production Org in Salesforce?

    Yes, we can deploy using managed packages, Force.com IDE. Force.com ,Migration tool

  • Lightning Experience is the name for the all new Salesforce desktop app, with over 25 new features, built with a modern user interface and optimized for speed.

    Lightning Experience: It’s the new, slick user interface and the Lightning Component framework is a UI framework for developing dynamic web apps for mobile and desktop devices. Lightning makes it easier to build responsive applications for ANY DEVICE. The initial release of the new user interface is geared towards sales reps with an intuitive interface that allows sales reps to work more efficiently. The dashboard and charts in Lightning Experience behave much like Wave where changes in the chart recalculates in real time

     

    Thanks

  • <ul class="slds-list--horizontal slds-has-dividers_around-space" onclick="{!c.click}">

    <lightning:layout >
    <lightning:layoutItem size="3" padding="around-small">
    <div class="img " >
    <img  style="height: 100px;" src="/resource/Images/Assets/1.png"  />
    <h1>TEXT1</h1>
    </div>
    </lightning:layoutItem>
    <lightning:layoutItem size="3" padding="around-small">
    <div class="img1" >
    <img style="height: 100px;" src="/resource/Images/Assets/2.png"  />
    <h1>TEXT2</h1>
    </div>
    </lightning:layoutItem>
    <lightning:layoutItem size="3" padding="around-small">
    <div class="img2" ><img style="height: 100px;" src="/resource/Images/Assets/3.png" align="middle" />
    <h1>TEXT3</h1>
    </div>
    </lightning:layoutItem>
    <lightning:layoutItem size="3" padding="around-small">
    <div class="img3"  style="text-align: left">
    <img style="height: 100px;" src="/resource/Images/Assets/4.png"/>
    <h1>TEXT4</h1>
    </div>
    </lightning:layoutItem>
    </lightning:layout>

    </ul>

    Controller.Js

    click:function(component,event,helper){

    var evt = $A.get("e.force:navigateToComponent");
    evt.setParams({
    componentDef : "c:Component2",

    });

    evt.fire();
    }

    Thanks

  • Parul

    Member
    September 22, 2018 at 4:27 pm in reply to: What is the difference between Salesforce Lightning tags and Force tags?

    Visualforce and Lightning both offer ways to design and create custom interfaces for Salesforce.
    Visualforce was designed to follow a Page-Centric model. This means that the intent of Visualforce was to create something that was your full page interface with Salesforce. When the user needed to perform some kind of operation, like Save a record, it would send that request to the Salesforce servers and then reload the entire page with the new state of the UI. All backend processing is done with Apex Code on the Server-Side. You have the option to inject JavaScript into the mix to handle some of the Client-Side processing, but it isn't the default interaction methodology. Visualforce was also primarily built for Desktop. When Visualforce was first launched back in 2008 the iPhone had been out for about a year. The concept of designing things "mobile first" hadn't yet been realized, this would come a few years later.
    Visualforce also uses an HTML-like markup language for designing the pages and Apex code to handle the database operations. Here is a breakdown of what you have with Visualforce pages:
    Visualforce Page - HTML-like markup language used to design the layout of the page.
    Standard Or Custom Controller - Apex Code to handle Server-Side operations executed from the Visualforce page (EX: CRUD operations).
    Optional: CSS Styling - Style your Visualforce page to look a specific way within the header or by file reference.
    Optional: JavaScript - Used to handle Client-Side processing or to be coupled with CSS for a cosmetic revamp of the UI.
    Optional: Apex Extensions - These are used to perform logical operations that are not housed within the standard or custom controller.

  • Parul

    Member
    September 22, 2018 at 4:24 pm in reply to: What is the difference between a lightning tag and UI tags in Salesforce?

    You can find base Lightning components in the lightning namespace to complement the existing ui namespace components. In instances where there are matching ui and lightning namespace components, we recommend that you use the lightning namespace component. The lightning namespace components are optimized for common use cases. Beyond being equipped with the Lightning Design System styling, they handle accessibility, real-time interaction, and enhanced error messages.

  • Parul

    Member
    September 22, 2018 at 4:24 pm in reply to: What is the difference between Lightning Tags and UI tags in Salesforce?

    A lightning tag has inbuilt SLDS we do not need to put extra effort to improve the look and feel, also it has may awesome tags to handle the Error or bad inputs. Error handling is very easy for lightning tags.

  • Yes, we can call using aura methods.

  • Parul

    Member
    September 22, 2018 at 4:15 pm in reply to: Can we use Lightning Component into Salesforce VF page? If yes how?

    There are three steps to add Lightning components to a Visualforce page.Add the Lightning Components for Visualforce JavaScript library to your Visualforce page using the <apex:includeLightning/> component.
    Create and reference a Lightning app that declares your component dependencies.
    Write a JavaScript function that creates the component on the page using $Lightning.createComponent().

  • You can use in this case force:appHostable to implement so that you can use the lightning component as the quick action.

  • You can use in this case force:lightningQuickAction to implement so that you can use the lightning component as the quick action.

  • I think its through an error of copy id's on this case because if you can upsert task it is not useful to refresh the task with the same id.

  • I think when we need to play out an activity and any action use workflow

    Thanks

  • Parul

    Member
    September 22, 2018 at 4:06 pm in reply to: How can we Develop Visualforce Pages in Salesforce?

    Ex:

    You can display a canvas app on a Visualforce page in a number of ways. These examples show the different ways to reference the canvas app using applicationName, developerName, and namespacePrefix.

    <apex:tagName uniqueProperty="value" uniqueProperty="{!controllerData}">
    Content here inherits the tag properties
    </apex:tagName>

  • I think we can use Trigger can use in this case

  • Parul

    Member
    September 22, 2018 at 3:57 pm in reply to: What is Overloading in Salesforce Apex?

    Overloading happens at compile-time while Overriding happens at runtime:
    Overloading is being done in the same class while for overriding base and child classes are required Overriding is all about giving a specific implementation to the inherited method of parent class.
    Performance: Overloading gives better performance compared to overriding. The reason is that the   binding of overridden methods is being done at runtime.
    Private and final methods can be overloaded but they cannot be overridden and in Apex, all methods and classes are final by default. So to override a class or a method we have to used virtual and override keyword.

  • apex:ActionSupport: This component adds Ajax request to any other Visualforce component. Example : Commandlink button has inbuilt AJAX functionality however few components like OutputPanel does not have inbuilt AJAX capabilities. So with the help of this component, we can enable AJAX.

    <apex:outputpanel id=”counter”>
    <apex:outputText value=”Click Me!: {!count}”/>
    <apex:actionSupport event=”onclick” action=”{!incrementCounter}” rerender=”counter” status=”counterStatus”/>
    </apex:outputpanel>

    apex:ActionPoller: This is timer component which can send AJAX request on pre-defined interval. Minimum interval is 5 sec and default is 60 sec.
    <apex:actionPoller action=”{!incrementCounter}” rerender=”counter” status=”counterStatus” interval=”50″ />

  • Parul

    Member
    September 22, 2018 at 3:56 pm in reply to: What is Apex Test Execution in Salesforce?

    While making Run all test call, the job is queued for test run calculations, but for deployment to production, as its synchronous and "run all test" is always "true" in background, so, test classes must have to run to validate if components going in production are valid or not. This is one of the major the control check salesforce have imposed to make sure all the production instances have valid code on cloud.

  • Parul

    Member
    September 22, 2018 at 3:54 pm in reply to: What is Overriding in Salesforce?

    It is an object-oriented programming that enables the child class to provide different implementation for a method that is already implemented in its parent class.

    This is possible through only inheritance
    Multiple methods containing same name, same signature is inherited (virtual) and another is originated (over ride) in the child class

    Thanks

  • Parul

    Member
    September 22, 2018 at 1:33 pm in reply to: In What Order Do Methods Fire Within A Salesforce Controller?

    The constructor is fired after that the order is in the order that the methods are called by the page. Setters methods are called before action methods, but there is no guarantee of the precise order.

     

    Thanks

Page 17 of 53