Questions tagged [component]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
32 views

Activate Trigger From Lightning Component

I am trying to create a lightning component that allows user to select an object and activate a trigger according to the object selected, similar to process builder but I’m trying to integrate this ...
0
votes
0answers
26 views

Salesforce Flow - Custom Picklist Lightning Component - Default value not loaded

i built a Lightning Component to get a custom picklist in Salesforce Flow, so i can set the default value to the current selected value of a picklist and create custom validation rules. The component ...
0
votes
1answer
28 views

Write a test class for a lightning component which overrides a standard action

I have written a Lightning Component that adds a google address lookup to a custom object. I have replaced the standard new action with a new form. How do I write a test class? I can't automate the ...
0
votes
1answer
31 views

Component.find not working for lightning:input

I need to enable the text boxes based on the value selected in combobox - Below Picture - Based on the Combobox changed I am trying to enable the corresponding input boxes, which is not working ...
0
votes
1answer
31 views

Error : Flow : activate Lighting runtime

I have created a flow which contains a Dependent picklist component. When I execute the flow I obtain this error (screen 306). However, I have activated the permission, so I don't understand where ...
1
vote
0answers
22 views

Aura component with google map

I'm trying to create an aura component with an embedded google map (the new lightning: map thing) that would show all of our accounts on the map. I have two problems: The height of the component is ...
0
votes
0answers
51 views

Salesforce mobile home button

Is there any way to create a custom home button on Salesforce mobile app? I tried using global action with lightning component that goes to the start page, but the three bars for navigation menu ...
0
votes
0answers
12 views

Creating a “Products Used” grid on Account object - need help linking products to the grid

I am creating a 3 x 4 tile grid that will list 12 banking products (checking account, mortgage, credit card, etc.) and will place this on the account object. The idea is that if a client has the ...
0
votes
0answers
11 views

How do I access knowledge article version in the Global Search Results Component

How do I access knowledge article version in the Global Search Results Component like the default layout shows?
0
votes
1answer
30 views

How to show pop ups in lightning, when a custom object is updated?

I have a requirement to show pop up when our custom object is updated depending on the update happpened. i.e. if on of the field say Screening result=Good and ContactVerified= true then I have to ...
0
votes
0answers
15 views

can we embed a visualforce page in a canvas app?

I am trying to embed a salesforce visualforce page in a lightning component. This is not working using iFrame hence I tried doing it using canvas app. Can anyone help me how we can embed visualforce ...
1
vote
0answers
8 views

action failed:c: newasset_component$controller$doLibloaded['lightningUtilsLib' is undefined]

I have a strange error when i try to search for client in the global search. error action failed:c: newasset_component$controller$doLibloaded['lightningUtilsLib' is undefined] Some help? Thank you
1
vote
1answer
113 views

Multi level lightning table with LWC [closed]

Is it possible to create the same table as below (screen was taken from vf page) with lightning-tree-grid in Lightning Web Component? I tried to do that, but it seems there is no possibility to add ...
1
vote
1answer
136 views

Any LWC on a record page layout in a subscriber org throws Internal Error

We have LWC's created in our managed package. They are marked as exposed. Whenever we try to include one in a record / flexi page in a Subscriber's org we are getting an internal server error with an ...
1
vote
2answers
21 views

Why can't I apply replaceAll in my controller function?

I have the following component class, whose function is solely to modify a string for an email template. It works fine, inserting the concatenated string into the email. public class ...
0
votes
0answers
22 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
0answers
34 views

XPath in lightning Javascript

I have an XPATh expression which i want to use in my lightning javascript file. I tried several examples but i have been unlucky. Can someone tell me how do i get a reference of the dom using xpath ...
1
vote
0answers
69 views

Force edit record without modal dialog

I want to confirm from the gurus if it’s possible to display the object record in edit mode as an inline edit without the modal dialog popping? I have a standard lightning page on a standard object ...
0
votes
1answer
219 views

Open Lightning component in new tab or window with standard Action button using URL

Trying to create an Action button to be placed on the record detail page, I want the functionality as click on that button, lightning component URL should open in a new window. Using this link: /...
0
votes
2answers
88 views

Align vertical label of lightning:inputField in large screen

I have a problem with lightning:inputField, in my page I have a mix of lighting:input and lightning:inputField. When I dispaly inputField in large screen, the label is horizontally aligned with the ...
1
vote
1answer
57 views

How to get reference to Component from inside an event method

I have a JavaScript helper method which handles a message sent from a child iframe handleMessage: function (event) { console.log('handleMessage'); console.log(JSON.parse(JSON.stringify(event....
1
vote
1answer
58 views

How to make a Lightning Component in a Lightning record page visible to a subset of users?

I would like a single Lightning Record Page to have 2 components, each visible only to a specific set of users. There are a few users identified as 'beta testers' and one version of the component ...
1
vote
2answers
648 views

LWC Function calls

I am creating a simple component that retrieves multiple URL and Description fields in a record (e.g. url1__c, desc1__c, url2__c etc) and transforming it into an Array of object in a JavaScript ...
0
votes
0answers
99 views

Interacting with external calendar library in my Lightning component

I am implementing FullCalendar in a lightning component and am having trouble interacting with it from my methods. When I click on the Previous button, the console log appears but doesn't navigate to ...