Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [page-layout]

Page layouts to control the layout and organization of detail and edit pages in Salesforce, the Self-Service Portal, and the Salesforce Customer Portal

0
votes
2answers
39 views

How to get Page layout name dynamically in apex?

I have a requirement where i need to get page layout name dynamically in apex on the basis of record type(page layout associated with it) selected by user. I am overriding account's new button in ...
2
votes
1answer
13 views

How do I retrieve all user layouts using Ant Migration Tool?

When I go to the list of User Page Layouts, I see that there are three different User layouts available in my organization Page Layout Name User Layout User Profile Layout Community Member Layout ...
0
votes
1answer
22 views

Why I am getting Page Layout new screen, I need to have old Page Layout Screen

Hello I am not able to edit Page Layout in Lightning, but when I go back to Classic and try to edit the Page Layout it gives me the attached view, not sure whats wrong in Page Layout design, I need to ...
0
votes
0answers
30 views

Execute Code On Standard Page Layout

My goal is that whenever the Account page layout loads, custom code is executed. And, in order to execute the code properly I need to access the account object that is displayed on the Account page ...
1
vote
1answer
28 views

FSL App Action Layout [closed]

Is it possible, if Radio Button is checked then a Text Field required? We have 3 travel types, Car, Carsharing and public transport, if Car is checked the field "Mileage Start" must be required. Is ...
1
vote
1answer
31 views

Page layout isn't being installed from managed package?

I have metadata that contains a new page layout for Account. When I deploy this metadata to a scratch org, the page layout shows up in the Object Manager as expected. But when I include this metadata ...
1
vote
0answers
13 views

Display expanded quickactions buttons on related lists on 3 region split layout

I have a 3 region split layout where there's more than enough room for a "New" Button which is hiding collapsed under the arrow but it's auto collapsed with this kind of layout and I can't find a way ...
1
vote
2answers
41 views

Lightning action(Email & Task) buttons not showing on Lead

I have the following configuration set and still Email and Task buttons not showing in the chatter lightning Lead Object: 1- Deliverability = All Emails 2- Task Has a record type 3- Feed Tracking ...
0
votes
1answer
32 views

Add Visualforce Page that is just a Button to the Custom Buttons Section of Page Layout

I had a custom button that used OnClick JavaScript behavior and when it was clicked would execute a bunch of JavaScript which would ultimately build a url and open it in a new window for the user. ...
1
vote
0answers
20 views

How to edit the UI of the Opportunity stages?

An opportunity record can go from 'Out for signature' to 'Closed' Or to 'Starting at Risk' on the Opportunity detail page. The UI does not do a good job in showing that so I would ideally like to show ...
2
votes
1answer
27 views

How to make Action Button appear for certain opportunity stages?

I have a custom button called 'Revenue Forecast' in the 'Salesforce Mobile and Lightning Experience Actions' in my Opportunity layout. How do I make this button appear/diaasppear only in certain ...
3
votes
1answer
222 views

Lightning Grid - Columns and Rows?

Looking to create this type of Grid in Lightning Grid. However what currently happens is C and D get pushed below item B (which is a chatter feed so it is long) Current Component (mine is more set up ...
2
votes
1answer
118 views

Add “Blank” to lightning:recordForm

I am trying to replicate a page layout by using lightning:recordForm. I can't seem to be able to add a blank space when i don't have an even number of fields, and it causes the last field to spread ...
0
votes
0answers
27 views

Unlocked Packages and Enhanced Notes

Is anyone having trouble with the enhanced notes related list showing up on a standard page layout after an Unlocked Packaging deployment? I just tried doing this, and even after manually adding the ...
2
votes
1answer
39 views

Headless Aura Component

I am creating some aura components that are really only used as notifications if a record meets certain criteria. Sometimes this criteria cannot be summed up with a single field so as to use the ...
0
votes
1answer
30 views

Access values from Object retrieve by REST callout

I'm retrieving this response from a REST callout for Layouts and I want to access a current key of this Object: This is how I managed response: Map<String,Object> tokenResponse = (Map<...
0
votes
0answers
17 views

Hide “Log in to Community as User” Button from Layout Not Working

In layout editing mode, the "Log in to Community as User" button can be removed from the template. But doing so has no effect on the layout. The button is still available for the users in the ...
1
vote
1answer
32 views

Add always visible NEW button to related list

I created a custom object, that is related to my Opportunities, and I would like to offer the possibility to create a new record of this custom object, but achieve this with the fewest clicks possible....
0
votes
1answer
43 views

Quick action for Account, hide some fields

I created a quick action for Account (lightning experience). Its target object is task, and it's showing up under activity. There are some fields which I would like to hide, like status, priority and ...
0
votes
1answer
20 views

Quick Action for Activity: custom field for account lookup

I have created a custom quick action for the activity in Account. All lightning experience. The custom quick action is like a new task. I need to add a field to show which account this is coming ...
0
votes
1answer
32 views

Email quick action not showing up in account page

In production under activity there are two items, new task and email. In sandbox I pull the same Email (send email) to the Salesforce Mobile and Lightning Experience Actions in account page layout, ...
1
vote
1answer
88 views

Different Account page layouts, what are they?

I am trying to configure the page layout for account. When I go to object manager -> Account -> Page Layouts I see 8 different page layouts. What are they? I didn't expect to see 8. I am wondering ...
0
votes
1answer
32 views

How to create one generic vf page and use in standard page layout of multiple objects?

I want to show a simple vf page on detail page layout of 10 objects by dragging the vf on to the page layout. Right now, I am writing one vf page for each object as below: AccountVf.page: <apex:...
0
votes
0answers
107 views

Error when validating a Change Set: “In field: excludeButtons, no such standard action”

I'm deploying from a Sandbox(Develop) into another Sandbox(Partial) but when trying to validate the Change Set got the following error referring to Campaign Member Page Layout in target org: 'In ...
0
votes
1answer
55 views

How can we assign different lighting page layout for different record types from the community builder

In service cloud we created different lightning page layouts for different record types and assigned accordingly. For reference see in the attachment. I have same requirements for the community. How ...
1
vote
1answer
21 views

Can I display an embedded visualforce page on record create?

If I have a visualforce page embedded on my custom object's standard page layout, should it show when I create a new record or only on edit? I created a basic form for some questions where I needed a ...
0
votes
1answer
18 views

how to show picklist values in different languages dependent on the current user’s country?

I want to show picklist values in the language of the logged in user. (don't want to use VF pages)
0
votes
0answers
19 views

How to get the read only status of a field on a page layout from the API?

I'm using net.describeLayout from react-native-force to get the fields on the page layouts. However the problem is that it doesn't seem that the 'read-only' property from the page layout gets returned ...
0
votes
1answer
84 views

Repeat checkbox not working on Global Actions quick action layout for event

When on the calendar tab or event object directly checking the repeat checkbox expands another menu allowing the user to choose the repeat interval. However, when creating an event from an associated ...
2
votes
1answer
34 views

Is the function that formats phone numbers available?

On a layout, if I update a phone number, Salesforce will automatically format it like a phone number if it can. But if I change it on the backend, like through apex or the developer console, it will ...
0
votes
2answers
41 views

Does Deleting a Custom Field Remove It From All Page Layouts?

Does Deleting a Custom Field Remove It From All Page Layouts? We have around 90 Case Page-layouts. We were recently told to remove a field from all of them. For best practices, we want to remove the ...
3
votes
2answers
175 views

Retrieve Page Layouts in Source Format

How can I get all page layouts from an org in Source Format? Some things I've tried # Retrieve $ sfdx force:source:retrieve -m "Layout" $ sfdx force:source:retrieve -m "Layout:My_Object__c" $ sfdx ...
5
votes
1answer
182 views

Lightning Web Component - Custom Names

I know this is not a very important question and with LWCs being new probably doesn't have an answer yet, but as I'm hoping to master these every little detail matters to me. How do I customize the ...
1
vote
1answer
53 views

How to redirect to a record page?

I have a custom VF page in a section in the Lead layout. The page is showing a table with specific information. When I clink on the link I expected to see an account record page. The link is not a ...
0
votes
0answers
19 views

Any simple solutions for displaying photos in a related list on Lightning record page?

I'm looking for an elegant solution for displaying photos in a related list in the sidebar of a record page. Similar to this screenshot, but having the photo display the full width of the sidebar, ...
0
votes
0answers
62 views

Classic experience buttons in lightning

We are migrating to lightning and are noticing that some classic custom buttons work in lightning as long as they're not javascript. We have a bunch of custom buttons that replace(think of having the ...
0
votes
1answer
26 views

How to show a text label within a section column on page layouts?

I need to show a text label within a section column on page layout. I've created a separate section and new VF page. I need the text label to appear both on create and edit of the record.
0
votes
1answer
107 views

VF page with dynamically generated HTML code?

I have a custom VF page which is added to a section in the page layout of an object. What I'd like to achieve is to add dynamically generated HTML code to my custom VF page. The HTML is dynamically ...
0
votes
1answer
43 views

How to customize record detail page of object for salesforce1?

I have below layout in Salesforce1, I want to add new tab after related tab with a custom lightning component. I tried to update page page layout from Lightning App Builder as below, but it is not ...
0
votes
1answer
72 views

Cannot remove Mandetary fields from page layout in New Task button

Hi Experts, When I am creating a task using the global action New Task then the mandetary fields are not showing up What should I do so that the exact feature shows up in the following space
0
votes
0answers
70 views

How to create a custom VF page with dynamically generated HTML code?

I'm using a custom rich text field. The rich text field is created in a standard object. In the rich text field there is a dynamically generated HTML code via apex. Here is what the rich text field ...
0
votes
0answers
30 views

Show Visual force page in pop-up on click of button which is in another visual force page using jQuery dialog

I want one button like this on case detail page: I have added this button using visual force page. I want to open another visual force page in a pop-up on click of this button. I don't want to use "...
0
votes
1answer
78 views

Knowledge__kav visualforce not shown in Article page layouts

I have create a visualforce with KnowledgeArticleVersion as standardController Visualforce page: <apex:page standardController="KnowledgeArticleVersion" extensions="MyController" showHeader="...
0
votes
2answers
22 views

records needs to be read only on based on type

I have contact and one picklist field on contact. If picklist values is 'Read' then no one should edit the record and if he tried to edit and save then error needs to be thrown 'You are not allowed to ...
0
votes
1answer
39 views

Salesforce home page issue?

I have set a home page as a default landing page & done with all the necessary customization, but whenever I logout from the org and then again login into the org, it takes me to the last opened ...
0
votes
2answers
280 views

How to add any specific object's page layout in package.xml?

I am trying below code in package.xml. <types> <members>Quote Layout</members> <name>Layout</name> </types> but got error as below. == WARNING: The ...
5
votes
1answer
52 views

Finding out which page layouts are available for an object with APEX

When you check the Metadata.Operations.retrieve method, It requires you to know prior the fullname for the page layout you want to retrieve, and the Layout object it's not available with regular SOQL, ...
2
votes
1answer
357 views

Is there a way to query exclusively the fields in the Page Layout for an sObject via APEX?

I've been looking in to the ui-api but it doesn't cut it for me, what I need It's to return exclusively the fields in the Page Layout for an object and some additional records. Something like ...
0
votes
2answers
69 views

Hide field on Case Create Page

I have a datetime field on my case object that gets set by a trigger based upon the value selected in another lookup field on my case. I need this field to display on the case details once the case ...
-1
votes
1answer
56 views

How can I get meta data of a visualforce page which is used in a Page Layout of a particular object?

I have a question i.e. how can I possibly extract meta data of a Visualforce page inside a Page Layout of an object. For fetching the page layout I use following API request : https://ap4....