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
1
vote
1answer
17 views

Custom “new object” screen from related list

Let's say I have two objects, Object A and Object B. I have a related list on Object A's page layout, which can be used to create B objects. The problem is, Object B has many "system" fields ...
0
votes
0answers
13 views

Lightning Component with Clickable Links

I'm working on a contact related list lightning component and trying to make the contacts clickable so that the user can navigate to the contact record page if clicked. I am iterating through the ...
-1
votes
1answer
28 views

i want to hide the dropdown menu of account list and show the new account input field [closed]

cmp code <div aura:id="DivIDI" class="remove"> <lightning:select name="select1" label="List Of Existing Account" aura:id="AccountId&...
0
votes
1answer
29 views

Query/Use Help Text from Object Fields in Aura?

Can I query and use the help text from object fields in an aura component? I'm currently using lightning data service to get the record info into the component.
0
votes
1answer
14 views

Need to extract a specific record based on record id from an array of Sobject in lightning component

My ask is quite simple here, i have a lightning component where i have an attribute of type Array of Account (Account[]). This array already has a list of Account records. At a certain event (on click ...
0
votes
0answers
22 views

To concatenate a string with cmp.getreference(“v.name”)

I am trying to concatenate a string with cmp.getReference, but after concatenating it the output I am getting is very different: SecurePropertyReferenceValue: {!v.varName} { key: {"namespace"...
0
votes
0answers
10 views

aura:application splash (loading) screen removal

How to remove splash screen in the sfdc application. I have an app which is lwc component and once I'm opening this app via direct url there is a Loader visible on the very first seconds and once my ...
0
votes
0answers
25 views

DateTime issue with $A.localizationService.formatDate()

Need to clarify one doubt. I have an apex code which converts DateTime from UTC into locale timezone using DateTime.format('MM/dd/yyyy h:mm a') method. Here is the output (ET = Eastern Time). UTC::...
0
votes
1answer
25 views

Lightning model popup not appering correctly when opend with lightning quick action

Lightning Component: <aura:component implements="force:lightningQuickActionWithoutHeader,force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId&...
2
votes
0answers
40 views

Adding additional columns to standard related list in Lightning

I have a requirement to display version number and some other fields from files object in Approval object . I am using the files related list-Single . I tried using enhanced list and number of records ...
0
votes
0answers
45 views

This page has an error. You might just need to refresh it

I am trying to put a flow in a lwc using this. However when I put this flow on external website using lightning out the flow works fine for the first two screen but throws This page has an error. You ...
0
votes
1answer
22 views

Unable to Save a Custom Lightning Component in an `aura:if` With a New Attribute

I have a custom Lightning component which I have recently added a new attribute to using the Salesforce Developer Console: <!--Child.cmp--> <aura:component> <aura:attribute name=&...
1
vote
1answer
50 views

How to get Id of a element using class name?

I have an anchor tag with the class name "Active". How do I get the Id of the tag with the class name "Active"? Or how can i change the class="active" to class=" &...
0
votes
0answers
18 views

design attributes — Issue with i-bubble message in app builder

I see weird message being displayed for the description in the app builder. Any idea why is that coming and how to get rid of it. I tried adding custom labels as described in the message for the ...
0
votes
1answer
29 views

AuraHandledException message: extra word (“Exception”) at beginning of message

I am working on a component+Apex class. I need to throw an error message via AuraHandledException. Everything seems to be working fine except for the error message itself: it's showing up with an ...
-1
votes
0answers
22 views

Need to display the fields based on the selection of radio buttons using aura ,lwc

SELECT Radio Button ()A ()B (selected)C *Field display after selecting C if I select radio buttons A or B or C some particular fields should be displayed based on selection. Since I am unable to ...
0
votes
1answer
23 views

On what basis to decide whether to use Aura component or LWC? [closed]

what are the task that can be done in aura but not in lightning web component and vice versa.
0
votes
0answers
19 views

The search from forceChatter:feed doesn't work

I created a aura component where I use forceChatter:feed. My issue is related of the 'search' , the search doesn't work how I expected . This is the error which I received when I try to use search : '...
0
votes
2answers
34 views

Ternary Operator not working in aura component

I have a lightning:input field in which I need to use ternary operator in "value" as shown below but it does not work. I believe I am wrong with the syntax. <lightning:input name="...
1
vote
0answers
14 views

How to I read url parameters in action override aura component?

I have overridden New action on my custom object with Aura component that launches flow. Standard new action was used with url parameter and input field was filled with default value by framework. Url ...
1
vote
1answer
22 views

How do I pass the date value from the js controller to the apex method?

Trying to pass the date value I get an error. How to fix it? //cmp ... <aura:attribute name="dateExchangeRates" type="Date"/> ... //js getDataForTheDate : function(component,...
0
votes
1answer
24 views

Use LWC from managed package in custom community theme layout

I have built a custom theme for a community and am trying to use the Salesforce Labs cookieConsent component in my footer by referencing it with <c:cookieConsent></c:cookieConsent>. This ...
0
votes
1answer
34 views

Can I output the data to a datatable in my case?

I have a datatable in which I want to display the data in a certain way, namely: I have an Exchange_Rate__c object that has certain currency rates as fields: USD__c, CAD__c, EUR__c, GBP__c, as well as ...
0
votes
1answer
45 views

How do I display the dynamics of currency exchange rates? [closed]

My task is to implement the ability to display the dynamics of currency exchange rates, by selecting the start date of the period and the end date? Maybe something like this would suit me: But I'm a ...
0
votes
1answer
19 views

Aura Component not filling all the fields in Quick Action

I'm trying to configure a quick Send Email action in Aura, some of the fields are okay but some just won't prepopulate... var actionAPI = component.find("quickActionAPI"); var fields = {//...
0
votes
2answers
34 views

How to do the toast message using auto launch flows?

How do we generate a toast message while clicking on a action button where we will be calling the flow.How can we do that using auto launch flows?
0
votes
0answers
15 views

Check if lightning component implements an interface based on component name

I am creating a configuration page which will allow user to enter lightning component name (which is supposed to implement an interface). But before saving the lightning component name I would like to ...
0
votes
1answer
36 views

Lightning web component not rendering correctly from quick action

I have created a lightning web component that displays information from a grand-parent object, parent object and child object. I have created a quick action on the parent object with lightning web ...
0
votes
0answers
13 views

How can I transfer multiple contacts as defaultFieldValues to new Event in e.force:createRecord?

How can I transfer multiple contacts as defaultFieldValues to new Event in e.force:createRecord? I tring code like this but it does not work var createRecordEvent = $A.get("e.force:createRecord&...
0
votes
0answers
22 views

Unable to display error message when field is required and disabled

In my aura component i have lightning input where the value i am auto populating. The ask is to restrict user from entering any value. Have made the field disabled and required. But if the value is ...
0
votes
0answers
26 views

Uncaught Error in $A.getCallback() [Cannot read property 'window' of undefined]

I am running into a very strange error. I have an aura component that loads a visualforce page via iframe. The iframe uses a post message to communicate with the aura component. I have an event ...
0
votes
1answer
16 views

I am getting no values from below Aura blank rows are seen

Component: <aura:component controller="AB_Account" implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:...
0
votes
1answer
51 views

How To add new Contact To existing Account?

Created A component to Create a New Contact And Added it to Account Page layout. now i want to Connect That new contact to Account in which we have. Apex public class CreateContact_Ctrl { @AuraEnabled ...
1
vote
1answer
15 views

UIAPI retrieve picklist values for record type stopped working - returns only one value

I have an aura component that's been working for years. It calls the uiapi to retrieve and display a multi-picklist based on the available picklist values for a specific contact record type. Yesterday ...
0
votes
1answer
33 views

Learning VF development in 2021..would it help? [closed]

Is learning VF development in 2021 still worth it? With aura and LWC in place especially the LWCs greatly supporting "anybody can code"? Would learning VF development be beneficial in 2021? ...
0
votes
3answers
44 views

aura:component JS controller stops working when I add Apex controller

I'm new to Aura. A tutorial I'm following shows that adding the Apex class to the controller attribute in the aura:component element is how you can run Apex. However, when I change the controller ...
0
votes
0answers
25 views

Getting Unable to get property 'value' of undefined or null reference - Lwc Quick Action

I am getting the below error, The component work fine once first called by quick action but once i go back to the same quick action I get the below error. If i refresh the page then i dont get the ...
0
votes
3answers
54 views

cant set attribute of type object

I am getting the response value from apex controller but it is not setting in my attribute beerList. what could be wrong? controller public class BeerSearchAuraService { @AuraEnabled public ...
0
votes
0answers
13 views

Aura Dialog box not displaying text as HTML

We have created one lightning component. Onclick of open button Modal box will open and suppose to display contents as HTML but we are getting only static html, We want it to display as Actual rich ...
0
votes
1answer
77 views

Navigating from an Aura component to a Visualforce page gives navigation error 'browser blocks cross-domain cookies'

When navigating from an aura component to a VF Page I get the following error, and I can't figure out why. Note, in the retURL, the component is lightning:urlAddressable Error: We can't display this ...
0
votes
0answers
31 views

$A.enqueueAction returns Internal Server error after opening a visualforce page which redirects back to the org

I am facing an unusual issue and am at my wits end to figure this one out. I am developing an Aura application which has an OAUTH flow in it. The Salesforce User is going to authorise with an external ...
0
votes
0answers
24 views

Financial Service Cloud relationship map in force.com platform

I'm looking out for a FSC relationship map like component that I can use in a custom aura/lwc cmp (force.com platform). I was not able to find any such existing lightning component in the standard ...
0
votes
1answer
33 views

$A.get(“e.force:navigateToURL”) not firing in lightning out - Needs Alternative

I have embedded the lightning component into my VF page. In the lightning component I am using $A.get("e.force:navigateToURL"); to navigate to a URL. Since I am calling the lightning ...
0
votes
0answers
26 views

Read static resource file (img) in aura controller js

I have created an aura comp when it is displaying icon from static resource dynamically. In some cases the icon is not available so we need to display a default icon. Now I am displaying icon ...
0
votes
0answers
14 views

lightning:fileupload upload file button does not show file browser for some users using chrome

I have a aura file upload component, and it has worked for over a year now. However I have one user where, when she clicks the upload file button, nothing happens (no file browser opens). If she ...
0
votes
0answers
15 views

service console done loading trigger

I have an aura component in the service console. I would like to init the component only after the service console is fully loaded. is there a way to do it? Thanks!
1
vote
1answer
29 views

How to have VS Code only create some of the component files by default?

In VS Code, when I create a an Aura Component, it creates the full Aura Component Bundle with all the files. Is there a way to limit what it creates? Ideally, limit it to the helper, controller, cmp, ...
0
votes
1answer
33 views

Display LWC component as a full width and height page but not via VFP

Is there any way we can display LWC as a separated page similar to VisualForce page? I know we can create an app than aura component which holds LWC component on VFP but we don't want to use VFP at ...
0
votes
0answers
18 views

How to Capture Response from 3rd Party Application back to Salesforce in Canvas App?

Requirement: There's 3rd party application in our Organization which is used to upload the document. Once we upload the document in that application we want to fetch Document Id as Response back to ...
0
votes
1answer
24 views

Bind function in aura

Need to do without CSS+HTML I want to show a custom label on hover. I am using below code **HTML* <aura:attribute name="isHover" type="Boolean" default="true" /> &...

1
2 3 4 5
20