Questions tagged [component]
The component tag has no usage guidance.
114
questions
0
votes
0
answers
50
views
When passing LWC variable to Visualforce page coming as blank
I have a blank LWC component where I am just checking the device form factor and trying to pass the same to a Visualforce page. But some reason the process is not working. No values are coming on the ...
1
vote
1
answer
26
views
LWC Repeating Lighting Layout Items with for:each record set and on-click action not getting ID of item clicked
Primary goal:
LWC on Campaign Lightning Page (done)
Get list of Campaign Members from apex wire (done)
Generate list of Campaign Members on left half of screen using lightning layout items (completed)...
0
votes
0
answers
18
views
Multiple components in single parent page in salesforce
I have created a salesforce component XYZ & used 2 component's in a single page. There is an "Assign" button in the component which saves data. But when I click on the Assign button of ...
0
votes
1
answer
53
views
Unable to find action on Lightning Component
This is my code but I have the Error
// DynamicRelatedContactListController.apxc
public with sharing class DynamicRelatedContactListController {
@AuraEnabled
public static List<Contact> ...
0
votes
0
answers
36
views
Salesforce "Knowledgeable People" component not showing data in community salesforce
I have dragged the "Knowledgeable People" component on the topic detail page and configured it as per the guidelines given in the documentation. But the data is not getting shown in the ...
0
votes
0
answers
38
views
a Component that Records a Video on ScreenFlow Salesforce
is possible to have a component that permits the recording of a video directly within a flow and then uploads it on salesforce or anywhere i want, like google drive?
-2
votes
1
answer
49
views
while creating the apex class i got this error Unable to build Lightning Component source for markup://c:demo2: Invalid suffix: json
public with sharing class ContactController {
@AuraEnabled(cacheable=true)
public static List<Contact> getContact(String accId){
try {
return [Select AccountId,Id,...
0
votes
1
answer
269
views
How to add css to change the label color of navigation icon in LWC
<lightning-vertical-navigation selected-item={selectedItem} onselect={handleselecteditem} class="navigation">
<lightning-vertical-navigation-section label="...
0
votes
1
answer
176
views
Embed Managed Aura component inside LWC
Is there a way to embed an Aura Managed component inside an LWC? The reason is that the aura component shows me which image is currently selected, and I can get the "src" by querying the ...
0
votes
0
answers
887
views
Recommended Image Sizes for Experience Cloud site
Im currently building a Experience site using the "Customer Service" template.
I raised a case with Salesforce Support to ask what the recommended image sizes for the Customer Service ...
0
votes
1
answer
250
views
How to pass row information from a table to another table LWC
I'm trying to pass the information of my table after click on add button, the component should pass the value of each cell in the selected row to a child component that is a table true. i'm actually ...
3
votes
0
answers
246
views
Best practices for pushing objects through DevOps?
We are using DevOps to push changes from sandboxes through to Production.
Recently, I attempted to deploy some significant changes to an object. This includes:
Creation of record types
New fields
...
-1
votes
1
answer
17
views
Anyone please explain why the component code is not saving .Its showing Field Integrity Exception
I am getting field integrity exception while saving the below code
1
vote
1
answer
903
views
LWC vertical progressbar - problem in Previous and Next button logic
i am new to lwc, i created a component for vertical progress bar, but i am facing issue in previous and next button.
1.Next button works from a to e, ( a->b>c->d->e), but for the last ...
0
votes
0
answers
38
views
Isn't this impossible? OK to edit this record in Lightning UI, "Insufficient Privileges" to view it in Classic!
I am working in an unfamiliar Production org and an associated Sandbox org. This is my first project in them. I have admin privileges and I am also a Service Cloud user.
In their Production org, I can ...
1
vote
1
answer
30
views
Lightning Component error question
I am trying to make a component to use lightning:datatable to display Contacts in an Account.
I am getting this error when I attempt to open an Account in my page :
A Component Error has occured! ...
0
votes
1
answer
151
views
Interaction Summaries component - "New" button is not visible
We have set up Interaction Summaries according to the Salesforce documentation and placed the "Interaction Summaries" component on the Account record page.
After deployment on the target org,...
0
votes
1
answer
386
views
How to display map key/value in a table in a lightning component
Slowly getting there but related to Pulling JSON Data from API to Lightning Component.
I've been able to return the data in a map as, the key/value populate correctly judging by the console log.
End ...
0
votes
1
answer
263
views
Calling data using @wire adapter getRecord showing undefined user details
Stuck Here. Cannot see output on console and on component too. It's coming undefined.
Please Help.
JS Class
userId = Id
userDetail
@wire(getRecord, {recordId:'0055i000000enpHAAQ', fields:['User....
0
votes
0
answers
86
views
Pass a record from object to salesforce community
I created this object containing FAQs.
Later I created a lwc component that should pass me the FAQ in this object in my community, but rightly if in "getRecord" I put "$ recordId" ...
0
votes
1
answer
558
views
Aura Component Attribute Value
I would like to set a lookup id value for an Aura attribute, but it doesn't work unless i hardcode it.
Instead I need to retrieve it from the lookup on the current recordId.
How is this possible to do?...
0
votes
1
answer
380
views
Component Error has occurred: Uncaught Error in $A.getCallback() [ErrorAttempt to de-reference a null object]
I am not a developer but would like guidance into an issue a specific User sees when trying to add List Members to a Campaign. This only applies in Prod and not UAT. Not sure where to begin.
A ...
0
votes
0
answers
714
views
Filter component visibility by running user
Can anyone see, why this wouldn't work?
I have also tried:
userinfo.getuserid()
user.id
account.OwnerId
1
vote
0
answers
122
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 ...
0
votes
1
answer
1k
views
How to pass Object type attribute value from child to parent in Aura?
On clicking of a button in child Component I'm passing the "Object and String" type attribute values from Child to Parent using the Component Event. The Problem here is I'm not able to ...
0
votes
1
answer
2k
views
LWC, show/hide on button click
I have the following template (it's larger, here's only a part of it):
<lightning-record-view-form>
<div id="prefCenter_Interest" class="prefCenter_Block">
<h4&...
0
votes
1
answer
32
views
How to create aura lightning page to help me visualize data in separate pages?
I have an aura component lightning page with many fields in it.
To avoid having too long scrolling I need to separate and visualize the fields in different pages.
Is there any lightning component to ...
1
vote
0
answers
5k
views
Override standard "new" button in salesforce using LWC component
we have a custom visualforce page override on "new" button.we are implmenting lightning and in lightnng we are trying to use LWC component whch will redirect to standard new record page. the ...
0
votes
1
answer
456
views
Tracking down a Lightning Web Component?
I'm working on a project where I can't always ask the creator of some LWCs what the name of certain component files are. Documentation is also non-existent..
Are there any best practices or tips and ...
0
votes
1
answer
152
views
How to populate a Picklist field and also save uploaded files using Lightning Components
I'm trying to create a lightning component for KYC Verification. And for that, we are trying to access a picklist field- 'Verification Id'. The data is not getting saved. Also, the files are not ...
1
vote
1
answer
449
views
How can I see how a LEX dashboard component was originally configured, after error message that field is no longer available?
I've been trying to update a dashboard I created a year ago, where multiple of the components now populate with the error message:
"One or more of the fields selected in the component is no ...
0
votes
1
answer
403
views
CC Page Label not displaying properly
I currently have a Visual Force component that should display several CC Page Label values. However only a couple of the page labels are showing, not all of them. They all have their respective ...
1
vote
1
answer
104
views
Authenticate users from Desktop app to salesforce [closed]
I have a use case where users have login to salesfroce as well as Desktop app,
I have a Windows desktop application where user logs in and i would like to show one of my custom component inside the ...
0
votes
2
answers
692
views
Lightning Progress Indicator setting always current step to active
I used a code from here https://developer.salesforce.com/docs/component-library/bundle/lightning-progress-indicator/example for Path Type Progress Indicator example and it looks a little different - ...
1
vote
1
answer
169
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
1
answer
874
views
Is it possible to set Screen Flow component visibility based on the UI the user is in currently (Lightning / Classic)?
I have some elements in a screen flow that should only show in Classic UI, and others that should only show in Lightning UI. I haven't found a way to choose which to show based on the current UI the ...
0
votes
0
answers
129
views
Why isn't my component displaying in Digital Experiences?
Why isn't my component displaying in Digital Experiences?
Below is the component code, this displays in a regular page layout in LEX but not in Digital Experiences. I do not see any errors. I checked ...
0
votes
1
answer
3k
views
How to embed one lightning web component in another web component
I have a component where i need to embed it to another component i am getting the below error
No MODULE named markup://c:lifeCycleChild found : [markup://c:lifeCycleParent]
Below is My code :
1st ...
1
vote
0
answers
90
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
1
answer
312
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
1
answer
341
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
...
0
votes
1
answer
244
views
want to navigate to detail page
Hi yal i am New on salesforce want to navigate to a contact Detail page through Button.How to pass parameter ? How can i do please help.
Apex Class:-
public class ShowContactInCard {
@AuraEnabled
...
0
votes
0
answers
437
views
Can we rename the "Edit dependency "Label in opportunity for closed stage?
[Edit Dependency popup] Can we have an alternate approach for this question?
The requirement is to change the label of the standard "Edit dependency" popup which get displayed when we click ...
1
vote
0
answers
446
views
How to use OOTB component Customizable User Settings inside Community
I'm trying to use this Component inside a Community: https://help.salesforce.com/articleView?id=rss_user_settings_customizable.htm&type=0
Main reason is so Users can change their password inside ...
1
vote
1
answer
2k
views
Add lightning component action to related list
I need some help please! I know something can be done, I just can't find the answer to this.
I have these two objects Case (parent) and Party Document (child). One of my team's developers has created ...
2
votes
0
answers
1k
views
Custom Lightning Web Component not available in Experience Builder / Lightning App Builder
I have a simple LWC banner component that displays a banner in an Experience Builder page, based on certain conditions.
banner.html
<template>
<template if:true={bannerUrl}>
&...
-2
votes
1
answer
528
views
Can any one explain from where they taking url path to display image
<aura:component implements="flexipage:availableForAllPageTypes" access="global" >
<aura:attribute name="car" type="Object" access="public&...
0
votes
0
answers
527
views
How to make width appear proper for lightning select option dropdown?
How to make the dropdown appear properly for this lightning select.. It is an iteration.
The option data is large that's why the width is getting increased.
This issue is coming for all components ...
1
vote
1
answer
3k
views
Is it possible to override the edit button with lwc component/aura component? how to get the id
In my case, I want to hide some of the fields in the standard edit page(the pop-up page after clicking the edit button in list view page)
what I try to do is to override the edit button with lwc ...
0
votes
1
answer
1k
views
How to make a Lightning Component Header, always freezed(Sticked)
I need to make the Header of this Lightning Component Static. As the user scrols down, the header stays on the screen to consult the field.
<div class="slds-table--header-fixed_container"...