How to hide toolbar of list embedded on another site via embed webpart?

Beat 6 Reputation points
2020-09-21T15:56:43.317+00:00

The embed webpart on SharePoint Online provides a great way to display a list on another site.
The only downside compared to the list webpart is, that there is no option to hide the command bar.

Does anyone know of a list url parameter that would allow me to hide the command bar in an iframe?

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

1 answer

Sort by: Most helpful
  1. Jerry Xu-MSFT 7,956 Reputation points
    2020-09-22T07:00:48.96+00:00

    Hi, @Beat ,

    Per my knowledge, we cannot hide the toolbar when using embed web part to display a list from another site. It is a not customizable settings with changing URL.

    For displaying a list from another site, you can try to use Highlighted content web part with a custom query (Path:http://[siteurl]/[DocLibraryName]) (contentclass:STS_ListItem). However, it will not display most of the field values, like the screenshot below:
    26411-image.png


    If the answer is helpful, please click Accept Answer and upvote it.
    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.


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.