Dynamically Iterating field sets and displaying the records in aura components - http://salesforce.stackexchange.com/questions/104581/nested-auraiteration-to-dynamically-get-fields
To verify the performance of the lightning component https://developer.salesforce.com/blogs/developer-relations/2016/02/introducing-salesforce-lightning-inspector.html
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
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
Including Lightning Design System Styles in Lightning Application/Lightning Component: ------------------------------------- aura:application extends="force:slds"
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
"Add the ltng:allowGuestAccess interface to your Lightning Out dependency app to make it available to users without requiring them to authenticate with Salesforce."
Difference between !v and #v in lightning component salesforce - https://salesforce.stackexchange.com/questions/138348/when-to-use-v-attrib-vs-v-attrib
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/
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
* 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.
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.
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.
Dynamically Iterating field sets and displaying the records in aura components -
ReplyDeletehttp://salesforce.stackexchange.com/questions/104581/nested-auraiteration-to-dynamically-get-fields
Salesforce Lightning Ideas -
ReplyDeletehttp://www.johnbrunswick.com/2015/01/salesforce-lightning-example-ideas-experiment/
Referring Aura/Lightning Component in Eclipse -
ReplyDelete*
AuraDefinitionBundle
Note:
1. Include above in package.xml which can find in the project folder.
2. API version should be 36.0 or above.
Referring Aura/Lightning Component in Eclipse -
ReplyDeletetypes
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.
To verify the performance of the lightning component
ReplyDeletehttps://developer.salesforce.com/blogs/developer-relations/2016/02/introducing-salesforce-lightning-inspector.html
Critical Scenario: Set collection is not working after summer'16 update
ReplyDeleteSolution: 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
auro:if: Uncaught TypeError: Cannot read property 'childNodes' of null". This is lightning framework bug. so add a span tag surrounding aura:if.
ReplyDeleteimg src="{!URLFOR($Asset.SLDS, 'assets/images/spinners/slds_spinner_inverse.gif')}"
ReplyDeletealt="Loading..." /
Known issue due to my case -
ReplyDeletehttps://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
Including Lightning Design System Styles in Lightning Application/Lightning Component:
ReplyDelete-------------------------------------
aura:application extends="force:slds"
event.currentTarget.id --> To get the lightning icon button id
ReplyDeleteLightning Tokens with Good Examples -
ReplyDeletehttp://www.sfdcmonkey.com/2016/12/30/use-token-lightning-component/
Renderer -
ReplyDeletehttps://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/
Debugging Lightning Components -
ReplyDeletehttp://source.coveo.com/2016/12/05/debugging-lightning/
Exposing Lightning App in the Public Site:
ReplyDeleteas 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."
Difference between !v and #v in lightning component salesforce -
ReplyDeletehttps://salesforce.stackexchange.com/questions/138348/when-to-use-v-attrib-vs-v-attrib
To supply dynamic reference to the dynamic component -
ReplyDeleteuse cmp.getReference("v.attributeName") --> It will be supplying the reference.
Lightning Detail Screen -
ReplyDeletehttp://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/
[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/
ReplyDelete[9:31 PM, 11/30/2017] +91 80879 88044: https://salesforce.stackexchange.com/questions/179179/sobjectname-and-lightning-quick-action/179242
Custom Button alternative with Custom Action with Lightning Bundle -
ReplyDeletehttps://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
Lightning:Datatable to show the table with formatted data from API version 41.0.
ReplyDeleteLightning:outputField --> to show data only by supplying the recordId.
ReplyDeleteEvents propagation -
ReplyDeletehttps://developer.salesforce.com/blogs/developer-relations/2017/08/depth-look-lightning-component-events.html
https://releasenotes.docs.salesforce.com/en-us/spring18/release-notes/rn_lc_components.htm
ReplyDeleteLightning Component for SVG -
ReplyDeletehttps://archive-2_1_4.lightningdesignsystem.com/resources/lightning-svg-icon-component-helper
document.getElementById('result').innerHTML = 'pre code'+JSON.stringify(res, undefined, 2)+'code pre';
ReplyDeletenever give javaScript function name and apex class method name as same which will lead to infinite calling the same function.
ReplyDeletehttps://vlocity.com/community/omniscript-lightning-flow
ReplyDeleteVS Code for the direct Salesforce Org -
ReplyDeletehttp://amitsalesforce.blogspot.com/2018/12/salesforcedx-for-non-scratch-org-SFDX.html
* The connectedCallback() lifecycle hook fires when a component is inserted into the DOM.
ReplyDelete* The disconnectedCallback() lifecycle hook fires when a component is removed from the DOM.
if:false and if:true conditional directives
ReplyDeleteLightningElement is the base class for Lightning web components, which allows us to use connectedCallback().
ReplyDeleteThe this keyword in JavaScript refers to the top level of the current context. Here, the context is this class.
ReplyDeleteUse @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.
ReplyDeletePrior 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