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

Aura Lightning Components - waiting for event or cmp.find('editForm').submit() to finish

I need to clone an item that contains lightning:recordEditForm before the user clicks submit and values are saved. The problem is that before my cloning I need to force recordEditForm to save. I ...
user avatar
0 votes
1 answer
33 views

Refresh/Reload an aura component

I'm trying to reload/refresh the complete aura component for some actions like after hit the submit button in component. Currently i'm refreshing the complete page by using location.reload(); . ...
user avatar
  • 1,455
0 votes
0 answers
15 views

How to make Red Box on required field like Message type Name field has on it?

I want to added red box on repository field like name has. <div class="slds-float_none float-none" style="margin-top: -22px;"> <c:Strike_lookup ...
user avatar
0 votes
0 answers
23 views

This is my radio group is not displaying required = true

<lightning:radioGroup variant="label-hidden" value="{!v.ET3}" class="slds-p-left_medium slds-p-top_medium" label="Radio Group Label" options=&...
user avatar
0 votes
1 answer
47 views

Accessing Child Components in lightning-input DOM element

I am trying to populate the field that is nested within an aura component using DOM elements. I am able to access the parent with document.getElementsByTagName; however, I cannot access the child ...
user avatar
0 votes
0 answers
35 views

Multiple functions in onclick in Aura

I have one button "new case", and when clicking on it, it is opening one link and subtab. So I have 2 functions: one for link(linkbutton) and one for subtab(newsubtab). How do i use both ...
user avatar
0 votes
1 answer
45 views

aura lightning component: Field Integrity Exception null: source

I am learning how to use Aura to create lightning components for record pages inside of salesforce. All I am trying to do at this point is to print the name of the Record (I'm testing with account ...
user avatar
0 votes
1 answer
21 views

How do I pass Aura v.recordId to a string literal attribute?

I am trying to call an OmniScript from a quick action. Documentation provides an Aura wrapper for this purpose. The Omni Script takes recordId as ContextId. Aura passes recordId as {!v.record Id} The ...
user avatar
-1 votes
2 answers
37 views

Apply css class based on specific condition in Lightning component along with standard Lightning Design System

I'm trying to implement a css property from the style class of the Aura component based on the value of Aura attribute along with certain other slds class as well, which will be static. Below are the ...
user avatar
1 vote
1 answer
23 views

Salesforce Aura lightning:checkboxGroup

I have an existing Aura component that I need to add some help text to. I have a lightning:checkboxGroup that I need to add some help text to one of the options. The code is below. What I need to do ...
user avatar
  • 327
0 votes
1 answer
18 views

Expand and collapse a dropdown in lightning aura

I am trying to expand and collapse a dropdown section. On Click of button, I am calling a new page and also expanding the section. While I write a condition for collapse, it does not work. I feel my ...
user avatar
0 votes
0 answers
29 views

Aura Component Lazy Loading on Browser scrollbar

Scenario: Loading 10 accordions on page load. Once we scroll down, we need to load 10 more accordions. This worked perfectly when I used the internal Aura scrollbar. But I need this to work based on ...
user avatar
  • 1
-1 votes
0 answers
14 views

Unable to get the parent field values from force:recordData using targetFields

I am trying to get the parent field values of a contract in my Aura Component as follows: <force:recordData aura:id="contractRecordCreator" recordId="{!v.recordId}" fields="...
user avatar
1 vote
1 answer
93 views

LightningAlert.open from New and Changed Aura Components

hope everyone is doing fine. I`m new to Salesforce and still learning a lot from it. I need to chance some of the alert() function to the new LightningAlert, due to Chrome and Safari retiring support ...
user avatar
-1 votes
0 answers
19 views

Using Dynamic forms on Mobile device Salesforce

In Mobile Experience - Under Details Tab of a custom object, I want to see fields coming from Dynamic forms. Is there any way to achieve this for Mobile devices?
user avatar
  • 492
0 votes
0 answers
17 views

Content is getting truncated when rendered as PDF

I have a query like i am generating a pdf file in which all the content notes will be displayed.I found an issue like content of contentnotes is getting truncated when pdf file is generated.Please let ...
user avatar
  • 1
0 votes
1 answer
31 views

lightning:inputAddress With Country Picklists

I am using the below lightning:inputAddress and specifically want to make the country field a dropdown/picklist. I am returning a map value from the apex method. But the values are not being populated ...
user avatar
  • 228
-2 votes
0 answers
14 views

how to remove the table header from custom modal when the modal is open?

On click, the popup is shown to the user but when the modal is displayed the table header is highlighted over the popup modal which is not correct it is supposed to be in the background as you can see ...
user avatar
1 vote
0 answers
53 views

Aura Component Boxes in aura iteration

How could I have some boxes with same vertical size that are being created in a iteration on aura component? Code: <div class="slds-grid slds-wrap"> <aura:iteration ...
user avatar
-1 votes
0 answers
18 views

How call and get values from rest api in salesforce [duplicate]

hey I am new to salesforce, i need to call a rest api and simply get values to populate a list using apex. i have no idea where to make the actual rest api call and how to pass the returned value to ...
user avatar
0 votes
0 answers
30 views

Throwing Error Message Using Trigger for aggregate query

My scenerio is like we have a case object. That case object has relation with "sample" object. "sample" has master detail relation with case object. Now in "sample" we ...
user avatar
  • 1
0 votes
1 answer
35 views

Open standard new record page from lightning flow

I have a flow on new button of an object to collect some user details. Once user details are entered by user, I want to open standard record create page with details from flow prepopulated. Values ...
user avatar
0 votes
1 answer
51 views

Salesforce lwc &aura .Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'ma')

I use aura, replacing the standard create button like this(CreateAccountCompt): <aura:component description="CreateAccountCompt" implements="flexipage:...
user avatar
0 votes
1 answer
45 views

Regex for Lightning Input in Aura Component

I have one Lightning input in which I have to show the error message if condition is not satisfied. 1.4 characters min 2.12 characters max 3.Allowed characters: Letters (A,B,M....26 capital letters of ...
user avatar
-1 votes
1 answer
26 views

How to iterate List<Map<String, Object>> in aura component

I want to iterate over List<Map<String, Object>>. I'm not sure how to do it. Below is the response I am getting from apex class to aura controller. [{"label":"Test 1",&...
user avatar
  • 25
0 votes
0 answers
23 views

Generation of pdf from lightning aura component and attach the same to case object

I have the requirement like i need to generate the pdf from aura component and the generated pdf should automatically attach to case object. I tried in following ways : I have created lightning ...
user avatar
  • 89
0 votes
0 answers
21 views

Capture LiveAgent supervisor messages on a custom aura component

I'm building an aura component to interact with liveAgent. I'm leveraging lightning:conversationToolkitAP for agent-customer messaging and lightning:omniToolkitAPI for agent interactions with ...
user avatar
  • 161
1 vote
0 answers
58 views

Opportunity Access issue in Aura component after Summer'22 release

After summer'22 release, our community homepage is not rendering properly. After looking into the issue, we feel that it is related to Opportunity object access for "Customer Community Login"...
user avatar
0 votes
0 answers
47 views

Salesforce lwc *&exception .Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'ma') [duplicate]

I use aura, replacing the standard create button like this(CreateAccountCompt): <aura:component description="CreateAccountCompt" implements="flexipage:...
user avatar
0 votes
1 answer
31 views

Find index of an Id inside list and then delete it using the index in Aura

.cmp file: <aura:iteration items="{!v.Files}" var="f" > <li> <b class="color-blue">{!f.name} </b> <a href="javascript:...
user avatar
0 votes
1 answer
23 views

How to pass lightning:outputField value which is used in recordViewForm

I want to pass my lightning:outputField value to aura controller on hover the field. I'm not able to find a way to do it. Below is the code. <aura:iteration items="{!v.completeList}" var=&...
user avatar
  • 25
0 votes
0 answers
27 views

lwc to aura redirect not working on community [duplicate]

I want to redirect to a custom aura component after selecting a row on a datatable. The datatable is part of a lightning web component that is used on a community page. But the navigation doesn't work ...
user avatar
0 votes
1 answer
38 views

For loop with in another for loop in aura javascript causes performance issue how to overcome on this issue

Here is the code snippet where my filterList is original list contains 300 records data and newList contains the selected list values which an 165 as example as below for loop causes an performance ...
user avatar
  • 1
1 vote
1 answer
26 views

Map with empty values are omitted by default

Below is the way I store the keys and values in my map. Map<String, Object> mapNew = new Map<String, Object>(); Object obj = record.get(fieldName) != null ? record.get(fieldName) : null; ...
user avatar
  • 25
0 votes
0 answers
18 views

flow modal window not able to close in lightning app builder

I am calling a screen guided flow from a modal window in lightning component which I am making visible on a particular status on Case . But the modal does not closes on Lightning app builder from ...
user avatar
  • 197
0 votes
1 answer
160 views

Open Modal Popup on Onchange in Aura Component

I have requirement in Aura Component where an input is given in input field and on its onchange I have to show modal popup, which asks whether I have to save the changes or not. Need little help in ...
user avatar
0 votes
0 answers
33 views

Keep getting Params undefined

My overall goal is by clicking a button on the homepage it'll then load another component. PDHomePageCom.cmp <aura:component implements="force:appHostable,flexipage:availableForAllPageTypes&...
user avatar
0 votes
1 answer
32 views

Aura method is not calling on checkbox click i tried with onclick and onchange both method

MY cmp file code below <div class="slds-p-around_small slds-grid slds-gutters"> <lightning:input class="chkboxPadding" type="checkbox" ...
user avatar
-1 votes
1 answer
22 views

Does SF Automatically Assign the AccountId when using the <lightning:recordEditForm> for the Case object?

I am using the lightning:recordEditForm on the Case object. Using the console and the JS Controller I can see that the Account Id that is selected by the user in the form is the Account Id that is ...
user avatar
0 votes
0 answers
22 views

How to set an input field value on change of checkbox [duplicate]

I'm trying to modify the field values using lightning:recordEditForm. I have one checkbox and one date time field. On change of the checkbox, current date time should be populated on to the date time ...
user avatar
  • 25
0 votes
1 answer
54 views

Translation for LWC/Aura component in Experience Cloud

What is the best approach to translate a LWC or Aura in Experience Cloud? Is it possible to use the OOTB Export Content of Experience cloud for translation of custom components? I have tried this but ...
user avatar
1 vote
1 answer
58 views

Max file size to upload to database when using input type file is not 4.5 MB

Max file size in 4500000 bytes which is almost equal to 4.3Mb not 4.5 Mb I see many blog wrote as 4.5 Mb Using input type file is not allowing to save 4.5 MB but it is allowing upto 4.3 MB Is my ...
user avatar
  • 361
0 votes
1 answer
20 views

Mistakenly set Boolean attribute to Yes in lightning

In my lightning component have an attribute defined as boolean <aura:attribute name="test" type="Boolean" default="false"/> ...... ..... //...
user avatar
0 votes
0 answers
61 views

How to stop CountDown Timer (Aura Component) automatic on Saturday and Sunday Also on Holidays and Resume auto on Working Days for Ex ;- Mon-Fri?

Aura Component <aura:component controller="updateTATaura" implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,...
user avatar
  • 1
0 votes
1 answer
142 views

Implement lazy loading on table using aura component

I'm trying to implement the lazy loading to the aura component and Accounts record maybe 10 or 100 or 500 and I do not have the ability to play with soql since this component sits as a child and the ...
user avatar
  • 6,614
0 votes
0 answers
49 views

Cross Origin Read blocking cross orgin response while running script in community

We have external system which is providing us chat capability. I am trying to load that script within Salesforce community by running the script in Developer > Head Markup setting by pasting below ...
user avatar
0 votes
0 answers
64 views

How to open Aura and LWC pages as Sub-tabs when parent record(tab) is opened?

We have some Aura and LWC components which shows data based on the AccountId. The requirement is that when an Account record is opened then these components should open in the background as a Sub Tab ...
user avatar
0 votes
1 answer
35 views

Lightning Aura Component with external MailGo JS Library for mailto links

I'm an experienced back end java developer, but newer to Salesforce and front end development. I'm trying to implement this MailGo JS Library to handle our :mailto links a little prettier than just ...
user avatar
0 votes
0 answers
27 views

How to create different layout for Community Sites depending on the user device

I'm building a Salesforce Community site (Experience Cloud) using the template Build your own(Aura) and/or Build your own(LWR) I've created my layouts using flexible layout, but my question is: Can I ...
user avatar
  • 100
0 votes
0 answers
32 views

Which action called the component (Aura) [duplicate]

I have an Aura component that I added to the page, that called every time a record opened. The same component can be called from a button - (Buttons, Links, and Actions). The component should behave ...
user avatar
  • 959

1
2 3 4 5
24