Forum Replies Created

Page 6 of 6
  • Anjali

    Member
    July 17, 2018 at 11:49 am in reply to: Init() in salesforce

    Hello Madhulika,

    We use Init() event to initialize a component or fire an event after component construction but before Rendering.

    aura:init always runs first, as it runs the moment the component is constructed.

    In component source we use-

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

    Client side Controller source we use-

    doinit:function(component,event,helper)

     

  • Anjali

    Member
    July 17, 2018 at 9:23 am in reply to: How can we preview a page using Salesforce lightning component?

    Hello Anurag

    For previewing the page you have to create a dummy app and put the component directly in the app.

    Example:

    <aura:application >
    <c:AccountList/>
    </aura:application>

    here AccountList is the component name.

  • Anjali

    Member
    July 17, 2018 at 9:07 am in reply to: What are the limitations of Lightning Experience in Salesforce?

    Hello Shradha

    Lightning Experience does not support certain aspect of salesforce setup like-

    • Information about an org’s Salesforce edition isn’t visible in Lightning Experience.
    • Langauages that are read from right to left,including Arabic are not supported in it.
    • Advanced currency management, or dated exchange rates, isn't supported in general. But opportunities display the correct amount if the Close Date field is on a page layout for opportunities.Because page layouts control who sees what on object records, only users who have this page layout assigned to them see the correct amount.

    These are the Limitation of Lightning Experience in Salesforce

  • Anjali

    Member
    July 10, 2018 at 1:51 pm in reply to: What do you mean by idempotent operation in Salesforce REST API?

    Idempotent operation in rest API are-

    • GET
    • PUT
    • DELETE
    • HEAD
    • OPTIONS
    • TRACE

    POST is not an idempotent operation in rest API

  • Anjali

    Member
    July 10, 2018 at 1:43 pm in reply to: In how many ways we can invoke the Salesforce Apex Class?

    Ways to invoke apex class are

    • Call from Trigger
    • Call from another Apex class
    • Schedule a batch class
    •  Invoke from the Console
    • External WEB service call
    • Javascript using custom button
  • External ID in salesforce is unique identifier for data used from outside world.

Page 6 of 6