SharePoint Online: How to hide command bar and "See all" button of embedded list view?

vrm 706 Reputation points
2023-08-13T12:35:40.01+00:00

I created a specific view of a list and would like to embed on multiple sites.

Using the Embed web part, I get the desired list view, unfortunately I also get the command bar and "See all" button.

How do I hide the command bar and "See all" button of embedded list view?

Thanks.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,230 questions
{count} vote

Accepted answer
  1. ChengFeng - MSFT 5,045 Reputation points Microsoft External Staff
    2023-08-15T01:53:48.2366667+00:00

    Hi@vrm

    Thanks for letting us know your user experience. According to your case description, I do understand how frustrated you are now.

     

    When I received the case, I searched a lot of documents did a lot of researches. And I feel regretful to inform you that it turns out to be a by-design one.

     

    And I noticed that some end users have also proposed the same request, it is highly recommended that you can vote this ticket. Many features of our current products are designed and upgraded based on customers’ feedback. With requirements like this increase, the problem may well be released in the future. Thanks for your understanding.

     

    feedback


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards

    Cheng Feng

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Ganesh Sanap 211 Reputation points
    2023-08-25T08:26:20.3133333+00:00

    Unfortunately, you cannot hide the command bar and the see all option from Embed web part.

    But if you are using List web part on SharePoint pages, you can hide it from web part settings.

    Check detailed steps at: Show/Hide See all link from SharePoint list/library web parts


    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have extra questions about this answer, please click "Comment". For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs

    2 people found this answer helpful.
    0 comments No comments

  2. Alistair Langford-Wilson 0 Reputation points
    2025-03-05T20:55:32.0633333+00:00

    I have come up with a fix, but first, let me state the issue as I understand it, to make sure we're on the same page. (I am using SharePoint 365)

    • As Ganesh noted above, when you create a view of a list/library and embed it in a page within the same site using the List or Document Library parts, SharePoint does provide controls to hide the command bar and the 'See All' button.
    • But to embed that view in a different SharePoint site, you must use the Embed Web part, which does not have those controls.

    Now, the workaround.

    A summary is: create a page (say, View_My_List) on the same site as the library/list; embed the list into View_My_List using either List or Document Library part; toggle off the command bar and See All button as explained by Ganesh previously; then, on each site where you want to display the list, create a page and embed View_My_List as a web part. The command bar and See All button will be hidden.

    More detailed instructions:

    Let's say you have a list/library called Doc_Store which lives on a site called Source. You want to display Doc_Store on another site, called Staff, without the command bar and See All options.

    1. On the Source site, create a new page (say, View_My_List) and add Doc_Store using the List or Document Library part.
    2. Click 'Edit Properties' for the part, apply the view you want, and/or specify the top-level folder you want users to see (if your library uses folders, this allows you to hide upper-levels of the folder hierarchy).
    3. Disable the command bar and See All buttons (use the link Ganesh provided as a guide: it still works.)
    4. Publish the page.
    5. On the Staff site, make a new page, and embed your view page, View_My_list, as a Web part.

    Viola! Since the command bar and See All button are already hidden on View_My_List, this simply carries over when it is embedded on another site.

    Of course, there might be a slight performance hit, as you now looking at a view of a view of your library or list. And you'll need to do this for every site where you want to show your list/library.

    I hope this helps.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.