cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mihamocnik
Helper I
Helper I

Is it possible to have an impact on Search results via webroles or javascript?

Hi All,

 

we are using two different navigation's Web Link Sets and would like to limit the entity lists/search results based on the web link set. I am thinking about two different approaches - first with access restrictions/web roles or if not possible via javascript. 

 

Please advise.

 

BR,

Miha

1 ACCEPTED SOLUTION

Accepted Solutions
Pranjali
Community Support
Community Support

Hello Miha,

 

It is definitely possible to have Search modified to display certain entities only depending n logged in user role.

Just make sure to add the relevant entities in the relevant site settings (https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/search#entities-searchable-in-por...).

The resulting set will always be restricted by web roles and access control rules.

 

Cheers!

Pranjali

View solution in original post

2 REPLIES 2
ragavanrajan
Super User
Super User

Hi @mihamocnik , 

 

     If my understanding is right , your issue is already addressed by @timl . Please have a look at the following thread 

 

https://powerusers.microsoft.com/t5/Building-Power-Apps/PowerApps-Portal-How-to-Limit-Page-Visibilit... . 

And adding how to implement the restriction on entity data is written by Nick Doelman 

 

https://readyxrm.blog/2019/08/26/powerapps-portals-how-to-hide-or-show-content-based-on-logged-in-us... 

 

Hope it gives you some idea on this. 

------------

 

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Pranjali
Community Support
Community Support

Hello Miha,

 

It is definitely possible to have Search modified to display certain entities only depending n logged in user role.

Just make sure to add the relevant entities in the relevant site settings (https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/search#entities-searchable-in-por...).

The resulting set will always be restricted by web roles and access control rules.

 

Cheers!

Pranjali

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,405)