New Batch#100 (10th Nov 2021) - Salesforce Admin + Dev Training (WhatsApp: +91 - 8087988044) :https://t.co/p4F3oeQagK

Lightning


35 comments:

  1. Dynamically Iterating field sets and displaying the records in aura components -
    http://salesforce.stackexchange.com/questions/104581/nested-auraiteration-to-dynamically-get-fields

    ReplyDelete
  2. Salesforce Lightning Ideas -
    http://www.johnbrunswick.com/2015/01/salesforce-lightning-example-ideas-experiment/

    ReplyDelete
  3. Referring Aura/Lightning Component in Eclipse -

    *
    AuraDefinitionBundle


    Note:
    1. Include above in package.xml which can find in the project folder.
    2. API version should be 36.0 or above.

    ReplyDelete
  4. Referring Aura/Lightning Component in Eclipse -
    types
    members*/members
    name AuraDefinitionBundle /name
    /types

    Note:
    1. Include above in package.xml which can find in the project folder.
    2. API version should be 36.0 or above.

    ReplyDelete
  5. To verify the performance of the lightning component
    https://developer.salesforce.com/blogs/developer-relations/2016/02/introducing-salesforce-lightning-inspector.html

    ReplyDelete
  6. Critical Scenario: Set collection is not working after summer'16 update
    Solution: Submitted a case with salesforce and they suggested to turn off 'Enable Lightning LockerService Security' critical update.
    Refer: https://developer.salesforce.com/forums/ForumsMain?id=906F0000000kDkOIAU

    ReplyDelete
  7. auro:if: Uncaught TypeError: Cannot read property 'childNodes' of null". This is lightning framework bug. so add a span tag surrounding aura:if.

    ReplyDelete
  8. img src="{!URLFOR($Asset.SLDS, 'assets/images/spinners/slds_spinner_inverse.gif')}"
    alt="Loading..." /

    ReplyDelete
  9. Known issue due to my case -
    https://success.salesforce.com/issues_view?id=a1p3A000000EAFyQAO&title=in-chrome-if-a-lightning-application-uses-localstorage-and-its-format-becomes-invalid-application-initialization-will-fail

    ReplyDelete
  10. Including Lightning Design System Styles in Lightning Application/Lightning Component:
    -------------------------------------
    aura:application extends="force:slds"

    ReplyDelete
  11. event.currentTarget.id --> To get the lightning icon button id

    ReplyDelete
  12. Lightning Tokens with Good Examples -
    http://www.sfdcmonkey.com/2016/12/30/use-token-lightning-component/

    ReplyDelete
  13. Renderer -
    https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/js_renderers.htm
    https://balkishankachawa.wordpress.com/2015/12/21/different-rendering-behavior-of-lightning-component/

    ReplyDelete
  14. Debugging Lightning Components -
    http://source.coveo.com/2016/12/05/debugging-lightning/

    ReplyDelete
  15. Exposing Lightning App in the Public Site:
    as part of spring 17 Lightning components can be added to unauthenticated sites using lightning out. below is the link

    https://releasenotes.docs.salesforce.com/en-us/spring17/release-notes/rn_lightning_apps_public.htm

    "Add the ltng:allowGuestAccess interface to your Lightning Out dependency app to make it available to users without requiring them to authenticate with Salesforce."

    ReplyDelete
  16. Difference between !v and #v in lightning component salesforce -
    https://salesforce.stackexchange.com/questions/138348/when-to-use-v-attrib-vs-v-attrib

    ReplyDelete
  17. To supply dynamic reference to the dynamic component -
    use cmp.getReference("v.attributeName") --> It will be supplying the reference.

    ReplyDelete
  18. Lightning Detail Screen -
    http://bobbuzzard.blogspot.in/2016/12/lightning-design-system-in-visualforce.html

    Visualforce with Lightning Experience automatically on switching to Lightning Experience -
    http://www.jitendrazaa.com/blog/salesforce/winter-18-automatic-styling-of-visualforce-pages-in-lightning-experience/

    ReplyDelete
  19. [9:31 PM, 11/30/2017] +91 80879 88044: https://webkul.com/blog/how-to-create-a-custom-button-on-record-page-in-lightning-experience/
    [9:31 PM, 11/30/2017] +91 80879 88044: https://salesforce.stackexchange.com/questions/179179/sobjectname-and-lightning-quick-action/179242

    ReplyDelete
  20. Custom Button alternative with Custom Action with Lightning Bundle -
    https://webkul.com/blog/how-to-create-a-custom-button-on-record-page-in-lightning-experience/
    https://salesforce.stackexchange.com/questions/179179/sobjectname-and-lightning-quick-action/179242

    ReplyDelete
  21. Lightning:Datatable to show the table with formatted data from API version 41.0.

    ReplyDelete
  22. Lightning:outputField --> to show data only by supplying the recordId.

    ReplyDelete
  23. Events propagation -
    https://developer.salesforce.com/blogs/developer-relations/2017/08/depth-look-lightning-component-events.html

    ReplyDelete
  24. https://releasenotes.docs.salesforce.com/en-us/spring18/release-notes/rn_lc_components.htm

    ReplyDelete
  25. Lightning Component for SVG -
    https://archive-2_1_4.lightningdesignsystem.com/resources/lightning-svg-icon-component-helper

    ReplyDelete
  26. document.getElementById('result').innerHTML = 'pre code'+JSON.stringify(res, undefined, 2)+'code pre';

    ReplyDelete
  27. never give javaScript function name and apex class method name as same which will lead to infinite calling the same function.

    ReplyDelete
  28. https://vlocity.com/community/omniscript-lightning-flow

    ReplyDelete
  29. VS Code for the direct Salesforce Org -
    http://amitsalesforce.blogspot.com/2018/12/salesforcedx-for-non-scratch-org-SFDX.html

    ReplyDelete
  30. * The connectedCallback() lifecycle hook fires when a component is inserted into the DOM.
    * The disconnectedCallback() lifecycle hook fires when a component is removed from the DOM.

    ReplyDelete
  31. if:false and if:true conditional directives

    ReplyDelete
  32. LightningElement is the base class for Lightning web components, which allows us to use connectedCallback().

    ReplyDelete
  33. The this keyword in JavaScript refers to the top level of the current context. Here, the context is this class.

    ReplyDelete
  34. Use @track only if a field contains an object or an array and if you want the framework to observe changes to the properties of the object or to the elements of the array. If you want to change the value of the whole property, you don’t need to use @track.

    ReplyDelete
  35. Prior to Spring ’20, you had to use @track to mark fields (also known as private properties) as reactive. You’re no longer required to do that. Use @track only to tell the framework to observe changes to the properties of an object or to the elements of an array.

    ReplyDelete

Labels