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
1answer
35 views

How to open VF page in separate tab or popup window from Aura Component

I have created a VF page which display tooltip information and I want to display those tooltip in separate window or separate popup window during record creation. I have referred below link to open VF ...
1
vote
1answer
24 views

Heap size error limit on packaging org not in scratch org /dev org with same response size

We have built a custom functionality where we used call out from aura component the response size is (5.2 MB) which is under limit of 6 MB for synchronous Apex .There after we have parsed the response ...
0
votes
0answers
12 views

device specific UI also adjusting based upon screen

I am facing issues while adjustment of a aura component which contains 3 more inner component. Here compoenent 3 is the main component and other are inner. the overall architecture is looks like: but ...
0
votes
0answers
15 views

Error: Cannot read property 'apply' of undefined throws at https://commission-calculator-dev-ed--cycc.visualforce.com/auraFW/javascript [closed]

enter image description hereSearchUserComponent.html <div class={formElementClass}> <div if:false={isLabelHidden}> <label class="slds-form-element__label&...
1
vote
1answer
22 views

Unable to see a console log in a LWC method which is being called from an Aura component

I have a simple Aura Component that has a LWC component inside it like this: <aura:component implements="flexipage:availableForRecordHome,force:hasRecordId,force:lightningQuickAction" ...
1
vote
0answers
34 views

Spring '21 broke custom flow screen component's sizing

When Spring '21 hit, we noticed all our custom flow screen components lost their sizing arrangement. The components were in a 2-column layout using slds size_1-of-2. Some initial debugging showed ...
0
votes
2answers
60 views

How to place a Custom Button on list view (Lightning)

I have created a Lightning Quick Action with a custom aura component to do some async processing over all records. But I cannot find a way to place that button on List View in lightning. I have read ...
0
votes
0answers
19 views

intl-tel-input javascript library in Aura Component

So I have a requirement in Aura Component were in, I need to create an international telephone input field. I found this library called https://github.com/jackocnr/intl-tel-input but I'm having issues ...
0
votes
0answers
11 views

Translate to user language in aura

I am using a aura component where user can see information from custom label (these labels have translation added) based on there language. Now in classic VF page this is working as expected but aura ...
0
votes
0answers
19 views

Unable to call Community header JS functions

For Google Analytics I have to add a script with some JS functions for tag commander. I added the script to the header with the "Edit Head Markup" feature in Community. From the Browser ...
0
votes
1answer
40 views

Changing the label of Lightning Quick Action closing button

When implementing a lightning quick action creating an aura component that implements force:lightningQuickAction, it comes by default with a "Cancel" Button, which I would like to rename as &...
1
vote
1answer
31 views

Lightning Map: Allow user to drop a marker on map

I am planning to create a component (aura/lwc) that allows users to select a location by dropping a marker on the map. I tried to go through the Documentation, but couldn't find anything related to ...
0
votes
1answer
31 views

Navigate Screens in Flows

I understand that I can use the following to be able to navigate to the Next Screen in a flow: var navigate = component.get("v.navigateFlow"); navigate("NEXT"); My concern is ...
0
votes
1answer
38 views

Align the width of a component to its parent component

I am dynamically creating lightning buttons using the lightning:buttongroup component. I want to have the contents inside it wrap within the width and the height setting of the component. Component: &...
0
votes
0answers
42 views

Display Sparklines in a table in lightning components

How can I display sparklines based on my data inside table for each row dynamically in lightning Components. I have tried to display them but sparklines are not displaying in my table last column. ...
1
vote
0answers
15 views

Salesforce Canvas App Issue with Chrome Latest Versions and Recent Cookie SameSite Policy

We created a Canvas App implementation in Salesforce that is able to render an external .NET / C# web app within the CRM by means of an aura component. It works perfectly fine in any browser, except ...
0
votes
1answer
25 views

Setting the label of the lightning button through aura:set

I am trying to change the label of the lightning button component using aura:set like below, doing wrong somewhere, this doesn't seem to work. <lightning:button> Active : <aura:...
0
votes
1answer
24 views

Cannot read property 'split' of undefined in Lightning

In my Lightning component I can see error in this line can anyone help me to resolve. var recordsList = component.get("v.caseRecord.Primary_Consumable__r.Chemistries__c").split(';'); Thanks ...
0
votes
1answer
21 views

Passing wrapper class object list to child component from parent

I am trying to pass an attribute from parent component to child component. But the catch is this attribute is populated in apex controller using wrapper class. So currently it is a list of wrapper ...
0
votes
1answer
19 views

Erasing Value on Click in aura component

I'd like to know if there's is any tag in within aura components markup, that deletes the current value upon click. In the above image, the user will click on the last two fields, and fill them with ...
0
votes
1answer
29 views

Open Tab using Workspace API

I am getting error while trying to use workspace api and open tab using lightning quick action. I created a flex page and Assigned it to two different Apps in salesforce one standard service console ...
0
votes
1answer
32 views

Aura if and else not working as expected

Aura if and else provides conditional rendering. But this is what happening in my case. I have 2 version of my UI one is desktop and other is mobile. Which gets rendered using aura if and else : aura ...
0
votes
0answers
36 views

Help with changing a line on a list class in apex code

I am pretty new to coding and just need help on adding/changing the following line in my apex code so it queries the RecordTypeId as well as the OpportunityId from the record that my lightning ...
0
votes
0answers
19 views

QuickactionAPI no longer works all of the sudden

I'm calling a quickaction from a lightning component. Everything worked fine. Until a few weeks, it wasn't working anymore. I haven't changed anything on the code. I'm running this on three orgs and ...
0
votes
2answers
23 views

Ligtning:recordEditForm onload , onSubmit ,onSucess action values

I have a doubt .During onLoad action ,are the record values the old and during the onSucess the record values are updated ? I want to send both the old and updated values of the record updated using ...
0
votes
0answers
20 views

Lightning:recordEditForm error

I have used Lightning:recordEditForm to edit a preexisting record'scertain field. But it shows an error "Required fields are missing: [Name, StageName, CloseDate]". I believe this should ...
0
votes
1answer
33 views

Edit record from Lightning Component

I want to update a specific field( product_type__c ) of the current Opportunity record( the one the user is on). When the Opportunity field is updated, the Opportunity owner should be updated, and ...
2
votes
0answers
54 views

window.addEventListener(“message”) not working in salesforce mobile app

I have an Aura component that opens a canvas app. The canvas app communicates with the Aura component using window.postMessage. In my Aura component during init, I am adding a listener for postMessage....
0
votes
1answer
17 views

Download a custom report into Excel on click of a custom button in lightning aura component

I have a requirement, where i need to download a custom report in excel format once i click on a custom button in Lightning aura component.
0
votes
1answer
21 views

Refreshing record in force:recordData doesn't work

I'm trying to solve a problem with old data being saved. This component is on a detail page: Open record Amend one field and save Use component to trigger a different field to update using force:...
0
votes
1answer
32 views

Custom Popup Opening in all Tabs of Lightning service console

I have a lightning component, which is added to the Account lightning page. lightning component opens a popup. This Popup opens on some conditions. If I open 4 account records in different tabs in the ...
0
votes
1answer
14 views

Lighning 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 "...
0
votes
0answers
11 views

Metadata.Layout is NULL in aura component

I have to pull the Metadata.Layout of an object from apex and basically re-create page layouts in aura. My plan was to use the Metadata.Layout and just iterate over the sections/columns/fields. In ...
0
votes
1answer
45 views

How to combine two aura ifs into one?

I have been trying to to simplify a nested <aura:if isTrue> into a single line. I thought I could wrap this with an or(statement1,statement2) but I think I'm missing something. The expected ...
2
votes
0answers
36 views

Lightning Datatable :: Enable Editing without inline editing

I have an LWC component which uses lightning Datatable i.e., Edit Values(A). This is embedded in Read Only mode in an Aura component which we display on the Opportunity object. There is inline editing ...
1
vote
0answers
19 views

Why am I not seeing onkeydown when i inspect? [duplicate]

I am using input with an event onKeydown. But when inspect it is not showing onKeydown(It should show). <input type="number" onkeydown= "return event.keyCode == 190 ? false : true&...
0
votes
1answer
8 views

Aura:map multi line descritpion

I have an aura:map with multiple point, and I wan't to have a multiple line descritpion as: descritpion : 'Account Name : ' + mapInfo[it][3] + '\nContact : ' + mapInfo[it][4] + '\nprice : ' + mapInfo[...
0
votes
1answer
46 views

Salesforce Aura component controller apex test class [duplicate]

Having some issues creating a test class for the controller. public without sharing class DeleteFilesCtrl { @AuraEnabled public static List<FilesWrap> getFiles(string objectId){ ...
0
votes
1answer
27 views

Instantiate of wrapper class in lightning Controller

I have a Wrapper class, which I need to instantiate in my Aura Controller. I'm not able to understand how can I instantiate it in my controller Wrapper Class: public class CustomWrapper { @...
3
votes
1answer
53 views

LWC autoconverting decimal into string. SF Bug?

I am trying to send key-value pair Map from Apex to JS. But I can see aura auto converting the decimal to string. Minimum Viable Code to reproduce: Apex: public with sharing class AuraPOC { @...
0
votes
1answer
86 views

Lightning component to launch the screen flow

I am trying to launch a flow from a lightning component which is a button like below Lightning Component <aura:component implements="force:hasRecordId" access="global" > ...
0
votes
1answer
26 views

How to use map.get in aura

I would like to get the values of object without aura iteration let buttonList = tempRes.buttonList; var btnObj = [] ; if(buttonList){ buttonList.forEach(...
0
votes
1answer
14 views

Output from controller (aura component)

Have anybody any idea why in the inspector we have empty action string cmp <aura:component description="CountOpp" controller="ControllerConfigClass" ...
0
votes
1answer
22 views

Dynamic Multiselect picklist value on Aura Component

I want to populate Multiselect field with list of values dynamically. Instead of assigning the values to Array of string in aura attribute, I'm referring to the object from controller directly, But my ...
1
vote
1answer
41 views

Get dynamic input field values in Aura

I'm building a dynamic custom UI which is configurable via custom metadatatype. I declare field label, datatype, position(left/right columns on UI) etc on the CMD. I populate fields using aura:...
-1
votes
1answer
17 views

Enable/Disable dropdown in a table based on first selection

I have a table which contains 2 columns. Each of them has a dynamic select. On a button click new row is added every time. <aura:attribute name="flag" type="boolean" default=&...
0
votes
1answer
28 views

Can I hide a lightning component on specific criteria?

I have the following lightning component that displays an image field on the Account. Is a flag to announce that there is a flag case for specific accounts. Is that possible to hide the lightning ...
1
vote
1answer
115 views

Problem with navigating to LWCs wrapped in aura component

I have a requirement where I need to navigate to LWCs. I referred this website and used aura component for the navigation. I do not wish to use tabs, hence I chose this option. There are 4 LWCs and ...
1
vote
1answer
42 views

How to recreate Aura code into LWC JS code

I have a LWC code where if you click the button it generates a URL and then opens it. I have another aura component that is launched from a flow and it does the exact same thing as the LWC but this ...
0
votes
1answer
21 views

How to make a Lightning Component Header, always freezed(Sticked)

I need to make the Header of this Lightning Component Static. As the user scrols down, the header stays on the screen to consult the field. <div class="slds-table--header-fixed_container"...

1
2 3 4 5
18