Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
9 views

After Summer'19 release - “View All” on custom lightening component related list not loading

After Summer'19 release - "View All" on custom lightening component related list not loading. When users click on "View All" to view all the records, it takes to separate page but nothing loads. Is ...
0
votes
1answer
19 views

lightning:checkboxGroup: How to identify the name value of the selected record

I have aura List attribute which has the values from the custom settings. I am trying to find the all the value of that list attribute by passing the Key value of the selected record. I am not sure ...
0
votes
0answers
11 views

Unable to remove a component from salesforce case page editor

I created a lightening component, added to the case detail page in salesforce, but now i am unable to delete it. The delete button on the top right corner of the widget is disabled. But i am able to ...
0
votes
0answers
16 views

Does response.getReturnValue(); terminates the execution of controller function?

I am trying to get an attribute set to the value returned on using response.getReturnValue(); and a thereafter a Boolean checked to true in a controller function. This save function saves the record ...
0
votes
0answers
14 views

baidu MAPS in salesforce

I have a unique requirement where i need to post baidu map for china as google maps are blocked their. Do any one have any idea regarding this how iam able to integrate baidu maps with salesforce as ...
1
vote
1answer
12 views

How to hide page header in lightning component

I want to hide a page header from an appHomeTemplate I have looked at several similar questions but none of them give an answer. I have used .THIS.slds-page-header { display: none; } in my page ...
0
votes
0answers
11 views

Pass parameter from modal popup to the parent lightning component which initiated

We have a requirement where in there is a button on the lightning component. On click of the button , a popup opens with list of records from an object. On choosing a record and closing the modal, ...
0
votes
0answers
12 views

Translate picklist value into Arabic

we have a requirement in which we have to translate the multi picklist values into arabic. We are saving Multi pick list value as string in other field. We need to convert this string Arabic also. ...
0
votes
0answers
15 views

Lightning:CheckboxGroup how to default as checked

I have a lightning component called "TodoItem" which lists the TO-DOs for the user to go through based on the picklist field "Insurance Type". I was able to acheieve this through custom settings. I ...
0
votes
0answers
12 views

Lightning component - Event bubbling in source component

I am new to salesforce lightning component creation. i was going through the Aura developer guide and for inter-component interaction, i found that when a event is fired, source component can handle ...
0
votes
1answer
16 views

Showing user's assigned default record type on a lightning component

On a standard button override component I'm getting all record type values. Is there a way to show default record type assigned to the user's profile? @AuraEnabled public static Map<Id, String> ...
0
votes
0answers
11 views

Show chatter feeds of child case on main one

We are using the main and child case structure which means a case can have many child case but child cases cannot have also child case. In this structure, I want to show all chatter feeds on main case ...
0
votes
1answer
26 views

Estimation of Translation in Salesforce

Can anyone tell me if i want to translate the complete org into 10 different languages how much time will it take? Is there any elements in org that cannot be translated? If i am translating the org ...
0
votes
1answer
48 views

Print Aura from Apex to Lightning Component

I am trying to print lightning aura markup from apex to lightning component, i have my reasons :( but its not working, I tried unescapedHTML as well. Here is how my lightning component looks Aura ...
2
votes
1answer
23 views

Community Guest User vs Force.com Guest Site User

What is the difference between community guest user and Force.com site guest user? Primarily based on the number of views. Is there any limitation on concurrency or guest page loads or view. Thanks!...
1
vote
3answers
41 views

two with AND (&&) conditions in auraif

I have an auraif when I tried to use the condition And (&&) it points error: <aura:if isTrue="{!v.value == 'test' && v.recTypeName == 'testing'}"> </aura:if>
0
votes
0answers
18 views

Lightning empApi : Subscriber method calls in controller or helper js

Auto refreshing the lightning component, Below code works for without filter. handler doInit function called subscriber method. But after multiple filter button added in component and its not ...
0
votes
1answer
22 views

Submit Record Edit Form for every object in Aura iteration

I have a Contact object form with a child form component for Buying Center objects. When I upsert the Contact, I need to submit a list of Buying Centers for this Contact. Parent Contact component has ...
0
votes
0answers
13 views

Checkboxes from a record on Lightninc Component Record Page [on hold]

I want to show on my component a Checkbox Group. The values are already defined by the Record (that comes from Pardot form). My code, for now, is this one with all the picklists values that works ...
-1
votes
0answers
11 views

Page keeps reloading when trying to load a component with visual force continuation inside another lightning component. What'll be the issue?

I am trying to load a component where it uses visual force continuation inside another lightning component. But when i do that, the Page keeps reloading. What'll be the issue?
1
vote
1answer
20 views

Trigger addError('blah') -> Lightning Components JS alert('contense of addError('blah')')

I am sure my Title does not help much, but not sure how to shorten this question concisely. I have a Lightning Component that has the ability to update a case record. I have an APEX Trigger that ...
1
vote
1answer
44 views

How do we manually call (child) LWC component method from (parent) Aura component?

I've two components: <c:Lightning_component_Aura> <c:lwcLightningWebComponent aura:id="myLwcComponent" /> </c:Lightning_component_Aura> I've declared a function inside LWC using @...
0
votes
2answers
29 views

Trying to use onKeyup in a table which has iteration

I need to get an input filed (let's say an email field) inside a table with a wrapper list iteration. OnFocusout is what I am using right now which will get the row number of the table as aura:id. And ...
0
votes
1answer
21 views

force:createRecord - setting default values dynamically

I have a requirement where I need to set the defaultFieldValues dynamically (both field name & value). How can I achieve that? var createRecordEvent = $A.get('e.force:createRecord'); if ( ...
0
votes
1answer
25 views

Storing salesforce username in local storage whenever user login into salesforce [on hold]

any idea or suggestions on how we can store salesforce username to local storage in browser whenever user login into salesforce ?
-1
votes
0answers
16 views

lightning custom search functionality [on hold]

I have to develop a custom search component in lightning. It will search a custom object and result will be dynamically shown. the record is already present in the same UI in the form of lightning ...
0
votes
0answers
19 views

Lightning Component created for quick action. Will that need users to have lightning enabled to see it in salesforce1?

I have created a lightning component for quick action on record detail page. Will that need every user to have lightning enabled to see that component in Salesforce1.
0
votes
1answer
15 views

Guest Access to Salesforce Tabs + Visualforce communities

I have developed a Salesforce Tabs + Visualforce Community. In the Community Home page, I have used a Visualforce page. Within the VF page, it is rendering a Lightning App which have Lightning ...
0
votes
1answer
23 views

Is it possible to trigger a method on selection of Lightning:listView checkbox?

I have a listview that is populated with a custom object "Milestone__c" and I was wondering if it's possible to fire a JS event on selection of one of the checkboxes. Thanks!
0
votes
0answers
18 views

Aura Quick action not working for one of the profiles

I have a custom quick action button on the page layouts and it is working for all the profiles except one. Following error is coming Can someone help me with this?
1
vote
1answer
22 views

Issue with firing an event inside window.setTimeout

I am not able to find where i am doing wrong. i have a parent component A with two child components B and C my scenario is to fire an event in window.setTimeout of component B and send it to ...
1
vote
0answers
14 views

recordForm error Handling

I have a recordForm like this:- <aura:attribute name="KeyDealInfoSectionfieldlist" type="String[]" default="field1__c,field2__c"/> <aura:attribute name="objectName" type="String" ...
0
votes
0answers
22 views

Drag and drop COLUMNS using lightning

I have seen multiple links to drag and drop rows in lightning but can we do drag and drop columns in lightning Example1 of drag and drop rows : https://developer.salesforce.com/forums/?id=...
0
votes
0answers
21 views

Add Info Icon next DualListBox values in Lightning Component

I am using Duallist to utilise the multi picklist feature, but I need to add an info icon as well, next to each value of the duallist, and that will have the help text on mouse hover it will be show ...
0
votes
0answers
30 views

Lightning Component Controller Error: List has no rows for assignment to SObject

I have a component I put together where the user should input two pieces of information and it will create a new Opportunity. I have tested the APEX Class by executing it via DevConsole, however ...
0
votes
1answer
32 views

Preview attached pdf/doc files in lightning component

I have a requirement wherein i need to display uploaded files as preview in a lightning component. I have tried it with the below code but was unsuccessfull: Lightning Component: <aura:component ...
1
vote
1answer
23 views

Page Leave Alert In Custom Lightning Page

Hi I want to implement a page leave alert in a custom lighting page when the user tries to navigate to a different page without saving the data. It should be similar to the alert we get in standard ...
0
votes
1answer
25 views

Pass body from Aura component to Lightning web component

I am facing one issue to pass body from aura component to lwc. optionGroup.html <template> <h1>Child LWC</h1> <slot></slot> </template> OptionGroupLWC.html ...
1
vote
0answers
53 views

Embedding LWC in Aura Component not working?

I'm trying to embed a Lightning Web Component inside an aura component (because I need some features only aura components support right now - populating default field values when using force:...
0
votes
1answer
29 views

SetCallBack only firing after user action and not automatically

I am building a community containing lightning components. I have a lightning component controller calling a function in the helper. The helper function calls the apex controller function to retrieve ...
0
votes
0answers
10 views

Internal Server Error on Twilio Component to Send Bulk SMS to Campaign Members [duplicate]

We have installed Twilio App for Salesforce and configured it. The 1 to 1 Contact message is working fine, while Bulk SMS to Campaign Member is showing Internal Server error as below: Error ID: ...
0
votes
0answers
25 views

Exceeded max size limit of 12000000 [duplicate]

I'm doing a rest GET callout to an external open database. But I'm getting max size limit error. I know this error is due to 12 MB Heap Size limit. I'm getting the data from "CPSC Recalls Application ...
1
vote
0answers
30 views

Highlights Panel in a custom Lightning Component

I'm wondering whether I could use "Highlights Panel Component" inside my custom component. is there some sort of tag that i can use it on my view or something.
0
votes
1answer
22 views

I am inserting single record with single file.but how to insert single record with attach multiple files using lightning input

i Am inserting single record with single file but how i can insert single record with multiple file in single transaction using lightning aura component.please let me know. please refer this link ...
0
votes
0answers
24 views

scroll to issue in lightning component

When the user enters some text inside the lightning input and clicks enter, I should navigate to CompB without the user manually having to do so.How to achieve this <aura:attribute name="...
0
votes
2answers
39 views

How to get Page layout name dynamically in apex?

I have a requirement where i need to get page layout name dynamically in apex on the basis of record type(page layout associated with it) selected by user. I am overriding account's new button in ...
1
vote
0answers
17 views

Rewrite history using navigation service

I've got a wizard that utilises isUrlAddressable and navigation service to switch between pages. At some page 3 there's a "point of no return" where Lead gets converted and returning to first page ...
0
votes
1answer
21 views

Add Report Chart to Lightning Components

Question 1- I am trying to add Report Charts (Salesforce custom reports) to the lightning record page layout. This is not meeting my requirement as I have to apply/modify report filters with landing ...
0
votes
1answer
22 views

Stop setInterval function executing from loop

Using CDC(Change Data Capture) I'm displaying count down time in my lightning component. For countdown time I'm using setInterval function of JS, its working fine. But on next change of data its ...
0
votes
0answers
19 views

Salesforce lightning tab URL param is getting removed

I had created a lightning component tab. The tab was being called from a detail page button like this /lightning/n/Forecast_Report_Account?accountId={!Account.Id} All was working fine . The URL ...