Hide/show webparts as per sharepoint group in sharepoint online

Brass Contributor

I have two webparts on may page, each webpart have different view of list library.

I want to hide/shw webpart depend on security group of user connecting this page.

so any time only one webpart is visible to user which having security group for webpart have show option and other webpart is hidden, this way I can show only one view to user which have user group specific data.

 

how can I achieve this?

1 Reply

@rautchetan 

 

Unfortunately that isn't functionality that currently can be targeted to an audience. Here is what can:-

 

https://support.office.com/en-us/article/overview-of-audience-targeting-in-modern-sharepoint-sites-6...

 

Here is probably the main user voice request for this feature on all modern webparts -

 

https://sharepoint.uservoice.com/forums/329214-sites-and-collaboration/suggestions/20101822-enable-a...