Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
135 views

Visualforce handler not invoked when event fired in aura component

I'm using an aura component in a visual force page. Aura Component: RichInputText.cmp <aura:component> <aura:attribute name="bodyVal" type="String" /> <!-- ...
Ibrahim Ahmed's user avatar
0 votes
0 answers
166 views

Why shows this error in Aura lightning Events?

ChildCompo:- <aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,...
Crazy XYZ's user avatar
0 votes
1 answer
2k views

How to pass Object type attribute value from child to parent in Aura?

On clicking of a button in child Component I'm passing the "Object and String" type attribute values from Child to Parent using the Component Event. The Problem here is I'm not able to ...
user111359's user avatar
1 vote
2 answers
3k views

Component is not refresh during 2nd attempt after clicking on new button

I have overridden Standard New button on lead object with Aura Component and this Aura calls LWC which contains record edit form to create new lead record. I have 2 record types Record Type 1 & ...
SFDCDJ's user avatar
  • 1,926
0 votes
1 answer
924 views

$A.get("e.force:navigateToURL") not firing in lightning out - Needs Alternative

I have embedded the lightning component into my VF page. In the lightning component I am using $A.get("e.force:navigateToURL"); to navigate to a URL. Since I am calling the lightning ...
vara's user avatar
  • 85
0 votes
0 answers
147 views

Highlight the Validation Error on the corresponding Field

Can anyone tell how the implementation of highlighting the validation error at field level can be achieved using Lightning Aura Components? I have tried using validity functionality option in my code ...
Salesforce Developer's user avatar
0 votes
1 answer
370 views

Lightning component: component visible event

I have an aura component for case in service console. For every case tab opened, an instance of the component is created. I need a way to know when a component becomes "visible" or "...
Jonathan P's user avatar
0 votes
1 answer
448 views

Refresh the classic record page after record created in LWC

I have created a Quick action of type VF page, Where it is calling Lightning Component APP. This Lightning component APP is calling LWC. Whenever a record gets saved, then i need to refresh the whole ...
anji reddy's user avatar
0 votes
1 answer
443 views

Event not handled

I tried to create 2 component event just to see the difference but just the same seems like doesn't work for me. No error but was not handled on child component handleRowAction : function(component, ...
mayan's user avatar
  • 9
0 votes
1 answer
1k views

Aura Component Event Propagation Example

I am trying to study and understand component event propagation from here - https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/events_component_bubbling.htm The theory is ...
Prateek Mathur's user avatar
0 votes
1 answer
772 views

Cannot fire event in Aura after clicking browser back button (Unable to fire event. Event has already been fired.)

I have a custom component button called Hello.cmp which opens a popup modal. The modal has multiple buttons called navA and navB which navigates to different page. The navA and navB are other custom ...
lambad's user avatar
  • 385
2 votes
2 answers
566 views

Aura event not being caught

I have an onMouseover function that fires and event to another component within an app. The event is firing correctly but the other component is not 'listening' to the event. None of the code in the ...
Rory's user avatar
  • 469
2 votes
1 answer
370 views

Aura Component could not catch a component event triggered from a child Aura component

Lightning Event: tripEventer, attribute - trip, Trip__c Component Item: <aura:registerEvent name="openTripEvent" type="c:tripEventer"/> <lightning:button class="slds-align_absolute-...
Ivan S.'s user avatar
  • 349
0 votes
2 answers
6k views

How to force width resizing of lightning:datatable?

I've structured a component in a way that either a lightning:datatable aura component or a lightning:dualistbox. The dual list box is used to set the columns attribute of the data table. The issue is ...
gvgramazio's user avatar
1 vote
1 answer
2k views

Passing mutiple attributes to Application type event and handling the event in multiple components

Here is what I am trying to do. I have components A, B, C all on the Home page and there is another component D which has few Aura:If blocks to display differnt blocks as needed. I am using a few ...
P.Shri's user avatar
  • 69
1 vote
1 answer
260 views

Where are events registered with aura:registerEvent documented in the component spec?

This is a seemingly simple question that maybe someone can help me with: the <aura:registerEvent /> tag has a "description" attribute. Based on the way other tags are documented (e.g. <aura:...
no_stack_dub_sack's user avatar
0 votes
1 answer
889 views

loop through components looking for data in it

im building a list that people select only a single item which works in a limited capacity but reloading or re-selecting isnt very user friendly. the basic concept is a controller retrieves selections,...
textual's user avatar
  • 311
5 votes
5 answers
12k views

Cannot read property 'config' of undefined

I get this error just randomly: Uncaught Error in $A.getCallback() [Cannot read property 'config' of undefined] Callback failed: apex://taskKanbanController/ACTION$getKanbanWrap Here's the relevant ...
Sairisheek Muttukuru's user avatar
0 votes
2 answers
1k views

Salesforce Lightning: How to save attribute values of a child component in a parent component when a button on the parent component is clicked?

I have a parent component which iterates over a child component and has a save button. Parent.cmp: <aura:attribute name="casAgentList" type="Availability_Of_CAS_OneMDCS__c[]"/> ... <...
nishi gupta's user avatar
10 votes
0 answers
383 views

Make custom, in-memory "Lightning Data Service" work

Lightning Data Service is great. Multiple components are magically linked to database records. When records change in the db component show that change. Imagine this to work without saving change to ...
Robert Sösemann's user avatar
2 votes
0 answers
723 views

aura:valueChange event gives a proxy object with Map attributes

I'm working on my first non-trivial aura component for a lightning experience app, and I was trying to organize sub-component data using map attributes of essentially this pattern: <aura:component&...
Cappielung's user avatar
2 votes
1 answer
2k views

How to handle an event in a child component that is fired from a dynamically created grandchild component?

I have a component that includes a child component. The child component has a button that fires showCustomModal on an overlayLibrary and the content is a dynamically created component. Component ...
Carl Otto Gjelsvik's user avatar
0 votes
0 answers
424 views

Aura event recordSave not available after reloading the Page (Browser tab refresh)

I am using Component force:recordEdit in my lightning component cmpA to show standard Record Edit page and to handle event force:recordSaveSuccess (Successful Save). Custom component cmpA is being ...
Sriram's user avatar
  • 701
3 votes
2 answers
3k views

Communication between parent and child Lightning components during initialization

I'm building a component structure of the kind <c:parent> <c:child name="xyz" /> </c:parent> and I need the parent to know about its children. Why, because the parent is ...
Robert Sösemann's user avatar
5 votes
1 answer
635 views

Which force:* events must I declare as <aura:dependency>

I'm confused when to use <aura:dependency resource="force.."> and when not? If my component is using on of the following system events does it need to be explicitly declared as dependency? ...
Robert Sösemann's user avatar
2 votes
0 answers
247 views

Strange availability of force:navigateToSObject events in lightning component

I'm currently facing a really strange behaviour during Lightning component developement. I created a react app that runs inside a simple lightning component, which only provides the style and script ...
Florian Gümbel's user avatar
4 votes
1 answer
3k views

How to find out when force:editRecord dialog is closed after saving changes?

I have an appHostable component that I exposed as custom lightning component tab and added to one of my lightning applicaitons (lightning nav bar). The component is trying to use force:editRecord ...
Artur's user avatar
  • 684
2 votes
0 answers
116 views

Access to the $A aura object inside a softphone

I'm trying to integrate my softphone (which uses the Lightning OpenCTI framework from api/38.0/lightning/opencti.js) with a home-made lightning component. I've got everything set up and the lightning ...
Claudiu Apostol's user avatar
5 votes
2 answers
20k views

How to get parent lightning component's attribute in child component?

I have a parent component name "ParentComp" which has 3 attributes A,B and C of type String. I have a nested component "ChildComponent". I want to change the value of parent component's attribute B ...
Pranay Jaiswal's user avatar