How to use multiple methods inside js controller lightning?
Sample Code: ({ storeTest : function(component, event, helper) { }, getTest : function(cmp, event) { // }, getTest1 : function(cmp, event) { ....
Sample Code: ({ storeTest : function(component, event, helper) { }, getTest : function(cmp, event) { // }, getTest1 : function(cmp, event) { ....
Add implements="flexipage:availableForAllPageTypes" access="global" to the aura:component tag to use Lightning Component in Lightning Builder. Cheers!!!
Sample code: String recordTyp = ApexPages.currentPage().getParameters().get('RecordType'); if ( String.isNotBlank(recordTyp) ) p.getParameters().put('RecordType',recordTyp); Cheers!!!
Sample Code: Component: <aura:component > <ui:inputNumber label="Contract No " aura:Id="contractNo" blur="{!c.validateContractNo}"/> </aura:component> Controller: ({ validateContractNo : function(component, event, helper) { var inputCmp = component.find("contractNo"); var value = inputCmp.get("v.value"); ....
The attribute should be label. It should not be Label. Make the attribute names in small letters. Don't capitalize the first character. Cheers!!!
Sample Code: <aura:application > <c:ContractNumber/> </aura:application> here ContractNumber is the name of the Lightning Component. Cheers!!!
Syntax: https://instance.lightning.force.com/NameSpacePrefix/AppName.app Sample URL: https://infallibletech-dev-ed.lightning.force.com/InfallibleTech/MyLightningApp.app
Sample Code: <ui:inputText label="Contract No" aura:id="contractNo"/> Cheers!!!
1. Go to Window --> Perspective --> Open Perspective --> Other. 2. Select Team Foundation Server Exploring and click Ok. 3. Click "Connect to Team Services or a Team Foundation ....
This is a know issue. Check the below link https://developer.salesforce.com/forums/?id=906F0000000AvH7IAK Raise a Salesforce.com support ticket to know more.