Questions tagged [lightning-record-page]
The lightning-record-page tag has no usage guidance.
73
questions
-1
votes
0
answers
16
views
Make field conditionally visible on record creation depending on picklist value
I need a field from Order object to be visible only when another field value is selected in record creation:
If in picklist field A you select value A, field B should appear in order to give it a ...
-1
votes
0
answers
27
views
Cannot open custom object record page as a user
have been facing an error where if i login as a non admin user and try to open a custom object's record page, i face the error as the image. I had created a record type before but deleted it as i had ...
-1
votes
1
answer
36
views
how to maximize the lightning flexi page screen to fit the components in to that partciular area
HTML:
<template>
<lightning-card >
<div class="float-container">
<div class="float-child">
...
0
votes
0
answers
44
views
Split "Related Lists" component into multiple "Dynamic Related List - Single" components
I am now working on refactoring of Lightning Record Pages in an org where we used to use Page layouts. Of course moving fields was a piece of cake - thanks Salesforce for the upgrade button!
But now I ...
0
votes
0
answers
55
views
Lightning component warning/error in flexipage
As i need one component(button) to be displayed in the record page, but receiving the following error/warning in Lightning page:
"this related list cannot be displayed because its not in the ...
0
votes
0
answers
51
views
LWC duplicates instance when switching back lightning record tab
Im using a LWC in case record page, however when I switch the tab from the case record page to any other such as the "Welcome" or "Install a Package" the LWC is still alive. But ...
0
votes
2
answers
56
views
When are wired calls made?
Consider a simple LWC component that has searchRadius as a property:
<targetConfigs>
<targetConfig targets="lightning__RecordPage">
<property name=&...
0
votes
1
answer
84
views
Detect cursor in current tab outside of LWC
Hi Im trying to know if a user is idle in a record page tab, and to do it I have placed a LWC in the record page so it could maybe read the outsider events. I have tried using
window.addEventListener('...
-1
votes
1
answer
519
views
How to make a field readonly in lightning record page?
I have a field in field section in a lightning record page. I have set that field Read-Only in UI behaviour. But in UI, it is still editable.
Could Someone help me with this?
0
votes
1
answer
52
views
Dynamic dependency between Multi-Picklist and Text field
I'm Configuring Dynamic dependency between Multi-Picklist and a Text Field.
Desired Result: When I Select Other from Multi Picklist then the Proof Details Should become required Otherwise it should be ...
0
votes
1
answer
43
views
Lightning Record Page
My mentor asked me this question,2 users with same profile, same page layout, same record type can see different fields based on their location. The answer is lightning record page, but how?
I have ...
-1
votes
1
answer
241
views
How can i add Map in record page
I'm new to salesforce and i'm discovering it.
I need to add map in my record page and i'm not sure how i can do that.
I read this document but i'm not able to install the packages. I also tried ...
0
votes
0
answers
160
views
"Send Survey" Action not showing on lightning record page
Submit for Approval works, Send Survey action has no filters, this is dynamic layout, but still it cannot be displayed. Anyone know why? This is the Case object.
0
votes
1
answer
386
views
Rich text not displaying on record lightning page
I created a rich text section on a record lightning page, where I put a link pointing to an excel sheet. The link is well displayed in edit screen, but not in creation screen when I press the button &...
-3
votes
1
answer
157
views
can we make record types in to read only in lightning record pages
When an SSP Services Case (RecordType=SSP Services) is closed, then all the fields should be ready-only to the users. when status is closed
0
votes
1
answer
2k
views
Cannot Load Record Page Using iFrame In LWC
I've tried many ways to load a record page using iFrame but it just return a white empty screen.
When I tried to load it with example from Techdicer , it worked. Then I just replaced the url in src ...
0
votes
1
answer
1k
views
How to get the parameter value from LWC when this parameters was passed from lightning record page
I want to pass a parameter value from a Lightning Record Page to LWC, but I did not get the parameter value.
<?xml version="1.0" encoding="UTF-8"?>
<...
1
vote
0
answers
61
views
How to have conditional design attributes in aura components?
I want my aura to be exposed on both flowscreen and lightning record page. I have implemented the interfaces.
But I want different design attributes to be visible when I configure it for record page ...
1
vote
1
answer
311
views
Related record display fields that is not included in the layout and Account name has no label
I'm added a Account Related Record on the Contact Record Page but it displays some field which is not included in the layout and the Account name has no label. It only happens if the User has a Read ...
0
votes
0
answers
651
views
Can't remove field from lightning record page as an admin
I have a lightning app page for object Example__c. I have a field called Example_Field__c on the Example__c object. It was on the 1 and only lightning app page for Example__c, and was removed from the ...
0
votes
1
answer
408
views
Add New Task Button On Email Message record
I need to add new task button on Email Message Record. but after I put the New Task on the page layout it still not appear.
what I already done is:
Put Standard New Task button in Email Message ...
3
votes
1
answer
1k
views
Lightning Web Component Rendering Issues
I have recently been working on embedding power bi into a salesforce LWC, as outlined here: https://github.com/PowerBiDevCamp/SalesforceAppOwnsDataEmbedding. Pretty cool stuff, but the particular use ...
0
votes
1
answer
217
views
Format for including @api recordId in JSON.parse
I have a Lightning record page and just want to include the recordId in my JSON string variables passed to Flow. I understand including the decorator, etc I just cannot seem to get the correct format ...
0
votes
1
answer
106
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 ...
0
votes
1
answer
467
views
Need string[] or custom object in lightning__RecordPage targetConfig property
I'm new developing LWC but I don't find any information regarding my problem. I need to build a component that can be configured differently in some of the pages, so I would need to have multiple ...
2
votes
1
answer
2k
views
What determines the layout of the New and Edit actions on a record?
When I added a Field Section component (Dynamic Forms) to a lightning record page, it overrode the page layout for New and Edit actions, removing those fields (which are also on the record page as ...
1
vote
0
answers
102
views
Fire LWC Event anytime Record Page Tab Selected
I have a custom LWC under the "View Writeup" Tab in my Lightning Record Page. I would like to fire an Event in the LWC anytime the Record Page Tab is selected.
I tried including the event ...
0
votes
1
answer
616
views
User is unable to perform inline editing without using the edit quick action on the product record page
Recently we introduced the lightning record page as the default view on the standard product object. Post this change we are not seeing any option of inline editing for the fields on this record page. ...
0
votes
1
answer
326
views
Hiding Related List if there's no record
Does anyone knows some ways to hide a related list if there is no records? I tried to find in component visibility but it seems it's not possible. Thanks in advance.
3
votes
1
answer
1k
views
Output of Flexcards/Dataraptor not visible to the other users
Does anyone know how make the output of Flexcards/Dataraptor visible to the other profiles? I created a flexcard and Dataraptor and added it to the record page but the output is only visible to the ...
-1
votes
1
answer
3k
views
How To Add The "Change Owner" Button Inside Lightning Record Page?
I have a requirement in which I must add the standard "Change Owner" button inside a lightning record detail page. I know that this button appears inside list-views, but I need to show the ...
0
votes
1
answer
856
views
How to track change on an Account field in LWC?
Whenever I change a specific field (for example Account Name), I want to set a template if:true to false, in order to hide an element.
I'm using @wire to get the account name from the record page, as ...
0
votes
1
answer
480
views
Field Audit Trail not populating changes
I have added the field audit trail component to a lightning page and enabled history tracking on the object and relevant field, however field history isn't showing up on the related tab (the grid ...
0
votes
0
answers
3k
views
Assigning Lightning record page using metadata api
After creating a lightning record type, when we are trying to assign the Lightning record page to record types using the activation button, it throws an error - "there are too many assignments on ...
0
votes
1
answer
1k
views
Dynamic Action filter not Correctly Filtering by User Role
I'm trying to hide the 'Edit CFR' button from all users with the 'NOW Engineer' Role, but with the following filter the button is still available to users who have the role:
Here is the Role in ...
2
votes
0
answers
412
views
Dynamic Record Ids in Embedded Visualforce page within Lightning Record Page
We are working on an AppExchange app, where we need to embed the below widget code into Salesforce lightning record page.
<!--- EmbedWidget Visualforce Page -->
<apex:page controller="...
2
votes
1
answer
4k
views
How to add custom field on the detail section of custom lightning page?
I have a custom lightning record page created for a custom object. The detail section has some set of fields. Now I want to add one more custom field to the detail section of the custom lightning ...
0
votes
1
answer
497
views
Record Page Greyed out , due to LWC
There is a LWC component from Managed Package which is added to a Lightning Record Page.
This LWC component takes time to load , as there are huge number of records to be retrieved.
But Until the LWC ...
0
votes
1
answer
2k
views
Modify the Fields on Related List
I would just like to ask on how we can add more fields to display on Related List on the right-side?
I know that I can re-arrange them through Page Layout Editor, but my goal is to display 5-6 fields, ...
4
votes
1
answer
6k
views
Lightning record page updates appear to be saved, but they are not
We have a single and elaborate Lightning record page for Leads. With a lot of conditional component visibilities. In total, the Lightning record page consists of 8 tab components, of which at any time ...
1
vote
1
answer
2k
views
How to handle save on Lightning Record Page using LWC?
I am working on a Lightning Web Component that is placed on record page and retrieves data for the record. The component visualizes two links, represented by lightning-formatted-text. Both links use a ...
3
votes
1
answer
1k
views
$A.getCallback() Error
Receiving this error when adding a new tab to my lightning record page.
Any insight on how I can fix this?
Error in $A.getCallback() [Cannot set properties of undefined (setting '...
0
votes
1
answer
2k
views
Launch the same screen flow from different buttons
I need to create three buttons On Custom Object Record Page which will have similar logic for sending emails.
(Only difference in to who this email will be sent).
I want to use Quick Action and ...
0
votes
2
answers
35
views
Change object view but keep record type [closed]
I have been requested to do two different page views for an object for the same user.
Both must be able to be configured using layouts.
I am not allowed to change the record type because it has ...
0
votes
1
answer
463
views
Redirect to Object Record page on Salesforce Mobile from Slack App [closed]
I have requirements from Customer :
Create a button on Object Record Page which sends message with link to this Record in Slack ,
So when a user clicks on it , It will open the record page in ...
0
votes
1
answer
689
views
Custom notification for all user on the record page [closed]
I need to create a notification for the object record page. The idea is that there are two or more users on the record page. When one of them changes record status, toats message must be shown for ...
1
vote
2
answers
3k
views
Set Component Visibility not working on Lightning Record Page
This is a very simple scenario i am working on. There is a custom formula field and i need to hide 2 related lists 'Deployment task' which is VF component and 'deployment steps' which is a standard ...
1
vote
1
answer
829
views
Activity Tab not appearing immediately on activity timeline after changing default view
I had activity timeline already added on one of the Lightning pages on account, but the default activities view was later changed to "Related Lists". So I restored the view to "Activity ...
0
votes
0
answers
502
views
Pass ContactId to Record Detail component on User Page
I am trying to show some Contact / Account fields on User Profile page in Community. Please refer to the pic below
Is there a way to do this?
I am aware that there are different pages like Account ...
2
votes
1
answer
3k
views
Edit fields on the "Case Details" Related Record Component
Where can I edit the fields displayed on the Case Details Related Record in the Case Lightning App?
Also is there a limit to the number of fields?