Is it possible to create List View for Current Manager in SharePoint

%3CLINGO-SUB%20id%3D%22lingo-sub-3319864%22%20slang%3D%22en-US%22%3EIs%20it%20possible%20to%20create%20List%20View%20for%20Current%20Manager%20in%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3319864%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20it%20possible%20to%20create%20a%20list%20view%20that%20only%20the%20assigned%20user%20can%20see%20and%20also%20their%20manager%20can%20see%3F%3C%2FP%3E%3CP%3Efor%20example%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Dynamicshs_0-1651729556549.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369361i8D055B1C9732CC0C%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Dynamicshs_0-1651729556549.png%22%20alt%3D%22Dynamicshs_0-1651729556549.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EDoes%20anyone%20know%20who%20to%20do%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EHenry%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3319864%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3327453%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20create%20List%20View%20for%20Current%20Manager%20in%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3327453%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1353271%22%20target%3D%22_blank%22%3E%40Dynamicshs%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Emanager%20is%20an%20dynamic%20value%2C%20that's%20not%20possible%20in%20a%20list%20view.%20But%20i%20think%20you%20have%20two%20other%20solutions%20to%20proof%20for%20that%3A%3C%2FP%3E%3CP%3E1.%20Power%20Automate%20Flow%20set%20permisson%3C%2FP%3E%3CP%3E-%20Set%20the%20permissions%20on%20list%20items%20with%20a%20flow.%20On%20change%20or%20save%20you%20can%20set%20permission%20for%20the%20user%20and%20the%20manager.%20only%20people%20with%20access%20see%20the%20items.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E2.%20Search%26nbsp%3B%3C%2FP%3E%3CP%3E-%20With%20PnP%20Modern%20Search%20WebParts%20you%20can%20build%20queries%20with%20dynamic%20user%20profile%20information.%20Maybe%20you%20can%20build%20a%20query%20around%20the%20user%20and%20manager.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOnly%202%20ideas%2C%20but%20both%20are%20not%20proofed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%20Dave%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3329468%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20create%20List%20View%20for%20Current%20Manager%20in%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3329468%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1207%22%20target%3D%22_blank%22%3E%40David%20Mehr%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20reply.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20a%20little%20confused%20on%20how%20I%20would%20set%20this%20up%20on%20power%20automate%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EHS%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3329877%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20create%20List%20View%20for%20Current%20Manager%20in%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3329877%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1353271%22%20target%3D%22_blank%22%3E%40Dynamicshs%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eoh%20sorry%20i'm%20not%20a%20power%20automate%20specialist.%20Here%20is%20en%20example%2C%20how%20you%20can%20set%20permissions%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsteveknutson.blog%2F2021%2F12%2F10%2Fsetting-sharepoint-permissions-with-power-automate%2F%23%3A~%3Atext%3DPower%2520Automate%2520can%2520be%2520used%2Cthat%2520triggers%2520on%2520item%2520creation%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsteveknutson.blog%2F2021%2F12%2F10%2Fsetting-sharepoint-permissions-with-power-automate%2F%23%3A~%3Atext%3DPower%2520Automate%2520can%2520be%2520used%2Cthat%2520triggers%2520on%2520item%2520creation%3C%2FA%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20here%20an%20example%2C%20how%20you%20get%20the%20manager%20from%20a%20user%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fpowerusers.microsoft.com%2Ft5%2FBuilding-Flows%2FGet-manager-V2%2Ftd-p%2F185565%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fpowerusers.microsoft.com%2Ft5%2FBuilding-Flows%2FGet-manager-V2%2Ftd-p%2F185565%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%20Dave%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi, 

 

Is it possible to create a list view that only the assigned user can see and also their manager can see?

for example: 

Dynamicshs_0-1651729556549.png

Does anyone know who to do this?

 

Regards,

Henry 

 

3 Replies

Hello @Dynamicshs 

 

manager is an dynamic value, that's not possible in a list view. But i think you have two other solutions to proof for that:

1. Power Automate Flow set permisson

- Set the permissions on list items with a flow. On change or save you can set permission for the user and the manager. only people with access see the items. 

 

2. Search 

- With PnP Modern Search WebParts you can build queries with dynamic user profile information. Maybe you can build a query around the user and manager.

 

Only 2 ideas, but both are not proofed.

 

Regards, Dave

Hi @David Mehr,

 

Thanks for the reply. 

 

I'm a little confused on how I would set this up on power automate? 

 

Thanks,

HS

Hello @Dynamicshs 

 

oh sorry i'm not a power automate specialist. Here is en example, how you can set permissions:

https://steveknutson.blog/2021/12/10/setting-sharepoint-permissions-with-power-automate/#:~:text=Pow....

 

And here an example, how you get the manager from a user:

https://powerusers.microsoft.com/t5/Building-Flows/Get-manager-V2/td-p/185565

 

Regards, Dave