Navigate One Component to Another Component in Lightning Component

Lightning Component:- Component1 <aura:component implements=”force:appHostable”> <aura:attribute name=”Txt” type=”String” default=””/> <div class=”slds-box slds-theme_default”> This is component 1.<br/><br/> <lightning:input type=”text” value=”{!v.Txt}” label=”Enter Text : “/><br/><br/> <lightning:button variant=”brand” label=”Navigate” onclick=”{!c.navigateToCompTwo}”/> </div> </aura:component> Component1Controller.js […]

Pass Data One Page to Another Page using Lightning in Community

Lightning Componet:- “ValidationComponent”<aura:component implements=”force:appHostable,lightning:isUrlAddressable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:lightningQuickAction,lightning:actionOverride” access=”global” ><lightning:navigation aura:id=”navService” /><lightning:layout ><lightning:layoutItem flexibility=”auto” size=”4″ smallDeviceSize=”12″ mediumDeviceSize=”6″ largeDeviceSize=”4″ padding=”horizontal-large”><lightning:input type=”text” value=”” label=”Name” aura:id=”NameId” required=”true” messageWhenValueMissing=”Name Required!!!” maxlength= “10” class=”font”/></lightning:layoutItem></lightning:layout><div style=”text-align:center”><lightning:button aura:id=”btnSubmit” variant=”brand” label=”Submit” onclick=”{!c.Submit}”/></div> […]

Aura Method,Component Event, Radio Group, Pass Data Parent Component to Child Component and Access Child Component Data to Parent Component in Lightning Component

Apex Class:- QuestionPageController public class QuestionPageController { @AuraEnabledpublic static string getQuizResponse(){ try{ return testParse();}catch(Exception ex){system.debug(‘>>>>>getQuizResponse Error>>>>>> ‘ + ex.getMessage() + ‘ >>>>Line Number>>>> ‘ + ex.getLineNumber());throw new AuraHandledException(‘System Error, Please […]