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
0answers
5 views

Formula Field Is Undefined In Aura Component

I am trying to populate some lightning: inputs in an aura component with a few values. In the example below, {!v.enrollmentRecord.Comments__c} works fine but {!v.enrollmentRecord.OPEID__c} is ...
0
votes
1answer
14 views

Apex trigger before update generate problem with Aura methode

My trigger beforeUpdate cause me a problem , i have a button in the header named Validate and this button call the methode below 'UpdateHeader' , but when the user is not the AdminUser , he can ...
0
votes
2answers
23 views

Download a CSV file from a lightning component using a button

I'm trying to add a button Download CSV Template where I'll connect the button with a static resource. So, when you click the button, the files downloads, user can open the file, fill and reupload to ...
0
votes
0answers
11 views

lightning:isUrlAddressable returns null pagereference when the aura component is called inside Visualforce

The value of pagref in var pageRef = component.get("v.pageReference"); turns Null when the Aura component is called inside the visualforce page. The visualforce overrides the new button. ...
0
votes
0answers
21 views

LWC changes updates Aura, BUT Aura changes does not updates LWC

I have a scenario where two components an Aura and a LWC were included via Object Record Type. They are placed according to the image below. I'm facing a problem. All the interactions done in LWC ...
0
votes
1answer
28 views

Aura component show the same for every customer

I have an aura component that shows data that are called by an API. If I open the component on a customer (B) account and if I had the same component opened on another customer account (A) the data ...
0
votes
1answer
18 views

Blank white window while calling aura component

Hello everyone I created my aura component and added it like a button. First I created an action in (Buttons, Links and Actions) section on object and then added it in (page layouts) ->(Salesforce ...
0
votes
1answer
16 views

Render Error HTML without duplicating it in Aura and LWC

I have one Aura and LWC component. I have one custom metadata boolean flag which when turned on will render the error message in Aura and LWC both Like this. Aura: <aura:if isTrue="{!v.isTrue}&...
0
votes
0answers
25 views

Open 'Chat with an Expert' window in Salesforce Experience (Community) on custom link onclick event

I have build a community and added chat support on the community page. The chat window appears and work perfectly once we click on Chat icon (at bottom right) on the page. Further I am trying to open ...
0
votes
0answers
13 views

Close a new record modal opened with opencti screenPop()

Within an aura component, I would like to know if it's possible to close a 'new record modal' that was opened with the openCti.screenPop() method : screenPop documentation I'm indeed opening a 'new ...
0
votes
1answer
17 views

what will be equivalent code for (this.template.querySelector('lightning-textarea').value += '\n';) in aura?

I have written this in aura as var newline =''; newline +='\n'; component.set("v.input",newline); but ...
0
votes
0answers
17 views

LWC/Aura Component Initial Load Takes Long Time [duplicate]

We are able to reproduce the behavior by creating a new sandbox and opening the page, which contains a lot of Aura or LWC components. Second and further page loads are much faster, even after clear ...
0
votes
0answers
27 views

Changing color of "Mark current status" button, in a <lightning:path \> Aura component

I've created a custom component to show the Case status path. And it is working as expected. But now they want to change the color of the "Mark current status" button. So far the ...
2
votes
1answer
42 views

Reduce the number of chainings in AURA

I am new to Aura, and I am stuck on how to proceed with the task given. Actually, in the Init method, there are many chaining that should be optimized. My controller class doInit: function (component, ...
0
votes
1answer
16 views

How to create aura lightning page to help me visualize data in separate pages?

I have an aura component lightning page with many fields in it. To avoid having too long scrolling I need to separate and visualize the fields in different pages. Is there any lightning component to ...
-5
votes
0answers
23 views

Lightning component aura lightning input

Need help! i must pass value from aura component(lightning input) in apex controller and update my account List! when i click "Edit" opened modal window with real data! i need edit this data ...
-4
votes
0answers
33 views

Pass values from lightning input in apex controller

Need help! i must pass value from aura component(lightning input) in apex controller and update my account List! when i click "Edit" opened modal window with real data! i need edit this ...
1
vote
0answers
22 views

Unable to save video captured via webcam in Aura Component

I have an Aura component that captures video via webcam and displays it to the user while also giving them the option to save it. The "playback" feature works as expected using the following ...
0
votes
0answers
20 views

How to hide/restrict fields in Aura component based on User’s Profile?

I want to show/give access to fields in Lightning component based on profile Permissions. Is is possible in lightning?
0
votes
0answers
16 views

update account and contact with help aura modal window

i need help! i need create tree-grid table with Account and Contact! When i click "Edit" button i must edit Name and Phone i create table and modal window, but i can't update Account and ...
0
votes
0answers
20 views

Unable to close or overide the component window with pagereference

Currently, I'm working on an aura component to convert a lead with the help of a Database.LeadConvert. After conversion, I'm navigating the user to the opportunity edit page. Now the problem is I'm ...
2
votes
2answers
94 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 & ...
0
votes
0answers
41 views

REQUIRED_FIELD_MISSING when saving data

Hello I'm getting this error when saving data from a form to database. This field isn't a field from My contact I just add it to try to solve the issues, but nothing happens. 11:32:59:059 FATAL_ERROR ...
0
votes
2answers
43 views

Apply CSS on lightning:button based on array of indexes

I have a group of lightning:button icons on my aura component inside a data table. I want to apply a custom css on some of them based on the array of indexes i have. Below is my lightning:button code. ...
0
votes
0answers
9 views

How to adjust Aura table column dynamically?

Hi Team, I have created a component which shows data, but the column size does not adjust according to the data - I need the column size to adjust automatically. If you look at the image I added, the ...
0
votes
0answers
17 views

Fire a LWC component on a button press from parent LWC component

I want to fire a LWC component on a button press from a Parent LWC(used in Utility Bar) component which is wrapped in Aura Component. I wrote some code to do that but the component is showing in the ...
0
votes
1answer
23 views

How to modify a list of lightning:recordEditForm in aura component?

submitDetails: function (component, event, helper) { var selectCmp = event.getSource(); console.log("selectCmp", selectCmp); var questions = component.find("...
0
votes
1answer
20 views

slds grid broken layout when screen narrows to less than 480px

I'm using slds-grid. On large form factor the grid has 2 columns & on Medium & small forms 1 column - truncated. Issues: When screen narrows less than 768px, the grid component is not ...
0
votes
0answers
15 views

How can an Aura cmp receive values from LWC NavigationMixin?

Using LWC NavigationMixin to redirect user to an Aura component, is there a way for Aura cmp to receive values from the LWC? I am trying pass the values of propertyValue and c__id to the Aura cmp ...
1
vote
1answer
19 views

Apex classes which are used as datasource for the design attribute in the aura called twice when we save the lightning page on which it is dragged

We have an aura component that is used on the app builder, the component uses the dynamic picklist on the app builder. The problem is when we drag the component on the lightning page and then select ...
0
votes
1answer
25 views

How to properly pass value from Apex to LWC to Parent Aura

I have a value in LWC that needs to be passed to its parent Aura to launch a pre-existing flow. I have seen suggestions to use dispatchEvent, but I am not dealing with any events. It just needs the ...
0
votes
0answers
26 views

Aura:Carousel:- How to show file in Carousel from fileupload . i tried through Hard Coded value . i also uploaded screenshot with hardcoded path

Component :- <aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,force:lightningQuickAction" access="...
0
votes
1answer
25 views

A non-admin user claims she was able to edit a record which is programmatically locked but now she cannot

As far as I know a programmatically locked record can only be edited by an admin user and current situation seems normal to me. Note: Locking is also done from a component she uses. This is the only ...
0
votes
1answer
53 views

Rendering Aura Component as PDF via Visualforce Page

So my current requirement is to create a "document" with some tables and such and then allow it to be downloaded as a PDF file. To go about this, I created an Aura component, then created a ...
0
votes
0answers
17 views

How to expose forceCommunity:navigationMenuBase cmp to be able to select it in theme setup

I have implemented a custom navigation aura component. <aura:component extends="forceCommunity:navigationMenuBase"> <aura:attribute name="navigationLinkSetId" type=&...
0
votes
2answers
33 views

How to get particular value from json string in Aura component

I have below code where I am converting json.stringify and getting below output let theData = JSON.stringify(helper.getData(component)); console.log('theData>>>' + theData); output: {"...
1
vote
1answer
51 views

navService used with lightning:navigation does not work as expected : no redirection is made and no error is shown

Summary I work on a SFDX project with one package, and within my aura component, I'm currently having problems with the lightning:navigation element. I followed the docs from Aura Component - ...
0
votes
1answer
24 views

Lightning layout vs div - Aura - responsive

I am trying to analyze the difference between div and lightning layout in aura for a responsive UI. With the below code, I am not able to get a responsive view when using lightning layout in contrast ...
0
votes
0answers
13 views

Is it possible to get the url or page reference from navigationMenuBase menuItems?

In community builder I have set up a navigation menu, and I know in Aura I can fetch those items using navigationMenuBase and via JS have it navigate to those pages selected. I'm wondering if there is ...
0
votes
2answers
44 views

Need to to capture feedback(text) on click of a Like & Dislike button in Communities [closed]

Has anyone developed an aura cmp to capture feedback on click of a like & dislike Button. I found an appexchange package for this but it needs tweeks to fulfil my requirements, Unfortunately the ...
2
votes
0answers
32 views

Lightning datatable header bottom border missing

When I scroll the table to the right, the bottom border of the header row is not showing. In the next image we can see that the border disappear just before the third column cell ends. This is the ...
0
votes
1answer
12 views

I am working on lightning:recordEditForm. Can we use it on record page of another object than mentioned in objectApi Name

I have created below lightning:recordEditForm in aura components to create Contact and placed it on record page of account so that contact can pick accountId of loaded account record. But Lightning:...
0
votes
1answer
33 views

page reference is not navigating to edit page in lightning

I'm working on a lightning component under quick action. I'm trying to navigate the user to the edit page but it's navigating to the standard view page. var navService = component.find("...
0
votes
0answers
31 views

Get selected records from related list In Quick Action (Aura or LWC component)

Do we have any possibility to get selected records in related list in Quick Action (Aura or LWC component) for that related list. So when I select records I want to get these records or their Ids ...
0
votes
2answers
75 views

How To show ALL text as a default on search in LWC

I have one datalist where I am getting all account Names and displaying like a dropdown. I want to add --ALL-- as a default option Like currently my compo is like but I want to add --ALL-- As a ...
0
votes
1answer
161 views

Uncaught (in promise) Error: API `getFocusedTabInfo` is not currently supported in this application

I was wondering what were the potential reasons of getting this problem, I also was wondering what are the potential solutions to solve this error. I am using this within an aura cmp. This is where ...
-2
votes
1answer
57 views

How do I pass the recordId from Aura to my Apex controller?

I have access to recordId in Aura and I want to access it in my Apex Controller. I am following the docs here. I keep getting an error that it can't find the serverEcho controller file. (See doInit ...
0
votes
1answer
44 views

Align footer section of modal to center

I want to display the buttons in the footer section to the center and I'm using the modal container. I have tried multiple CSS but none of them are not working, could you please suggest me the correct ...
0
votes
0answers
14 views

Trying to prepopulate the recordid of the account on force:createrecord in a custom lightning component

I am trying to pre-populate my accountID(recordid) in the custom lightning component but the recordid function doesn't work. I get a blank response. BTW this lightning component opens up on a new ...
0
votes
1answer
85 views

Open a blob file in a new tab of browser in Aura component

I was facing some problems finding a way to open a blob from an Aura (Lightning component) in a new tab of the browser, the window.close() function doesn't work because open with base URL of the ...

1
2 3 4 5
22