Questions tagged [aura]

Aura is an open source UI component framework for developing dynamic web apps for mobile and desktop devices. Aura provides a scalable long-lived lifecycle to support building apps engineered for growth. Aura supports partitioned multi-tier component development that bridges the client and server. It uses JavaScript on the client side and Java on the server side. Aura is the underlying technology behind Lightning Components in Force.com.

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

Event.Target.GetAttribute returns null

I'm creating and displaying lightning buttons in aura components dynamically. On click of each button, I'm trying to fetch its index using event.target.getAttribute. I'm able to get it but ...
sfdcdevsathy's user avatar
0 votes
1 answer
439 views

How to Increase the AURA Component Width while referred in a screen flow

I have a aura component which was being used as a Quick Action, but now am trying to use the same component in a screen flow by implementing lightning:availableForFlowScreens interface. In the flow ...
Rajasekhar's user avatar
  • 1,571
0 votes
1 answer
158 views

Help disabling calendar pop up

My client wants to use the date type on a lightning:input component, but wants the date picker calendar disabled. I have tried toying with the CSS, but that really isn't my strength. They're unwilling ...
user127622's user avatar
0 votes
1 answer
123 views

Can't get parameters on parent Aura from Child LWC event

So I have this code in my LWC const passRecId = new CustomEvent( 'passrecordid', { detail : recordId }); and I have this code on my aura (parent) getUserRecordId : function(component,event,helper){ ...
Snorlax's user avatar
  • 37
1 vote
0 answers
55 views

Canvas parameters being sent from Aura component intermittently

We have a Canvas App embedded in tab in a lightning page. The tab only consists of the Aura component which has the Canvas implemented. Aura Comp: <aura:component controller="...
SFDC_Dev's user avatar
  • 293
0 votes
1 answer
65 views

Set email body and subject in aura component lightning email tag

<lightning:formattedEmail value="[email protected][email protected]⊂ject=My%20subject &body=The%20email%20body" label="Send us your feedback&...
Harsh Kumar's user avatar
0 votes
2 answers
640 views

How to call a child LWC method from a parent Aura cmp?

I have an aura cmp(parent) that acts as a container for 2 LWC's(children). I am trying to call the handleAddToDashboard() method in the stockTracker_Dashboard LWC from the StockTrackerContainer aura ...
Tom's user avatar
  • 152
1 vote
1 answer
246 views

Show spinner for specific table row only?

I got a table with an account list, as such: <table> <aura:iteration items="{!v.accounts}" var="acc"> <tr> <td> <...
erikvm's user avatar
  • 711
0 votes
1 answer
222 views

Refresh Aura component when a standard field is saved on the record detail page

I have an aura component that has a few record edit form states and this needs to change when the stage field is changed when it is saved manually. How to achieve this? In other words I want to call ...
Akash's user avatar
  • 361
2 votes
1 answer
163 views

lightning:navigate causing infinite loading during init

I'm wrapping an LWC within an aura component. The aura component will be called from a global action. By default, this opens the docked composer at the bottom of the screen. My aura component is ...
Kelly Shoemake's user avatar
0 votes
0 answers
156 views

aura_prod.js:688 taking too long to load (salesforce)

The elements on the page only start to appear after this script ends and it takes too long. Has anyone had this problem?
Vini's user avatar
  • 1
0 votes
1 answer
245 views

Getting Error while tryig to save an aura component

I am new to Lightning Aura component and created a simple component to add 2 numbers. However while saving I am getting this error: Failed to save Add2Numbers_C.cmp: ParseError at [row,col]:[4,50] ...
Aritra Dasgupta's user avatar
0 votes
0 answers
118 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
192 views

Rows are NOT Delete in Table in Aura component?

When, I clicked the delete button but the record not delete ? Code:- <aura:component controller='AccToConActionInRow' implements="force:appHostable,flexipage:availableForAllPageTypes,...
Crazy Man's user avatar
0 votes
1 answer
577 views

Get RecordType's Name by RecordTypeId before record creation

I have an Aura component which wraps a couple of LWCs, which overrides 'New' Button of the listview. (From: Getting RecordTypeId selected from 'Record Type Selection' Page, in a lightning ...
MarcelloWrites's user avatar
0 votes
1 answer
2k views

html data event.target data is undefined in lightning aura component

I have the following html and javascript code. In the code below, the data-list-view-name at the li html attribute is specified and the onclick handleSelectListView. However, the javascript let ...
jojopogi's user avatar
  • 484
0 votes
1 answer
368 views

SLDS Page Header Object Home with List Box

I'm trying t create a custom lightning aura component that looks like below screenshot. I've used the Page Header Object Home in SLDS, as well as the listbox pattern from the combobox or picklist SLDS....
jojopogi's user avatar
  • 484
0 votes
1 answer
134 views

I want to use progress Indicator aura component and it should change according to lead stage field. Please suggest relevant approach

<lightning:progressIndicator currentStep="3" type="path" variant="base"> <aura:iteration items="{! v.stage.Lead_Stage__c }" var="stage"&...
Rohit Bhatia's user avatar
2 votes
2 answers
2k views

Access User Custom Permission in Aura Component?

What's the best way to check the running users custom permission in an Aura component? I can only find documentation around LWC but in this instance I have to use Aura.
jonny-harte's user avatar
0 votes
0 answers
145 views

Aura Component - Uncaught Error in $A.getCallback()

I have one Aura component created in 2019 by previous developer. This is dynamicPicklist which is taking records as values. Sometimes after refresh I am getting error: Uncaught Error in $A....
Dev098's user avatar
  • 1
0 votes
0 answers
414 views

how to create a search box filter using Aura component

I created a lightning data table using Aura component in that I also added the search box filter which is above the data table. when user enters some data in search box, then result should render in ...
user125411's user avatar
1 vote
1 answer
712 views

Nested Array: Filter on a String [] /Map doesn't return results as expected

The below lightning component renders data as parent-child fashion. When user search for a particular carrier name/provider it has to display only that carrier/provider data underneath. Problem is i ...
user28452's user avatar
  • 441
-1 votes
2 answers
485 views

The variable is getting overwritten?

I have the following code syntax and basically I'm trying to create a new array called dataDraft. For some reason, this code snippet below overrwrites the data, and the dataDraft is basically not ...
jojopogi's user avatar
  • 484
0 votes
1 answer
322 views

Aura component is loading only for first time from utility Item

I'm calling aura component from utility bar. On click of utility item for the first time it is loading and opening the aura component(from there using workspaceAPI.openTab & url as parameter ). ...
Honey's user avatar
  • 1
1 vote
1 answer
61 views

Can you create a record in Aura Silently?

I use an aura component as a Global Action, linking to an external website. I would like to track clicks of this action by creating a "clicktracker__c" record. Is it possible to create a ...
Ryan Sherry's user avatar
0 votes
1 answer
1k views

lwc lightning-datatable row level formatting

We have a requirement where we are displaying a datatable with checkboxes. Depending on the status of the record/row, then we would highlight that row and disable the "checkbox". For example ...
jojopogi's user avatar
  • 484
1 vote
1 answer
895 views

Override new button aura wrapper with lwc functions does not work

I am overriding new button with aura and using inside aura my lwc. But I cann't invoke any lwc fucntion. I added debug points, but they are not triggered. So it seems that methods are not called at ...
fedove's user avatar
  • 15
1 vote
1 answer
226 views

Calling lwc method from aura read properties of undefined (then)

I am calling lwc method from aura. It gives me error: Cannot read properties of undefined (reading 'then')]. Here is my code. There were some complex logic, but it gives the same error with just ...
Jobaf's user avatar
  • 11
0 votes
2 answers
1k views

How to delete file using lwc from salesforce

<template> <lightning-card title="Files"> <template for:each={fileList} for:item="file"> <div key={file.value} class="slds-box&...
shruti rawat's user avatar
0 votes
1 answer
225 views

lightning:recordEditForm and lightning:button not updating record

I have an Aura component that has a lightning:recordEditForm. In that form is a lightning:button. When clicking the button it should update the record but it is not. Here is the Aura component. Any ...
Travis's user avatar
  • 352
0 votes
1 answer
1k views

How can I pass the results of wrapper class to aura component?

How can I display the results of my wrapper class in aura component? The debug of my apex controller shows me the correct results, but I can't pass the results to my component. COMPONENT <aura:...
FenTro's user avatar
  • 29
0 votes
1 answer
62 views

Salesforce Aura Component Tip

Is there a way to see Aura component and its js controller in production org? I don't have access to developer console.
Ishaan Jain's user avatar
0 votes
0 answers
151 views

Inline mass edit aura component - Apex controller not being called

Newbie with both aura and Javascript; I have an aura component (not a datatable), and I trying to enable a mass inline edit - the user edits the fields they want, but nothing is saved to the database ...
ElTttt's user avatar
  • 21
0 votes
1 answer
88 views

How to print one aura component per page?

I have an aura component which contains a series of different auras. These auras show on screen depending on some condition and that page has to be printed. However most times, one aura component ...
Frans's user avatar
  • 29
0 votes
1 answer
1k views

How do do check if a list in my aura component is empty

I have created a list of child contacts of an account and I am looking to have an aura:if statement for if the list is empty or not. I have used the line <aura:if isTrue="isEmpty(v.ContactList)...
RuliaOtter's user avatar
0 votes
1 answer
1k views

Prototype Pollution vulnerability for location.search.substr(1)

I have a specific code for which I am getting Prototype Pollution vulnerability in checkmark. Here is the code ({ getJsonFromUrl: function(cmp,event,helper){ var query = location.search.substr(1); ...
user2991219's user avatar
0 votes
1 answer
106 views

Expenses record not saving to org - From "Aura Components Basics" trailhead

I'm working through the Aura Components Basics trailhead modules and am struggling a bit to get the example expenses.cmp component working correctly. This is code that I have taken straight from the ...
Andrew Nerney's user avatar
0 votes
1 answer
529 views

Error when updating user service presence status with lightning:omniToolkitAPI

I am facing an issue with omnichannel status changing in aura component with lightning:omniToolkitAPI . When calling the method I make the console.log to check if Id is presented and it is there right ...
Andrii's user avatar
  • 1
2 votes
1 answer
446 views

How to edit XML in zip document and save changes?

How to edit XML in zip document and save changes? I get the desired file, replace the data, but I don't understand how to download it back to the zip file. The data in the console changes, but not in ...
Anfrii's user avatar
  • 21
0 votes
1 answer
158 views

Lightning Out 403

I have a Visualforce page that is used in a post-chat survey URL. The page uses Lightning out to embed an aura component that calls an LWC: <apex:includeLightning /> <script> $...
Kostadin Stoev's user avatar
0 votes
1 answer
1k views

embed an image with url aura component

Is it possible to display an image that has a URL link embedded in it within an Aura Component? I am able to get the image to display in my lightning page, but I would like to have the image embedded ...
andrew's user avatar
  • 149
0 votes
1 answer
842 views

LWC - Pass event to Aura Component

I am trying to pass an event to my parent aura component however the message within the event is always undefined. Aura: <aura:component implements="force:appHostable,flexipage:...
some guy's user avatar
  • 141
1 vote
1 answer
167 views

Joining two columns together into a datatable in aura

i have a couple of questions. So, first i have a datatable from a custom obj, where users can add or single email addresses or group of emails (like a mailinglist). There are two columns, one for ...
Simon's user avatar
  • 13
0 votes
2 answers
43 views

Problem Populating array on Click Event

I'm getting some problems when populating an array of objects that I click. I want to fill with objects I click on, but everytime that I click on a new object the old value get cleared and filled with ...
GurdeepSingh29's user avatar
2 votes
0 answers
124 views

Close temporary tabs using aura / LWC

I got a requirment from client that temporary tabs needs to be closed by clicking a button in home page. So after clicking that button all the temporary tabs as like in the below needs to be closed I ...
SFDC buddy's user avatar
1 vote
0 answers
111 views

Refresh all aura attributes(entire component) based on an action

I have a aura component that opens when we click on a button. Inside this component, when I do a certain action, the entire component needs to reload, basically I want all the aura:attributes to be ...
Dilipan Manoharan's user avatar
1 vote
1 answer
48 views

Why might "Interactions" tab be missing in component settings in custom aura layout setup?

We need to create our own layout for an app, and we've run into an issue with aura layout. There isn't much I can find on the subject, since most of the inquiries either lead me to the process of ...
SkyAnthrax94's user avatar
1 vote
0 answers
3k views

Uncaught Error in $A.getCallback() [Cannot read properties of undefined (reading 'setParams')] salesforce Aura

The exception or the component error we are looking at is not able to find OrderNumber PrescriptiveResolutionTool.cmp <aura:component implements="flexipage:availableForRecordHome,force:...
parker_1947's user avatar
2 votes
0 answers
120 views

Uncaught Error in $A.getCallback() while clicking twice a Button in Aura Component

I have been stuck with this bug for over a week. When I click a button twice, I get the following error: Uncaught Error in $A.getCallback() [Cannot read properties of undefined (reading 'config')] ...
elkaco's user avatar
  • 78
0 votes
1 answer
232 views

Lightning Aura Iterate over JSON object Keys

I'm trying to access values in a custom JSON object more efficiently within Javascript, rather than iterating through it each time I need to update a value. Within JavaScript I can access each item ...
Antonio's user avatar
  • 57

1 2 3
4
5
27