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

Override Action with Component in Lightning Console as overlay or modal instead of a new tab

From a list view, either by overriding a standard action or by using a list button, I would like to open my lightning (currently using aura) component in a modal dialog instead of a new tab in the ...
0
votes
0answers
16 views

Request URL cannot be made to Aura framework internal API endpoints

Does anyone face with this error? How to fix it? Aura framework says that the following code is the reason of the error: window.history.replaceState({}, null, finalUrl);
0
votes
1answer
21 views

How to refresh or reload the aura component when ever it is calling from list button

Hi we have developed custom import and export functionality, but when i select some file to upload and went back to the opportunity and for the next when ever i am trying to click on the list button ...
0
votes
1answer
26 views

Trying to pass accountlist or account ID from aura to apex but, apex shows that as null

Here is my code. Aura: <aura:attribute name="accountList" type="Account[]"/> <aura:iteration items="{!v.accountList}" var="acc" indexVar="index" <l_lookup:...
1
vote
3answers
29 views

Unique Identifier of a Lightning Component Instance

I'm working on a relatively simple Aura component, but I'm running into an issue. I'd like to create either a cookie or a localStorage item for a component when a user takes action on it (closes it) ...
0
votes
0answers
30 views

Error when deserializing JSON payload with a stringified date [duplicate]

I am sending the list of record details in JSON format to apex controller. When i am de-serializing the JSON string if the payload contains date field having some value then it is not getting ...
0
votes
0answers
16 views

Refresh custom lightning component data on flow completion

I have a Opportunity Record detail page. I have a flow screen on a detail tab. There is a custom lightning component, under the same tab as well. My requirement is that, the lightning component ...
0
votes
1answer
30 views

how to fix the csv file formate while downloading a field in csv format from javascript from aura component

I have an aura component to export the sobject details into csv file. I have a field EAN10 of type test on sobject which holds a number. when i download the file the value in EAN10 field is coming in ...
0
votes
1answer
11 views

How to add a property to all users to check in a visibility filter?

We're using visibility filters on our components as a way to show and hide components. If someone has a specific permission set, like "new feature pilot permissionset," we use that to show a component ...
2
votes
1answer
42 views

“component is from a managed package, and must be marked 'access=global'” on sfdx metadata deploy to scratch org

We're trying to deploy our package.xml to a scratch org for testing. We're encountering this error: Error sdx_sourceDeploy_1590769531369/flexipagesMyPage_Layout.flexipage The c:MyComponent ...
0
votes
0answers
25 views

How to send the reference field value from SOQL result in apex to Aura component

I have a custom solution to export the product line items(custom object) into CSV file, i want to include one of the field(EAN__c) value from product(product line item is having lookup relationship to ...
0
votes
0answers
21 views

How to change the value of aura:attribute inside a aura:iteration when a condition is met?

I want to change the value of aura:attribute when a particular condition is met inside an aura:iteration. This is the code: <aura:component> <aura:attribute name="products" type="List" ...
0
votes
1answer
25 views

How to call javascript controller method when a condition is met in lightning component?

I want to call a javascript controller method from the lightning component when a condition is met. This is the code I used: <aura:if isTrue="{!product.stripePlanId == v.chosenProduct}"> &...
0
votes
0answers
14 views

Notification for Portal Manager to Approve/Reject User Creation

Hi I've created a lightning Component which on click of "Create" button creates users based on input field info provided. In addition to the current functionality i want like this "when i click on ...
-1
votes
1answer
25 views

Add a check in the components helper that checks for the running user's profile

I have the following function in my js helper class. I just need to view the labels on basis of user's profile. If Profile name is 'ABC' then show Label L1,L2 and L3. And IF profile is 'xyz' show ...
0
votes
1answer
37 views

$A.get('e.force:refreshView').fire() - Refresh not working

I am trying to refresh the parent from the child. From the Parent,I am opening a modal window for update. Once I save the record, modal window close and the parent section should be refreshed. ...
1
vote
1answer
38 views

Google geocoder status is OVER_QUERY_LIMIT Lightning Map

I have an aura lightning component that uses Lightning:Map. When i have more than 10 addresses, i get the message Google geocoder status is OVER_QUERY_LIMIT. 1) Are there any limits on how many ...
1
vote
1answer
35 views

force:recordData's recordUpdated in LWC

So we have this Aura component that we are trying to convert to LWC. We have less than 10 small components, so we want to standardize to LWC before it grows big. but we have one Aura component that ...
0
votes
0answers
23 views

How to generate PDF attachment of visualforce page with embeded lightning component? [duplicate]

Is there any way to create PDF attachment for VF Page with Lightning Out component in it: myContent.page: <apex:page showHeader="false" controller="PageController" standardStylesheets="false" ...
0
votes
1answer
32 views

Not able to replace DoubleQuote from a specific Javascript String in Aura Helper component using Regular Expression

I want to replace DoubleQuote from a specific JavaScript String in Aura Helper component using Regular Expression. My JS String is ab ","{ cd I want it to be ab ,{ cd I am performing this operation:...
0
votes
1answer
22 views

client side sorting in dynamic html table aura component

I have created a lightning component that iterates over column data and row data and in between this iteration i am calling my other lightning component that basically generates data for the table. ...
0
votes
1answer
20 views

How can I use APEX to query LWC and Aura components that match an interface within an org

I am looking to create an extensible UI component that allows users to configure what is rendered within a section of the component. I'd like to create a picklist to use as the datasource of my design ...
1
vote
1answer
23 views

Removing “/aura” Logs from Dev Console

I have played with the debug levels, but I cannot figure out a way to stop the console from showing all of these annoying "/aura" logs. Has anyone figured out how to remove these?
0
votes
1answer
27 views

Selection done in one iteration in aura, is reflecting in every other iteration

I have a scenario where I am calling a custom lookup lwc component inside my aura iteration. The issue is the value I am selecting in the custom lookup in one iteration is being reflected in all the ...
1
vote
1answer
39 views

How to search a specific keyword in all the aura components?

Please let me know how do I make a search with a specific keyword in all the existing aura components and it should give me a result of all the aura components having the search term. I tried SOSL ...
0
votes
1answer
51 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 ...
0
votes
0answers
19 views

Can you copy a “Path” screen component from a Lead to a “Task”?

End goal: Place Path screen component from Lead (or any parent object with a Path) onto a Task (child object) with the ability to add/edit/update the Lead data from the Task. Effectively, I would ...
0
votes
1answer
20 views

Aura Client Side Javascript Unhandled Exceptions

Is it possible to handle unhandled exceptions within Aura Lightning Components client-side javascript code, without wrapping every piece of code in try/catch? We have a few old LCs which operate on ...
0
votes
1answer
24 views

How can i open a new tab but be on the same page in aura component?

In an aura component , I am trying to open a new component automatically using window.open but that is taking me to the new tab instaed of being on the same page. I want to be on the same page and ...
0
votes
0answers
26 views

Using picklist value in lightning component

I am creating multiple row with sobject type abc and Reason__c as picklist value. with the below code : <aura:component controller="Controller" Implements="lightning:availableForFlowScreens"> ...
0
votes
1answer
12 views

I cannot set attribute “embedded” in a script in aura

I need to utilize this client's script in a component, and I'm facing an issue with the embedded tag. I'm not using ltng:require, because I need to set it in a specific div in order for it to be "...
1
vote
1answer
16 views

How to align button to right and vertical center inside a division?

I want to display a text and two buttons inside a <div> in a <aura:component>. When I use the following code: <div style="background-color:blue; margin:2px; padding:10px;" > <...
0
votes
1answer
16 views

Aura - load boolean field value into toggle on doInit not working

I'm trying to take the boolean value of a checkbox field and load it into a toggle via the doInit but it's not working. Am I doing something wrong? When I debug it says osiValue is undefined Happy ...
0
votes
0answers
14 views

Failed to initialize a component [Cannot read property 'getDescriptor' of undefined] Failing descriptor: {markup://sortablegrid:sdgBase}

Have you called sortable data grid inside of a custom component. THis is throwing me an error. <sortablegrid:sdg recordId ='001m000001Ckrklccd' SDGConfiguration='Approval Summary Channels' ...
0
votes
2answers
23 views

Id of the clicked event from html tag in lightning component

I am using ondblclick event in html div tag and in controllerside am trying to get the id of the clicked event but it giving error,Below is sample code component.cmp <div id="{!Opp.Id + '__Budget'...
1
vote
1answer
43 views

How to get an event onselect when using “lightning-tree” in LWC?

Is there way how we can catch an event from "lightning-tree" structure in LWC ? For ex.: I want to know which element was selected/clicked. The same works in Aura, but I have a problem with LWC: ...
0
votes
1answer
39 views

Get values and fields from “lightning:recordForm” component

I'm creating a form using "lightning:recordForm". I put the object's Id, the object's type and what fields should be viewed. <lightning:recordForm aura:id="myObject" recordId=...
0
votes
0answers
9 views

Dynamically set a lookup field for the force:inputField component in lightning Out dependency

I have a lightning component that is present inside the VF page. In my component, I'm using force:inputField for lookup fields. The code I'm using is similar to give here Now I want to repopulate the ...
0
votes
1answer
31 views

Opportunity button override for lightning experience

I would like to know why 'Lightning experience override' option is not present in Opportunity Clone button override. I could override the New as well as Edit buttons. But in the case of Clone button, ...
0
votes
1answer
50 views

Show two lightning components side by side

I have the multiple Lightning components each has a button on it. I wan to display these lightning components in the lightning pages side by side instead of one below the other. Is it possible to do ...
0
votes
1answer
25 views

Remove the string value after @ for specific field in aura iteration [closed]

I have a situation where i want to display the field value which should show sub string value of field inside aura iteration eg email field is test1.user1@gmail.com i want to display value as test1....
0
votes
1answer
41 views

LWC using LDS placed on a record detail page on navigate have refresh issue

In a Aura component I have save button and on click of it, server side controller is called and a checkbox on lead is updated to true which is initially false. Then in the callback of client side ...
0
votes
0answers
14 views

Cancel a lightning override component on an app where list view is on sidebar

We are using an aura component to do a lightning override on New/Edit for an Object. The cancel used to work using force:navigateToObjectHome, where it redirects to the full list view. However, we ...
1
vote
1answer
32 views

Cannot read property 'fire' of undefined, $A.get('e.c.CloseConsoleTab').fire();

I have a Visualforce page which loads a Lightning Aura Component using LightningOut In my Aura Component, I'm firing one Application event which will be handled by VF Page. Now when I fire ...
0
votes
0answers
14 views

Can a LWC Modal host a Lightning App Page?

This is just a thought and I couldn't find anything on this, so I figured I'd ask. If I created a LWC that brought up a modal, could that modal host a Lightning App Page that my admins could maintain?...
0
votes
1answer
19 views

LDS: targetFields in force:recordData not re-evaluating

So I have a very simple component that has force:recordData. Since it is not a synchronous operation, initially simpleRecord attribute shows null in init handler. In updateRec method, I can see the ...
1
vote
0answers
38 views

PDF generation using getContent or getContectAsPdf not working in Community but works in salesforce lightning app

I have tried using below methods and have also tried to get content of vf page using API but I get following errors: 1) Using get content like in below code: The file is corrupted. 2) Fetching ...
0
votes
1answer
22 views

How to convert Decimal Time to ISO8601 formatted time

I have time field in my object, which I'm using in my lightning:input field to display. The value which I'm getting is in Decimal Time and to pre populate that value in lightning:input time type, I ...
0
votes
0answers
28 views

How do I create a new verticalNavigationItem on creating a new Record?

So I have a lightning component with vertical navigation on the left and some fields on the right. Whenever I create a new record using those fields I need to create a new verticalNavigationItem and ...
1
vote
1answer
35 views

Change the font color of a lightning:formattedUrl

The automatic color of my link using a lightning:formattedUrl is not black and I am trying to change it to the color black. Is there a way to do this, I have tried adding it in the class with color:...

1
2 3 4 5
16