Posts

Showing posts from May, 2018

How to edit the records with a radio button in salesforce Lightning

Image
Basic1.cmp ----------- <aura:component controller="Contact_list" implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId, forceCommunity:availableForAllPageTypes,force:lightningQuickAction" access="global" >     <aura:handler name="init" value="{!this}" action="{!c.doinit}"/>     <aura:attribute name="Contact_list" type="list"/>     <aura:attribute name="Contact" type="Sobject"/>     <aura:attribute name="ShowNewItemPopUp" type="boolean"/>     <aura:attribute name="row" type="Integer"/>     <aura:registerEvent name="conDetail" type="c:sampleEvt"/>         <article class="slds-card  recept_head" style="margin-top:20px;background-color:#f2f2f2;">         <div class="slds-card__header slds

How to show and hide the form in Salesforce Lightning

Component1 ---------- <aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes" access="global"                 controller="AccController">   <aura:attribute name="acc" type="Account"  default="{'sobjectType':'Account',                                                            'Name':'',                                                             'Email__c':'',                                                           'Site':'',                                                         'AccountNumber':''}"/>     <div align="center">                     <lightning:button label="Cancel" onclick="{!c.Cancel}" />                  <lightning:button label="view" on