Questions tagged [lightning-aura-components]

The Lightning Component framework is a UI framework for developing dynamic web apps for mobile and desktop devices. It’s a modern framework for building single-page applications engineered for growth.

Filter by
Sorted by
Tagged with
0 votes
0 answers
23 views

How to pass variable to screen flow from lightning aura component for creating new records

There is a particular object Playbook__c which has master detail relationship with Contact. In this Playbook__c object, there is Contact__c field which is basically the master detail field. Now our ...
vinesM's user avatar
  • 1
0 votes
0 answers
21 views

Override the NewCase Action with a Lightning Component that launches a Flow in a pop-up

Overview We've built a custom screen flow to guide Users through creating a new Case record. We would like this flow to override the standard "NewCase" action, so that when a User clicks it, ...
JustinF's user avatar
  • 391
-1 votes
1 answer
21 views

standard action 'New' and 'Edit' override with single aura component

I am trying to override two standard actions New and Edit for my custom object through a single Aura component. I am not sure how to find inside my aura which button is clicked.
shamikh's user avatar
  • 13
0 votes
0 answers
17 views

Help with button in Aura component

This might be a dumb question, but I'm honestly at a loss here, and I don't know much about aura components. I have a button I need to add functionality to (make it mark a checkbox in an object) but ...
Kamila's user avatar
  • 1
0 votes
0 answers
46 views

Starting a screen flow inside an overlay modal that I am calling from utility bar using Aura

I have tried going on the LWC route but there is no functionality like overlay library. I have solved this issue using $A.createcomponent. But I am facing a bug while clicking the button for the ...
Satyajit's user avatar
-3 votes
0 answers
31 views

how to use if else condtion in lookup filter in salesforce? [closed]

How to conditional filter condtion apply to the Lookup Field. Suppose while creating Contact, I have a lookup field in Contact Creation Page, There is another boolean field 'IsCRO' , If it has ...
Salesforce Learner's user avatar
1 vote
1 answer
144 views

How to over come salesforce known issue in aura component in winter 24 release?

Following code works perfectly before winter 24 org, Component: <aura: component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" > <...
Ragul's user avatar
  • 507
0 votes
1 answer
34 views

Are Aura Components, Lightning Web Components and Visualforce pages based on MVC architecture paradigm?

This may sound at first sight as a question which has been answered many times, but it has always been related to a specific thing and I've heard people have different opinions on this topic. Also, I ...
dbase1's user avatar
  • 156
-2 votes
0 answers
25 views

How to display multiple inputs and store the values between start date and end date quarters

for example, having a start date as aug-1st-2023 and end date as april-30-2024. with this dates will get 2023quarter3, 2023quarter4, 2024quarter1 and 2024quarter2. so they are 4 quarters and need to ...
userv's user avatar
  • 77
1 vote
1 answer
41 views

Boolean aura attribute not working in lightning component

I came across a weird behaviour on our sandbox org which is currently on Winter 24. We have several lightning components that we use in all different kind of screen flows. For whatever reason aura ...
Jan Tonnet's user avatar
-1 votes
1 answer
28 views

How do I get contact id that is associated with an event from Event Record Page

I am working on adding a custom aura component into the Event Record Page. The below is what I have for .cmp <aura:component implements="flexipage:availableForAllPageTypes,force:...
Liu Hantao's user avatar
-1 votes
0 answers
31 views

getting an error "cannot read properties of undefined while loading the component"

({ doInit : function(component, event, helper) { document.title = $A.get("$Label.c.Timesheet_Report"); helper.getDomainNameForUrl(component, event, helper); var ...
Yash Roy's user avatar
0 votes
0 answers
16 views

Data Not returned from apex to Aura component

I am trying to insert record and return recordId from apex class to aura component. But i could not log the data inside setcallback method. Aura Code : try { var action3 = component.get('c....
Ananth Paramasivan's user avatar
-1 votes
1 answer
41 views

AURA component with implements="lightning:availableForFlowScreens" not showing up on flow screens

I have an aura component that has implements="lightning:availableForFlowScreens", but won't show up in the flow builder, other AURA components show up, but not this new one. Here is my AURA ...
Travis's user avatar
  • 333
0 votes
1 answer
36 views

Community Site users cache not refreshing

Some time ago I updated a community site to remove an old visualforce page with an aura component that served a similar purpose. However, on occasion some users contact us having issues with the site ...
Claire's user avatar
  • 19
0 votes
1 answer
53 views

Use QuickText from custom LWC

Is there any way to invoke the Quick Texts functionality from a Custom LWC? I know that you can query the QuickText object so you could retrieve and select your records. However if I understand ...
zurdo's user avatar
  • 103
0 votes
0 answers
64 views

Please Review : Input tag File Loading Using LWC and XMLHttpRequest (Able to upload more than 36 MB - Tested till 36 mb till now )

A day before yesterday, I posted a question How to reduce the heap Size while File Upload Aura (Do read this before reading further to understand my problem statememt). I have Aura (Parent) and Lwc ...
Rabb's user avatar
  • 345
3 votes
1 answer
117 views

How to reduce the heap Size while File Upload Aura

I have two components, Aura (Parent) --- Showing fields of cases and have create case button LWC (Child component) --- Using input tag, I am accepting csv and excel of maximum size 3.5 mb. After ...
Rabb's user avatar
  • 345
0 votes
0 answers
43 views

Redirect to case record page without reopening a tab

I am using workspace api to open a tab on click on new button on case list view. On clicking new button a custom aura page is opened which will allow to create a case. On click on save button on the ...
Rabb's user avatar
  • 345
0 votes
0 answers
33 views

Visual Studio Code - Deploying Aura component - Name: The Aura Component Bundle API Name can only contain underscores and alphanumeric characters

I am new to VS code and this is my first aura component deployment from VS code to org. --> connect to an org, create a project, create an aura component under aura and deploy. When I try to deploy ...
Smita Hodiggeri's user avatar
-2 votes
1 answer
26 views

setParams not setting parameter in apex controller

I have an aura component that passes a record Id to an apex controller to fetch records to display along with assessing a users permission to access the component. For reasons I cannot establish the ...
Joe Beech's user avatar
-1 votes
1 answer
28 views

How to conditionally navigate to a page developed by page layout and the aura wrapper component on page load for creating opportunities?

I am new to Salesforce and am working on something already developed. Currently, I have a requirement to navigate a user with a specific profile to the page created using the page layout option (say, ...
Salesforce Learner's user avatar
-1 votes
1 answer
38 views

Can AuraHandledExceptions appear on an Aura component without being processed by an action callback function?

I have a custom error page that should appear every time an error appears from the middle/back end. I have an Aura component that is using this. This Aura component has 4 actions that call its Apex ...
seekingPeace's user avatar
1 vote
2 answers
57 views

Cannot pass text from LWC to Apex Class

I'm attempting to pass text from a lightning-textarea to my apex handler. I'm still getting null values for the message, but am not sure why. Any help would be greatly appreciated. HTML: <...
kai998's user avatar
  • 49
0 votes
0 answers
39 views

How do I remove the gap between a label and a lightning:select

In order to have a bold label, I separated it and hid the label on the select element. However, it seems to leave the label space. (This doesn't happen with lightning:input elements). <lightning:...
Dave Roberts's user avatar
0 votes
1 answer
134 views

Unable to scroll the record page after closing the LWC pop-up window from save button

I have a Aura component on custom tab of Account Record page , on Aura button click opens a LWC pop-up to create custom object record. After saving the record, the pop-up will close but the scrolling ...
Anjali's user avatar
  • 247
0 votes
0 answers
45 views

Wrap Header Column Text of Datatable Aura

Is there any way to wrap the header column text of Datatable tag in Aura?
Rabb's user avatar
  • 345
0 votes
2 answers
61 views

Use aura attribute to define button background color

I am wondering if it's possible to use an aura attribute to set the button background color of a button. I was able to statically set the background color using CSS and by giving the button a defined ...
gjohnson282's user avatar
0 votes
1 answer
69 views

Aura component error : Document.body.append is not function

Please help and suggest new to aura components, how to write document.body.append in aura components. I have one components which loads from static resources and i'm calling method from static ...
New Learnr's user avatar
0 votes
1 answer
25 views

How to generate e PDF in Apex from a VFP containing multiple aura components and attach it to an email

I currently have a VFP without any controller attached to it which displays some aura components and passes them input values from URL parameters. This is used to print a pdf or paper version of the ...
Frans's user avatar
  • 29
-1 votes
1 answer
99 views

Access to fetch has been blocked by CORS policy - LWC

I'm having the following error once I try to do a POST in an outside link of my Salesforce org, So, I've already added this URL to the "CSP Trusted Sites" and the "Remote Site ...
André Rödel's user avatar
0 votes
1 answer
40 views

How to add 2 components with drag and drop in the same tab horizontally?

For a potential task, they wanted to create a lightning page with two sections where two components could be added, one on the left side and the other on the right side, all within the same tab. For ...
Willy Kelly's user avatar
0 votes
0 answers
21 views

Avoid view only mode after creating record using lightning:recordForm (enforce always new record creation mode)

I would like to use the component lightning:recordForm to simplify the process for creating always a new record, however, after the record is successfully created and the user is redirected to main ...
lopez.regalado.fj's user avatar
0 votes
1 answer
44 views

Hide custom picklist field dependent on other picklist value in Aura?

I am trying to hide picklist value field on aura component page. There is one picklist field called Registraction__c with Yes/No values. I am trying to control another field based on the values ...
user136950's user avatar
-2 votes
1 answer
24 views

Is it possible to hide custom picklist field dependent on other picklist in Aura?

I currently have an aura component where I have multiple fields for data entry from user. I want to add a picklist field based on the users answer from other picklist value. For eg:- Do you live in ...
user136950's user avatar
-1 votes
1 answer
37 views

Implementing a Spinner in Aura Lightning Components

I'm working on an Aura Lightning component setup consisting of a parent component and two custom child components. When the user clicks the "Filter" button in the parent component, data is ...
Pavan tej's user avatar
  • 1,429
0 votes
0 answers
44 views

Aura component not available in App Builder

I have an aura component in a managed package. The component has below configuration <aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:...
Saurabh's user avatar
  • 27
0 votes
0 answers
49 views

How to open multiple instances using "standard__navItemPage" in a console app?

In salesforce we are using { type: 'standard__navItemPage', attributes: { apiName: 'MyCustomTabName' }, state: { c__recordTypeDeveloperName : 'TestRT', ...
Nagendra Singh's user avatar
0 votes
0 answers
52 views

openCti sforce is undefined in aura component

I have downloaded openCti js library from the below link mysalesforcedomain/support/api/53.0/lightning/opencti_min.js Added it as a static resource then loaded the openCti library in the aura ...
gs650x's user avatar
  • 2,570
-2 votes
1 answer
43 views

Exceptions on Client side Aura,LWC [closed]

What are types of exceptions on client side in Aura, Lightning Web Components?
Prathyusha's user avatar
0 votes
0 answers
64 views

How to get selected rows in lightning:datatable using onClick from lightning:button

Use case: Users are presented with a datatable that they can select records from and click a button to convert those records into pdf I can't get past the selecting and displaying the records in ...
JRachelle's user avatar
0 votes
1 answer
65 views

is there a way to get min and max attribute in a lightning:input in js controller in aura component

<lightning:input type="number" name="min_perc" aura:id="required" required="true" class="label-text minPerc" min="0" max="99" ...
Testing1002's user avatar
0 votes
0 answers
60 views

Render Lightning Runtime for Flows in a Visualforce Page and get variable value from URL

I'd like to launch my flow in lightning run time in a visualforce page and pass a variable to the flow. I previously used a formula URL in classic that appended recordid= Contact.Id to the URL which ...
forcethesales's user avatar
-1 votes
1 answer
23 views

recordViewForm not pre-populating input fields for certain profiles in aura

I have an aura component with a recordViewForm that displays multiple fields from the Account object . These input fields are supposed to be pre-populated but are not displaying for a certain profile ...
confusedstudent's user avatar
0 votes
0 answers
13 views

Why Mobile Debugging does not work on MacOS13/XCode14.0.1/iOS16.0? Why NO simulator is shown in Safaris Develop-Menu?

I wasted already hours to solve this "feature" here: Why Mobile Debugging does not work on MacOS13/XCode14/iOS16.4? Why no inspectable apps are shown in Safaris Develop-Menu? Now today I ...
Uwe Heim's user avatar
  • 28.2k
0 votes
1 answer
57 views

redirect to visualforce page when flow finishes with embedded aura component

I am following the instructions here to have my flow inside my visualforce page render in lightning by embedding an aura component. I want to redirect the flow at finish to another visualforce page. ...
forcethesales's user avatar
2 votes
1 answer
97 views

Is it possible to use Custom label with Options attribute in Aura?

I'm trying to replace hard-coded emails with custom labels in the Aura component and am getting the below error message. failed to save psa_selectfromadd.cmp: cannot mix expression and literal string ...
Tom's user avatar
  • 21
2 votes
1 answer
278 views

Why Mobile Debugging does not work on MacOS13/XCode14/iOS16.4? Why no inspectable apps are shown in Safaris Develop-Menu?

After a long journey I was able to find out how to get a CSS-Inspector for iOS. I have answered my own question for that here: How to Run and Debug Salesforce Mobile App on the desktop? (reloaded 3rd ...
Uwe Heim's user avatar
  • 28.2k
1 vote
1 answer
98 views

Disable Pull To Refresh in Salesforce Mobile App with Aura Component

This questions is already answered for LWC here: Disable Pull To Refresh in Salesforce Mobile App I have tried the answer from Christian Szandor Knapp and it works well. No I would prefer to do the ...
Uwe Heim's user avatar
  • 28.2k
1 vote
0 answers
46 views

Reload Screen flow after record edit

I've created a screen flow which is placed on the record page and shows description based on values from picklist field. Eevery time I change the values, the screen flow keeps showing the old ...
Omnia's user avatar
  • 171

1
2 3 4 5
190