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
20 views

Communicate between two Lightning Applications [closed]

Is there any way to communicate between Lightning Applications which are in Salesforce ecosystem... like two lightning components does using (Application/Component Events)?
0
votes
1answer
24 views

How to deal with Lightning input IDs changing in browser plugin?

I'm writing a Chrome plugin that fills data into some fields in the Salesforce Lightning "New Lead" page. Looking at the elements on the page it seems impossible to figure out which one is the "...
0
votes
1answer
26 views

Performance degradation in built-in aura components

Any idea what might be causing this? aura_proddebug.js:50199 WARNING: [Performance degradation] markup://aura:if ["183:0"] in force:access ["156:0"] needed to clear unrendered body. More info: https:/...
0
votes
2answers
29 views

error - Uncaught Action failed: c:qf_Questionbuilder$controller$SelectLookupItem [Cannot read property 'config' of undefined]

i am getting the following error. Uncaught Action failed: c:qf_Questionbuilder$controller$SelectLookupItem [Cannot read property 'config' of undefined] This is when my helper tries to refresh the ...
0
votes
0answers
14 views

Update field with plain javascript in the Offline Chat Form

Currently we are trying to update a field where we do not have access to the Aura code / controller to update the value of a field. Source HTML: <select class="Language__c slds-style-select select"...
0
votes
1answer
23 views

LWC JS counter variable using setInterval [closed]

I have a counter number incrementing from 0 to a given number(percentage). I want to increment it in steps of one after every few miliseconds. let count = 0; let percentage = 99; let intervalID = ...
0
votes
0answers
39 views

Specify time duration of spinner aura lightning

I am making a REST Api callout from my lightning component. For the waiting time, a spinner is shown. But in case of any exception, the API is failing and the spinner continue to show as loading. I ...
0
votes
0answers
31 views

Is it possible to make the name of an aura:attribute dynamic and pass it to controller?

Currently, I'm targeting the aura:attribute by its name but the problem I'm having is when I'm setting the body of v.reactApp in my controller is setting it for all of the components that are already ...
0
votes
1answer
90 views
+50

Control flow finish behavior - not working as expected

By default, a new instance of the flow (interview) is created after a flow is finished and it lands in the first screen again. To control this behavior, we can embed the flow inside aura component as ...
0
votes
1answer
61 views

Issue when pushing to body of aura:component it pushes to the body of all aura:components rendered in DOM

Situation: Up to a few days ago every time a user would open a new salesforce tab when opening support cases I was able to create a new aura:component and push a JS static resource to the body of the ...
0
votes
1answer
14 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 ...
0
votes
1answer
17 views

Using identical aura:ids

Is it okay to have two identical aura:ids when only one of them is shown at a time? Will there be any problems accessing the shown input using the component.find? <aura:if isTrue="{!(v....
0
votes
1answer
23 views

Radio Button within Iteration - When user selects radiobutton, store the associated sourceId in attribute 'accountId'

Currently, I'm iterating through a wrapper that includes sourceId (aka accountId) and Opportunity Name, etc. When the user selects a radio button, I want to capture that sourceId in an attribute at ...
1
vote
1answer
26 views

How to get the InnerHTML from lightning:inputRichText?

I want to get the full HTML out of the inputRichText component, or be able to recreate it. Essentially, I want to copy its contents exactly including the format and post it and send in an email ...
0
votes
1answer
30 views

Salesforce LWC aura_prod.js:3 Uncaught (in promise) TypeError: Cannot read property 'Symbol(ViewModel)' of undefined

I am getting below error when i try to pass data to apex. I did everything to debug but unable to find root cause. aura_prod.js:3 Uncaught (in promise) TypeError: Cannot read property 'Symbol(...
0
votes
0answers
20 views

How can I create a dynamic onchange filter for custom lookup field

I have several custom lookup fields on one of my components, which are working great. Thanks SF Cure. (created from: https://sfcure.com/2019/07/06/showing-a-lookup-field-which-respects-with-lookup-...
0
votes
0answers
10 views

Opening SubTab after click

So I am trying to have a SubTab open off the Account Page when a number is clicked on (See 'onclick' in component) the account page. So, right now with current code shown below SubTab opens but page ...
0
votes
1answer
10 views

Remove flow attachment if flow not finished

I have a flow pop open inside a custom modal within an Aura component. Modal popup has an option for user to "X" out of it (close it). Problem is, within the flow, user has ability to upload Files and ...
3
votes
1answer
49 views

Confused about how to make a Lightning modal window pop-up with a quick action

I am new to LWC development, but I do know my Apex code and VF pages. What I am looking for: clicking a quick action on a standard Lightning record page should open a modal Lightning window (which I ...
8
votes
2answers
249 views

What are risks to chose Lightning web components rather than Aura?

I am learning LWC, and I found out that I should not use as it's ECMASCRIPT 7 which means that it's using templates, shadow dom, web components and most of browsers are not ready for that. My ...
0
votes
0answers
27 views

Empty Parameter value in Signed request Lightening Component Canvas App intermittently

We are trying to add parameters in signed Request of lightening component for a canvas app using the below code. We notice that the parameter's value returns {} intermittently. Lightening Component ...
1
vote
1answer
25 views

Aura component get map value using dynamic key

From my understanding of javascript, I should be able to query for map value using key using following code: consts = {'key' : 'value'}; var stringKey = 'key'; var something = consts[stringKey]; ...
2
votes
1answer
43 views

Why is 'select' checkbox in aura lightning:datatable squashed up against next column?

My aura lightning:datatable 'select' checkbox is squashed up against the next column. The 'select all' checkbox in the header is not even visible, though it does look to be there, underneath the ...
0
votes
1answer
14 views

How to prevent aucomponent table from growing in size so that it changes the size of the component?

Hidden Component 3 is a table (not lightning data table.) It is fetched with some data-- but when the text gets too large (even with truncation), the entire component will grow with the table. ...
0
votes
2answers
41 views

How can I know lightning:messages's option

I found lightning:messages in trailhead and want to use it in my component, but I couldn't find it in Lightning Component Library. How can I know its description? This is my sample. <lightning:...
0
votes
0answers
16 views

Filter Global Search

Is there a way to filter Global Search without having to do magic with Sharing Rules and Record Types? I want a CSR to search Contacts, but I don't want the CSR to see the Contact come up in a ...
1
vote
1answer
44 views

Migrate aura:waiting and aura:doneWaiting to LWC

Link from SF for documentations about Aura waiting and doneWaiting. Aura waiting Aura doneWaiting I also check the link of migration from Aura to LWC. Aura migration However, I could not find the ...
1
vote
1answer
19 views

Hyperlinks in helptext or tooltips in lightning component [closed]

I want to provide a hyperlinks in my hypertext or tooltips in lightning component. Is this possible or is there any work around for the same? Thanks
0
votes
1answer
38 views

how to remove “Added non-passive event listener to a scroll-blocking <some> event.” warning?

I am using lightning record form inside aura iteration like this which is visible on hover <aura:Iteration items="{!v.Accountscurrent}" var="acc" indexVar="index"> <span class=" icon slds-...
0
votes
1answer
27 views

How do I change the theme of a record page to have a gradient background?

I want to setup a gradient background and not use the themes that are available with SF. I tried creating a new theme where it takes a background image but that is shown only in the top of the screen ...
2
votes
1answer
197 views

Is there a way to write this code shorter?

I have something like this: @AuraEnabled public String var1{get;set;} @AuraEnabled public Decimal var2{get;set;} @AuraEnabled public String var3{get;set;} @AuraEnabled public String var4{get;set;} ...
0
votes
1answer
56 views

How can I natively get the list of currently selected records from lightning:listView in the javascript controller?

I am trying to use lightning:listView to fulfill a requirement for a project I am working on. An important part of this requirement is that I need to be able to fire an event that will return the ...
2
votes
0answers
32 views

How to get picklist values and translations using Aura and Apex?

Background: I was using a an aura lightning:recordEditForm containing a picklist field. This component will automatically detect user language and use the translations you have set for that field. ...
0
votes
0answers
21 views

Calling parent Mehtod From Child Lightning Component

I have a Parent Component inside that I have a method- parentMethod : function(component, event, helper) { alert("inside parent"); var payload = event.getParams().response; ...
0
votes
1answer
25 views

Error when trying to set values for <force:inputField

I'm trying to set the default value of lookup for I'm getting the error when I try to set value: var value = [{ type: 'Account', id: "0014343234543", label: "Related To" }]; component.find("...
2
votes
0answers
15 views

CMDT Enhanced Related Lists New button is broken

We are using CMDT Enhanced Related Lists for a while now. When Spring 20 release was deployed into our sandbox, the New button on one of our list instances no longer works. We are using a custom ...
0
votes
2answers
30 views

Aura:application with ltng:outapp working but not displaying anything in external container

I've built an Aura app which we want to run in an external container. First, I'm testing this with my localhost with the right SSL cerficiates in place. The localhost address is also whitelisted ...
0
votes
1answer
33 views

Sending Wrapper object to Apex from Javascript in LWC

I have a question regarding the operation of the wrappers classes in lwc. I have an apex method which has as an input parameter an object of the wrapper class. FIRST IMAGE: SECOND IMAGE: The ...
1
vote
1answer
51 views

Working with Lightning comboBox, UI:input component and aura handler change event

I have a sample code which is independent of any data model for now. I am trying to display data from a JSON using <Aura:Iteration>. I have below two issues with my code: I do not see the value ...
0
votes
0answers
40 views

Salesforce file drop/upload using webdriver

Test case To verify the file upload option in the salesforce application. I'm trying to test the above test case with automating by using selenium Web driver. but I'm getting an error (unable to ...
0
votes
1answer
31 views

Handling Apex errors from the setCallBack function

Is there any better way to handle errors that comeback from the setCallBack function for Apex calls in Aura components? Maybe a better way to get rid of some of the elses I have in in my logic? ...
0
votes
2answers
44 views

Lightning Component — Calling APEX function

First off...I am new to SF development and only dabble in javascript. My first "project" was creating an APEX class which calls an external web service (which i created and hosted on AWS). This class ...
1
vote
1answer
32 views

getAllTabInfo Iterate through response

I want to iterate through the response of getAllTabInfo js function. I have the following function: navigateTo: function(component, recId) { var navEvt = $A.get("e.force:navigateToSObject"); ...
0
votes
1answer
45 views

How to Pass or Set Automatically Value to the Custom Lookup Component in lightning Components(Aura)

I have one Custom Lookup Component I want this Field to be set automatically when I'm Passing the Id but it is not happening. Here you go <aura:attribute name="selectedLookUpRecord" type="...
2
votes
0answers
197 views

INVALID_TYPE: sObject type 'CaseStatus' is not supported

Using lightning:recordEditForm in AURA Component which is being used under Public Community. It was working fine until Sandbox upgrades to Spring 20. Did check all the security/permissions on Guest ...
0
votes
0answers
28 views

call controller function from dynamically created dom element

I have created Dynamic Dom element button using renderer in my lightning component. Now I am trying to give pass reference of a function to the onclick attribute of the button. when the button is ...
3
votes
3answers
852 views

Spring 20 An error occurred while trying to update the record

Over the weekend our sandbox was updated to the Spring 20 release. We have a custom Aura component which is used to create cases. When attempting to submit a case after the release update we see the ...
0
votes
1answer
46 views

salesforce standard mouse over functionlity in lightning component [closed]

How to implement below salesforce standard functionality in lightning component On account hover the popup should open and on mouse out the pop up should close. Any standard methods are available? ...
0
votes
2answers
47 views

Creating a Lightning Aura Component - Non Coder

I am just trying to create a VF page where I should be get a list of related child object when i click the parent object (Account). <aura:component controller="GetAccountAndProduct_Display__c"> ...
3
votes
1answer
142 views

Step 10: Aura Components Specialist Failing even though Map component is available in Lightning App Builder

I am at the last step of this superbadge and am getting the following error when I check step 10: From the lightning app builder the Map component is clearly available and already exists on the page ...

1 2 3 4 5 14