SOLVED

Adding a description to the sharepoint list

Copper Contributor

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? :)

SebastianSzyroki_0-1685361425467.png

 

 

7 Replies
Hi seba, Yes, it is possible to add a header or description to a SharePoint list. There are a couple of ways you can achieve this.

Adding a Description Field

Go to the SharePoint site where your list is located.
Navigate to the specific list for which you want to add a description.
Click on the "List" tab in the ribbon at the top of the page.
Select "List Settings" from the Settings dropdown menu.
Scroll down to the "Columns" section and click on "Add a column".
Choose the column type as "Single line of text" or "Multiple lines of text" based on your preference.
Give the column a name (e.g., "Description") and any other settings as desired.
Save the column and it will be added to the list. You can then enter the desired description in the column for each list item.
Using a Content Editor Web Part

Go to the SharePoint site and navigate to the page where you want to display the list.
Edit the page and click on the area where you want to add the header or description.
Select the "Insert" tab in the ribbon at the top of the page.
Choose the "Web Part" option and select the "Content Editor" web part.
Configure the web part by clicking on the dropdown arrow on the web part's top-right corner and selecting "Edit Web Part".
In the web part properties panel, you can enter the desired header or description in the "Content" field.
Save the changes to the page.
Both of these methods allow you to add a header or description to a SharePoint list. The first method adds a specific column to the list for descriptions, while the second method allows you to add a customized header or description using a Content Editor Web Part. Choose the method that best fits your requirements and SharePoint configuration.

@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)

well, the web part is not available and I care about the new environment ;/ Is there any other way?

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 :smile:

Appreciate your Kudos! Proud to contribute! :)

 

@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

SebastianSzyroki_0-1685368312075.png

 

 

best response confirmed by SebastianSzyroki (Copper Contributor)
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

ganeshsanap_0-1685432858205.pngYou can adjust the JSON and CSS styling as per your requirements.

 

DocumentationConfigure 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.

great, that's the point. Thanks!
1 best response

Accepted Solutions
best response confirmed by SebastianSzyroki (Copper Contributor)
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

ganeshsanap_0-1685432858205.pngYou can adjust the JSON and CSS styling as per your requirements.

 

DocumentationConfigure 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.

View solution in original post