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

How can we apply lazy loading on a JQuery table in aura commponent [closed]

How can we apply lazy loading on a JQuery table in aura component
0
votes
0answers
9 views

How do I use a value in a subquery with a lightning datatable? [duplicate]

I have a list created by a SOQL. I can display the regular values but the values by reference are not displaying. I have tried Actor.Name, and Name for the fieldName. What do I use? Thanks everyone. ...
0
votes
0answers
12 views

How can i realize lightning:navigation to account detail page? Aura Component

help me please, i have a child aura component, and i need to realize redirect on detail page when i clicked on Account Name. <aura:component implements="flexipage:availableForAllPageTypes"...
1
vote
1answer
34 views

Understanding LWC without APEX?

I made a post under the title a few days ago called "Conditional Rendering of a Form Based on Case Status LWC (if:true)" In that post I talk about how I am trying to set an attribute to the ...
0
votes
1answer
39 views

How to add a record data to this without using apex?

created a static table but now need to add record values to it ? Help me and thanks in advance. code: <aura:component implements="flexipage:availableForRecordHome,force:hasRecordId,force:...
0
votes
1answer
47 views

CurrentPageReference points to wrong reference on second open of LWC

In an Aura component embedded on an Account record page, I have a button which navigates to a Lightning Component Tab using the following code: const navService = component.find('navService'); ...
0
votes
0answers
32 views

LWC Component not taking new inputs after pressing browser back button

I am trying to navigate from one 'cmp 1'LWC component to Another LWC component 'cmp 2'. In the 'cmp 1' component I will display the list of accounts and when I check the accounts checkbox and click on ...
0
votes
0answers
33 views

Access the PDF which has Sensitive data from Salesforce [closed]

I am uploading the PDF from Custom Component. But I could not Open that PDF from Salesforce standard attachment tap Since that PDF has sensitive data. I want to know how to upload the PDF which has ...
1
vote
1answer
52 views

Conditional Rendering of a Form Based on Case Status LWC (if:true)

I am trying to get a form to render conditionally based on the Status value of a case (don't ask me why I'm doing this just trying to learn about attributes, @wire, etc.). Any help would be ...
0
votes
0answers
22 views

Migrating my AURA components to LWC components. I need to replace the aura component in a flow screen as well

I migrated my AURA components to LWC components but when I add my LWC component in my flow screen and run it, my changes are not visible. I received error in the bottom. This page has an error. You ...
0
votes
1answer
35 views

Initially default selected value returns null during button click in aura component

I made Temp Reservation as default selected option. Initially when i click save button it returns null instead of Temp Reservation. once i change the option it returns the selected value. Anyone helps ...
2
votes
1answer
67 views

Aura Controller "with sharing" is still acting as without sharing and allows deletion

Current Setup: I have an Aura controller which uses "with sharing" and a method deletes a lead using the Id. I set up a user with profile with no Delete access. I have also revoked "...
1
vote
1answer
29 views

How to call a JS by other JS in Aura Component

I have two components, Spinner and SaveAccount. The component Spinner is to show loading, and the component SaveAccount is to save account but while don't save, must show loading. I need to use ...
0
votes
0answers
10 views

Javascript: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) because of this line document.body.appendChild(a) [duplicate]

I'm spending time trying to fix veracode scan flaw CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS). What I do is an HTTP call to my backend in order to open a blob ...
0
votes
0answers
15 views

updated design Token available warnings and css styles are not applying to my component

I have a Block.cmp file and custom CSS settings are not applying in the result. Block.cmp file code: <div class="board-block slds-align_absolute-center slds-var-m-around_medium slds-var-p-...
0
votes
0answers
17 views

Using a non strict javascript library in an aura component

I need to use the Utility Bar API to show a notification in a utility bar item. This API can only be used in an Aura Component. At the same time I need to import a javascript library that is not in ...
2
votes
1answer
32 views

Is it possible to run the utility bar api and import a js file at the same time?

I have some html/js code I want to display in a utility bar item, and I want to be able to run the Utility Bar API on some events that occur in the js code. The html includes me importing a js file I ...
3
votes
1answer
30 views

How to create a canvas application displaying a connected app in a 2GP

I am trying to create a 2GP that includes an Aura component, which shows a canvas app using force:canvasApp. I have tested this Aura component by creating it in the developer console. I did this in ...
0
votes
1answer
23 views

How can I hide a lightning:input using aura:if?

I'm building a component and I would like a field to appear only if it has not been filled in. It's working fine to hide when the field isn't empty, but when I need to fill it using my component ...
0
votes
0answers
7 views

Provide feedback while Flow Action (Local Action) is running

Local actions are a great solution for a few of our problems. Still, on a few of our local actions, they can take a little while to run, so is there a way we can push the status back to the running ...
0
votes
1answer
22 views

Get field value of current record in Aura component

I have an auro component where I created an input field and I want its value to come from the AccountID field. The component is placed on related object detail page. <aura:component controller=&...
0
votes
0answers
34 views

Access to static resource blocked by CORS error on Lightning Aura Component [closed]

I have a utils JS library which uses no external library uploaded as a static resource. As admin, I have no problems accessing the static resource when opening an Aura component requiring my utils JS ...
0
votes
0answers
38 views

Aura handler Invalid attribute "name"

I want to fetch records using Aura component but I get the Invalid attribute "name" error in <aura:handler name="init" value="{!this}" action="{!c.myAction}" ...
0
votes
1answer
40 views

How to get content within 4 column with proper alignment

Trying to achieve 4 columns layout. Tried below code <lightning-card title={title} icon-name="custom:custom17"> <!-- Current Period Logic starts here --> <div class="...
0
votes
0answers
13 views

on closing subtab, parent component's tabclosed event is getting invoked

I have 1 Aura components, CmpA 2.CmpB CmpB is displayed as subtab inside CmpA. When I close the CmpB subtab, the tabClosed event is getting fired. Is there any way to overcome this issue ? ---CmpA--- ...
0
votes
0answers
20 views

Link to record === Instead of displaying a text (String)

I'm trying to add a datatable component to a flow in order to display knowledge articles. I've downloaded the component online. Unfortunately the component doesn't give me the possibility to access my ...
0
votes
0answers
11 views

The ability to reset the dashboard state.(add a button) to check high level support of logged in user

the requirement as below. This feature will create the custom Aura component which will render the case dashboard (tableau crm dashboard)(completed) The ability to reset the dashboard state.(add a ...
0
votes
0answers
19 views

Accessing JS function loaded as static resource in aura components in browser console

I am adding pendo.js and jquery.js static resources in the Aura component loaded via Quick Actions. <ltng:require scripts="{!$Resource.jquery}" afterScriptsLoaded="{!c....
0
votes
1answer
30 views

Values Passed Data to apex controller returning Null

I am creating a code that is supposed to Saved data given by the user, however the data that I pass to apex is null, I cannot get why. here is my js: handleSave(){ console.log("Saving...&...
0
votes
1answer
29 views

Showing related object fields in a custom aura component

First time with Aura components, having a hard time understanding them. I'm trying to write a simple component that shows some related object fields. I know there's a standard one provided by ...
0
votes
1answer
24 views

Lightning component working alone but not working inside another component

I've created a component to update "Observations__c" value in Account Object. It is working fine, but I need to call it inside another component. But inside another component, it isn't ...
0
votes
0answers
30 views

Aura - Console Subtab Navigation

The Sales app being used is a console app. I developed an lwc that is initiated by an Aura component and that Aura component is used to override the New button for Opportunities. When the New button ...
0
votes
1answer
37 views

How to render a PDF from a visualforce page in an Aura component modal full size

I wanted to preview a rendered PDF in a Lightning Component. To do so, I have created a visualforce page that renders as PDF. Additionally I have created a Lightning Component that is used as a Quick ...
0
votes
1answer
19 views

If I click the button in the Aura Component, I want to go to the Url I want

JS Controller onconfirm : function(component, event) { var windowHref = window.location.href; var url = new URL(windowHref); var recordId = url.searchParams.get("...
5
votes
2answers
140 views

Why salesforce lightning experience is ironically sluggish?

Why lightning experience is ironically sluggish? The classic experience comparatively feels faster when it comes to page load time and navigation. Have seen may developers and admins prefer classic ...
0
votes
1answer
24 views

Lightning:input required="true" is not working [closed]

I'm using a required field for an aura component that should does not save a record if any of required fields is missing. This is my input: <lightning:input aura:id="test" name="test&...
0
votes
0answers
17 views

How i can inherrit design resource in aura when i extends component?

How i can inherrit design resource in aura when i extends component ? I have abstract component, with 'extensible="true"' in this component i have design ressource with attributes. But my ...
0
votes
1answer
65 views

LWC Button with parameterized Apex method

I want an LWC Button component where the user putting it on a Flexipage can define which Apex method to call? By putting the name of a Callable class into a parameter field? Is that possible in LWC?
0
votes
0answers
14 views

Inline Edit and Row level Actions

Scenario: I want to use an account standard object action to create numerous Catalog__c custom object records. Catalog records will be imported using a csv file. I want to display the records in a ...
0
votes
1answer
39 views

Lightning datatable displaying rows but values are not visible

I am trying to display Account records through dynamic SOQL, and I am getting the queried data in the console. Also, the result screen is displaying the rows with respect to that data, but the values ...
0
votes
0answers
17 views

How can I highlight/select a tree node when on the record page

Problem: I have a lightning:tree that display a list of numbers, with a parent and child nodes. When clicking on a node, the user navigates to the page related to the number. I need to have the node ...
0
votes
1answer
22 views

HTML5 data- attribute how to retrive value

All, I am dynamically creating a component with this code: $A.createComponent ( "aura:html",{ "tag": "input", "aura:id"...
1
vote
1answer
18 views

Cannot get recordId on Aura controller

create: function (cmp) { var name = cmp.find("name").get('v.value'); var stat = cmp.find("stat").get('v.value'); var comment = cmp.find("...
0
votes
0answers
11 views

Show in UI own record in aura component

I have a custom lightning component and I would like to show one field like this: A default record appears on the input field. In my case, my aura component shows just current Record Id, like this: ...
0
votes
1answer
41 views

refresh LWC page when editing or created a related record

On the Account record page, I want to refresh my LWC page whenever I create or edit a related contact record. My LWC page is fetching list records from apex not using LDS. I couldn't think of any way ...
0
votes
0answers
68 views

jspdf not opening generated PDF(datauristring) in new tab in aura component

I am trying to generate pdf and open it in a new tab using an aura component. Doing this with API version 50 gives me an error (due to locker service probably) Uncaught SecureWindow.open supports http:...
3
votes
1answer
52 views

NavigationLinkSet attribute not working for forceCommunity:navigationMenuBase in my Digital Experience

I'm trying to extend the navigationMenuBase interface to build a custom navigation menu in my community (Using Build Your Own template). A requirement I have is I need to be able to display a ...
3
votes
1answer
73 views

How to let extension packages customize UI of base package

Salesforce is bringing out a lot of new things to make Lightning UI more flexible: Dynamic Forms, Dynamic Interactions, etc. But they are not ISV-friendly because they are based on Flexipages. And ...
0
votes
1answer
26 views

Aura UtilityBar Components: How to set default component dimensions on the Lightning App Builder and prevent modifying of these values?

I am currently developing an Aura component for the UtilityBar and I am having trouble setting default values for the component on the App Manager screen. For an example: I would like to set height ...
4
votes
1answer
36 views

Display a flow inside another flow keeping the original flow in the background?

I have a flow running. When a person clicks a button I want to open a modal and run a separate flow keeping the other flow in the background. So when the user closes the modal they can continue with ...

1
2 3 4 5
21