As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [lightning]

This tag is for questions related to the "Lightning Experience" which comprises a number of elements around a new User Interface on the Salesforce Platform. While it can still be used in a server side MVC environment, it is primarily a MV UI where the Controller is JavaScript based operating from the user's browser. Lightning "Pages" are single page applications.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

How to pass Collection of records from screen flow to aura component and pass aura component to screen flow

Here I have requirement to create Flow which calls a aura components here i need to pass Collection of records from screen flow to aura component and pass aura component to screen flow But while ...
Vishnu Nishadraj's user avatar
-1 votes
0 answers
16 views

Button to review and update fields in a 3 tier Account hierarchy

I want a button on an Account Record that will look at the Parent Account and Child Account and bring up fields on all three accounts that need to be reviewed and/or updated. The structure is Account ...
ABR's user avatar
  • 1
0 votes
0 answers
34 views

Resize lightning-input-field when it is a rich text field using the cursor

I have this in my LWC component <lightning-record-edit-form> <template for:each={draftableFields} for:item="field"> <lightning-layout-item key={...
Gene's user avatar
  • 1
0 votes
1 answer
13 views

Document Image to display in Rich Text Field

I have requirement to show images on my Stock object. For that, I have created a rich text field and also uploaded all the images inside a folder in Document object. My ask is to upload the images on ...
Harsh Shukla's user avatar
0 votes
0 answers
24 views

Lightning Out Error : getting "Main:79 Uncaught ReferenceError: $Lightning is not defined" from Heroku App or Node js module

I have an lightning out app that is using lwc code to get data from salesforce. Now I am accessing it from node.js local and it is not working. Throwing "Uncaught ReferenceError: $Lightning is ...
Hardik Ranjan's user avatar
0 votes
0 answers
44 views

How to embed a table in a page layout

I have a requirement that I need to put a table to the page layout. There are so many fields in the object and it feels cluttered when creating a new record. So the users requested that I put a table ...
Ceylan Kesenek's user avatar
-1 votes
0 answers
19 views

Why does the Modified By field have the incorrect User and Date?

One of my colleagues added a new value to a picklist on 5/18/2023, but when she saved the addition the date was 2/14/2023 and the User listed in the field is someone who has not worked for our agency ...
Samuel Earl's user avatar
0 votes
0 answers
25 views

Looking for an alternative solution for set Interval (Salesforce Lightning Aura component)

We have build an component on the Case Lightning Page to highlight dynamically the Case tab after an conditional update on the case record. We also want to use an Case Timer(appExchangeStore) to track ...
Sam's user avatar
  • 1
-1 votes
0 answers
28 views

How to hide a tab in Lightning record pages based on permission set?

I have a Lightning record page and I added a new tab on the standard object. Now, I want this tab to be visible only to users with permission set A. Please note all the users belong to the same ...
Jason Castle's user avatar
0 votes
1 answer
18 views

Goal: Display different lightning pages for users in same profile but with different permission set

There are two lightning pages A & B. I want to display the lightning page based on the permission set but all the users belong to the same profile. How can I achieve this? Account object -> ...
Jason Castle's user avatar
0 votes
0 answers
19 views

User with Minimum Access Profile/Permission Set Cannot See Any Buttons on Object Pages

We recently created a new profile cloned from the Salesforce Minimum Access profile and added the rest of the necessary permissions for the users via Permission Sets/Groups. We noticed the users with ...
Developer Guy's user avatar
0 votes
1 answer
33 views

My Search Filter Lightning Web Component isn't Working and I'm Not Sure Why

The purpose of my LWC is to search the name of an account and return a list of associated contacts. Every time I try and search for an account in the search bar nothing happens, and I am not sure why. ...
JuniorDev6568's user avatar
-1 votes
0 answers
34 views

Custom Tabs are not visible for some users on Lightning Record page

Lightning record page Custom tabs are not visble for some user, even the users are having the access on that page.
Vinay's user avatar
  • 3
0 votes
0 answers
28 views

What is Case._LightningUpdateCase quick action?

Good day, I've noticed in my org, that there is a Related Record component on the Case lightning page that show that case data, but the strange thing there is that in 'Update Action' of that Related ...
Oleksii Bezuhlyi's user avatar
-2 votes
0 answers
29 views

different login landing page

Is there any way to make the login landing page different only for one profile/role?
Mahi U's user avatar
  • 1
0 votes
1 answer
43 views

Activities component showing all Account activities on Opportunity record page

Typically on an Opportunity record page the Activities standard component will only show activities where the WhatId is the Opportunity. I'm looking to get this component to behave how it does on the ...
matt's user avatar
  • 1
-1 votes
1 answer
38 views

Get time to close, instead of days

I'm trying to get a column added to a Salesforce report for case management. Using the SF Lightning experience. There are 2 fields available currently: Date/Time Opened Date/Time Closed These fields ...
Joseph's user avatar
  • 1
0 votes
1 answer
40 views

How to directly get the full URL of current experience site page in LWC?

I have a certain URL in Experience Site (Its in LWR): https://randomwebpage.sandbox.my.site.com/connect/insights When I use the following code import basePath from '@salesforce/community/basePath'; I ...
Amax1's user avatar
  • 63
0 votes
0 answers
22 views

Get QuickAction name from Lightning component

I have a Quick action button that calls a Lightning component. This works fine. The problem is a new button that performs a slightly different operation, but uses the same component layout. So need to ...
user3754525's user avatar
0 votes
1 answer
24 views

Setup Activity object security

I have a problem while setuping security for Activity object. The problem is standart behaviour of OWD setting for Activity. Even If i set private records are shared to people who has Read access to ...
Maksym Mahyrevych's user avatar
-1 votes
0 answers
37 views

System.CalloutException: Received fatal alert: internal_error

From my component I'm uploading file to some "Active Store" (Third party). I'm getting an error: System.CalloutException: Received fatal alert: internal_error This is working fine in ...
Viswanadh's user avatar
-2 votes
1 answer
23 views

While installing managed package into salesforce How could I enable-Available for Lightning Experience, Experience Builder sites, and the mobile app

While installing managed package into salesforce How could I enable "Available for Lightning Experience, Experience Builder sites, and the mobile app" .I need to make the plugin available in ...
DMM's user avatar
  • 1
-1 votes
1 answer
21 views

Salesforce page layout

On Account object i have different page layouts for different profiles how do i edit the lightning page for these different profiles since they have different page layouts. Thanks in advance.
Teja shree's user avatar
0 votes
0 answers
29 views

Metadata for Home Page assigned as Org Default

I have assigned new Home Page Flexipage and activated/assigned it as an Org Default. Unfortunately I cannot find any metadata that contains this assignment. I can see that per objects, org defaults ...
Łukasz Franczyk's user avatar
0 votes
0 answers
42 views

Handling Aura component visibility in the controller

I have an Aura component on the Account details page that allows the currently logged in user to register the customer associated with that Account. Here is the markup: <aura:component implements=&...
user369137's user avatar
0 votes
0 answers
34 views

Stop datetime from autofilling time to 12:00

In lightning if you choose date first the time will autofill to 12:00. Is there anyway to stop this? Our users should specify time, but routine takes over after some time and almost every datetime is ...
Kacper A's user avatar
0 votes
0 answers
58 views

Change helptext icon color of lightning-input LWC

The issue Im facing is that I want to customize the color of the helptext associated with a lightning-input element in a Salesforce Lightning Web Component (LWC). Im looking for a way to change the ...
bouarraf amine's user avatar
0 votes
0 answers
51 views

Detect if Lightning Record Page is dirty in headless action LWC

I have an LWC that serves as a headless quick action on the record page for a custom object. Users are inline editing the record, then clicking the button for the quick action before saving their ...
womanwhodevs's user avatar
0 votes
0 answers
29 views

Can't see my email template

I have Classic email template, and its work when I test to send but unfortunatelly I can't see this template if I try to use it from Record Page, like this following image I thought its because the ...
naticap's user avatar
  • 111
0 votes
1 answer
44 views

Navigation between tabs using Lightning Message Service

I have a navigation bar contains two tabs Home and Help. If I click on home, Home component should render below navigation bar and If I click on help, help component should render below navigation bar....
saivinay manapuram's user avatar
0 votes
0 answers
50 views

How to get the Clear (Cross) icon on a lightning input type search by default without typing anything on it?

I need a lightning input type search where the clear icon is shown by default. Issue is currently as per documentation only typing something on it, the clear(Cross icon) icon shows. I want as soon as ...
Amax1's user avatar
  • 63
-2 votes
1 answer
33 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,...
Adarsh Singh's user avatar
0 votes
0 answers
22 views

Unable to find the correct syntax in a Row-Level Formula

Like others, new to salesforce and struggling with what is likely a simple issue, please forgive. I am working in Leaseworks, an application written on the salesforce platform. I have a column of ...
Pejoham's user avatar
0 votes
0 answers
29 views

Child aura component attributes are getting undefined

I am working on two aura components, I am passing attributes from parent to child, on parent component all values are present but when we are assigning to child component then they are getting ...
Harish Kumar's user avatar
0 votes
1 answer
21 views

Simple question about page layouts and record detail components

I am having some trouble trying to do some basic lightning app builder work in my developer org, where I am making an app. I am working on a record detail page for a custom object. I want to have a ...
smith's user avatar
  • 1
1 vote
1 answer
28 views

Related record ID in Aura Component with out server side controller (apex)

I am trying to create a Aura component that fires the create new page with the default values. I am calling the Aura Component from the Quick action where I can get the the record ID but how I can get ...
user4912134's user avatar
0 votes
0 answers
31 views

TASK RECORDS THAT DO NOT APPEAR IN REPORTS AND QUERRY (The requested resource does not exist)

When creating a report of opportunities with tasks, I noticed that there were some records of tasks that should be showing up and weren't. When I went to analyze these tasks, I saw that the task ...
Aline Castro's user avatar
0 votes
2 answers
108 views

Edit related child records in lightning record form

I have a requirement to display and edit related opportunity records of parent account. I am trying this requirement using apex and lightning record form, but no data is getting displayed. Please let ...
sourav guha's user avatar
0 votes
1 answer
43 views

Custom Button in Lightning and Visualforce

There is a managed package in salesforce. I am trying to extend its class by adding some code in it. I have created a custom button. That button is visible on page layout by default in classic mode. ...
karan bilakhiya's user avatar
0 votes
1 answer
54 views

Can I use object field values to filter another object in decision element of flow?

Question edited per feedback... The problem at its core: I need to be able to assign net new accounts to various groups of people based on a large list of billing zip codes. In some cases, I only need ...
Doug Hendricks's user avatar
0 votes
1 answer
25 views

How to concat two getfieldvalue in one in lwc?

import { getRecord, getFieldValue } from 'lightning/uiRecordApi'; import FIELD1 from '@salesforce/schema/Account.SumOpp__c'; import FIELD2 from '@salesforce/schema/Account.Name'; const fields = [...
annat's user avatar
  • 1
-1 votes
2 answers
81 views

onchange event not working on Salesforce ios app and Safari browser

We have a Salesforce application developed with LWC and published on Experience site. We also launched this application in android and iphone. The application is working fine in Windows Desktop and ...
Aruna's user avatar
  • 397
0 votes
1 answer
60 views

Prevent Apex Exception Mail

I have a situation where in our Salesforce org there are a few record triggered flows present for different objects. Currently when a record which triggered the flow fails a validation rule then an ...
Rivu Indra's user avatar
0 votes
1 answer
15 views

How to show a list of Direct Reports on a User Lightning page?

I thought this was straight forward but looks like the User object is built different. I'm trying to show a list of direct reports for a user if the current user is a Manager (can be taken care using ...
apz's user avatar
  • 195
0 votes
1 answer
36 views

Lead Conversion Screen looks different in Enterprise edition

For one of my salesforce instance, I'm seeing this lead conversion page, which doesn't look good.. This is in enterprise edition. First time I'm seeing this type of lead conversion page and it is ...
salesforce Developer's user avatar
1 vote
1 answer
54 views

LWC not creating record on click of a button

My requirement is something like this: There is a create account button which creates a new account based on 'Name' input field in the lightning card. Once I click on this button, another button to ...
sourav guha's user avatar
0 votes
0 answers
69 views

How to match Base URL in LWC with regex expression in JavaScript?

I have following two possibilities for Base URL - connect/X where X can be any of tankDetails, billingArrangements,foodsafetysolutions, quickList, orders, payments, insights, connectservices, ...
Amax1's user avatar
  • 63
0 votes
1 answer
31 views

Remove Edit in console App for Users

The Edit icon that is present in the image, it was getting displayed for the low level profile users as well. Do we have any permission where we can hide this to be not visible for Profile level users ...
Eagerin Sf's user avatar
  • 1,085
0 votes
0 answers
76 views

Display a Toast message if a checkbox is true on parent record

I'm trying to display a toast notification whenever a quote is visited and its related opportunity lookup has a boolean field with a value of true (Ordered_Custom__c = true). This aura component is ...
MattcG91's user avatar
0 votes
0 answers
57 views

How to launch flow in full screen using quick action?

I have added quick action on the record page. Using this quick action I'm launching the Screen flow, which contains the data table, but this screen is not taking the full space of the screen. It is ...
Atul Rakate's user avatar

1
2 3 4 5
132