Column permission & column formatting

Occasional Contributor

Hi all,

 

I would like to hide the column (or column's content) for the SharePoint List view, if the user not a member of the specified SharePoint Group.

 

Can I achieve the above by using Column Formatting (with JSON), or any other suggestion?

 

Thanks,

 

Lam

5 Replies
No, there are no properties available or anyway to query the logged in users security groups through the JSON request.
But you can I think you should be able to do this with a SPFx Extension (Field Customizer type): https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/overview-extensions
Not for SharePoint Online Today my friend...JSLINK is only supported in classic experiences
I never said it was, that’s because you can migrate from on premises in a full modern approach or an hybrid that’s the most used technically used migration context.

Intention here is give an opinion that will fit or not. But thank you for bringing this up.

Best