Managing Pages
In order to cover certain business use cases, administrators must modify existing page layouts or create new page layouts.
Info
The page customization differs between Salesforce Classic and Salesforce Lightning.
Managing Record Pages in Salesforce Lightning
Modifying Record Pages
-
Open a record detail page of the corresponding object.
- Navigate to an opportunity, order, invoice, subscription etc. as required.
- Click to open the Setup menu, then select Edit Page.
-
Modify the page layout as necessary.
Add, edit or remove components.
Reorder components by dragging them to the intended region of the record page.
-
Click Save.
-
Click Activate.
This makes the customized record page available to users.
Info
When you save the customized record page for the first time, you can activate it from the Save dialog. Later, you can use the Activation... dialog.
For more details about editing Lightning pages, see Create and Configure Lightning Experience Record Pages in the Salesforce Help.
Creating Record Pages
-
Navigate to the Lightning App Builder.
Click to open the Setup menu and select Setup, then open User Interface > Lightning App Builder.
-
Click New.
- In the page creation dialog, select
Record Page
, then click Next. - Specify a page label and select the object for which you want to create the new record page.
- Select a page template or choose to clone the default record page.
-
Click Save.
This creates the new record page.
-
Modify the page layout as necessary.
Add, edit or remove components.
Reorder components by dragging them to the intended region of the record page.
-
Click Save.
-
Click Activate.
This makes the customized record page available to users.
Managing Page Layouts in Salesforce Lightning
Modifying Page Layouts or Search Layouts
-
Navigate to the object management settings of the corresponding object.
Click to open the Setup menu and select Setup, then open Objects and Fields > Object Manager > Object.
-
Click Page Layouts or Search Layouts, respectively.
- In the row of the layout you intend to modify, click to open the action menu, then select Edit.
-
Modify the layout as necessary.
Add or remove buttons, fields, actions, related lists, Visualforce pages etc.
-
Click Save.
Note
To display related lists, make sure that there is a lookup relation between the corresponding objects. For details about creating a lookup relation, see Managing Object Fields.
Creating Page Layouts
-
Navigate to the object management settings of the corresponding object.
Click to open the Setup menu and select Setup, then open Objects and Fields > Object Manager > Object.
-
Click Page Layouts.
- Click New.
- Optionally, choose an existing page layout to clone.
- Specify a name for the new page layout.
-
Click Save.
This creates the new page layout.
-
Modify the page layout as necessary.
Add or remove buttons, fields, actions, related lists, Visualforce pages etc.
-
Click Save.
Assigning Page Layout to User Profiles
-
Navigate to the object management settings of the corresponding object.
Click to open the Setup menu and select Setup, then open Objects and Fields > Object Manager > Object.
-
Click Page Layouts.
- Click Page Layout Assignment, then Edit Assignment.
- Select the target user profile(s) in the table.
- From the
Page Layout To Use
picklist, select the page layout to be assigned. - Click Save.
For details, see Assign Page Layouts from a Customize Page Layout or Record Type Page in the Salesforce Help.
Managing Page Layouts in Salesforce Classic
Modifying Page Layouts or Search Layouts
-
Navigate to the page layout or search layout definitions of the corresponding object.
For standard Salesforce objects, open, for example, Setup > Build > Customize > Opportunities > Page Layouts.
For JustOn objects, open, for example, Setup > Create > Objects > Invoice > Page Layouts.
-
Click Edit in the row of the page layout you intend to modify.
-
Modify the page layout as necessary.
Add or remove buttons, fields, actions, related lists, Visualforce pages etc.
-
Click Save.
Note
To display related lists, make sure that there is a lookup relation between the corresponding objects. For details about creating a lookup relation, see Managing Object Fields.
Creating Page Layouts
-
Navigate to the page layout definitions of the corresponding object.
For standard Salesforce objects, open, for example, Setup > Build > Customize > Opportunities > Page Layouts.
For JustOn objects, open, for example, Setup > Create > Objects > Invoice > Page Layouts.
-
Click New.
- Optionally, choose an existing page layout to clone.
- Specify a name for the new page layout.
-
Click Save.
This creates the new page layout.
-
Modify the page layout as necessary.
- Click Save.
-
Assign the new layout to user profiles.
See Assigning Page Layouts in the Salesforce Help.
Info
For general information and more details, see Page Layouts in the Salesforce Help.