May 29 2023 04:57 AM
Hi is it possible to add a header to the sharepoint list? I want a new list to appear, and a description to the list at the top. Alternatively, it can be a text field, but one in which the text cannot be changed (locked option). Anyone have any idea how to do this? 🙂
May 29 2023 05:02 AM
May 29 2023 06:06 AM
@Rahul-kumar that won't work with the modern experience as the Content Editor web part is not available.
Rob
Los Gallardos
Intranet, SharePoint and Power Platform Manager (and classic 1967 Morris Traveller driver)
May 29 2023 06:08 AM
May 29 2023 06:38 AM
Hi @SebastianSzyroki ,
To add a header to a SharePoint list, you'll need to modify the list's default view and configure the column headers. Here's how you can do it:
1. Navigate to the SharePoint site containing the list.
2. Open the list you want to modify.
Option 1: Using the List Settings:
3. Click on the "Settings" gear icon in the top-right corner of the SharePoint page and select "List Settings" from the dropdown menu.
4. Scroll down to the "Views" section and click on the view you want to modify (usually the "All Items" view).
5. In the "Columns" section, ensure that the desired columns are selected for display in the view. You can reorder the columns by dragging them.
6. Optionally, you can modify the column settings like column width, sorting, and filtering by clicking on the column name in the "Columns" section.
7. Click the "OK" or "Save" button to save your changes.
Option 2: Using Quick Edit mode:
3. On the SharePoint list page, click on the "Quick Edit" button in the toolbar. This will open the list in a spreadsheet-like edit mode.
4. In the top row of the list, enter the desired column headers in the corresponding cells. You can format the headers as needed (e.g., bold, colored, etc.).
5. Once you've entered the headers, click the "Stop" button in the toolbar to exit the Quick Edit mode.
6. The column headers you entered will now be displayed as the headers for the list.
Note: The options and steps may vary slightly depending on the version of SharePoint you are using.
If I have answered your question, please mark your post as Solved If you like my response, please give it a Like Appreciate your Kudos! Proud to contribute! 🙂 |
May 29 2023 06:51 AM - edited May 29 2023 06:51 AM
@Deleted
I don't think that's what I'm talking about.... when I click "new", a form to be completed appears and in this place I would like to add a description at the top of the form
May 30 2023 12:46 AM - edited May 30 2023 12:50 AM
Solution@SebastianSzyroki You can use SharePoint JSON form formatting: Configure layout > Header option to add text on top of list form.
Example:
{
"elmType": "div",
"attributes": {
"class": "ms-fontColor-themePrimary"
},
"txtContent": "This is a test sample list description on list form"
}
Output:
You can adjust the JSON and CSS styling as per your requirements.
Documentation: Configure the list form - custom header - follow steps given here to add JSON to list form
Check few form JSON samples available here for JSON styling inspiration: Form Formatting samples for SharePoint and Microsoft Lists
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
May 30 2023 12:50 AM
May 30 2023 12:46 AM - edited May 30 2023 12:50 AM
Solution@SebastianSzyroki You can use SharePoint JSON form formatting: Configure layout > Header option to add text on top of list form.
Example:
{
"elmType": "div",
"attributes": {
"class": "ms-fontColor-themePrimary"
},
"txtContent": "This is a test sample list description on list form"
}
Output:
You can adjust the JSON and CSS styling as per your requirements.
Documentation: Configure the list form - custom header - follow steps given here to add JSON to list form
Check few form JSON samples available here for JSON styling inspiration: Form Formatting samples for SharePoint and Microsoft Lists
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.