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.
- On the Source site, create a new page (say, View_My_List) and add Doc_Store using the List or Document Library part.
- 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).
- Disable the command bar and See All buttons (use the link Ganesh provided as a guide: it still works.)
- Publish the page.
- 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.