Questions tagged [component]
The component tag has no summary.
112 questions
0 votes
0 answers
55 views
How to access CSRF Token in Lightning Web Components
Some parts of the API's are requesting CSRF Token for security purposes. How can I access it from a lightning web component? "@salesforce/user" only exposes Id and isGuest. I can see that in ...
0 votes
1 answer
54 views
remove lightning-combobox design
I've created a custom data type datatable and when I'm trying to align all the columns, the lightning-combobox comlumn has a div that doesn't let the picklist stay entirely at the top of the column. I'...
0 votes
0 answers
57 views
An internal server error has occurred (1056366667) [duplicate]
I have put a Lightning component inside a VisualForce page and put that page in a tab in a classic app. (Add a new tab to the Service app containing a LWC component) This is working fine and I can't ...
0 votes
1 answer
314 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> ...
-2 votes
1 answer
116 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
370 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
1 answer
563 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 ...
-1 votes
1 answer
30 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