Modifying column so certain groups can't view it

Copper Contributor

Hello,

 

I'm developing a help desk for employees at my company to submit tickets to the 'Help Desk' list via Powerapps forms. At the moment, I have everything working except I would like to include a column in the list named "IT Comments" that should only be visible and modifiable by Techs in the company.

 

Is there any way to achieve this? Maybe it has something to do with the Powerapps integration with sharepoint?

 

Thanks for all responses in advance!

2 Replies

@qhenry  In SharePoint there is no OOTB way to "hide" a column using groups or permissions.  You can not include to column in the PowerApp, but it will be visible in the list.  You can change the default view of the list to not show the column as well, but a savvy end user that knows how to change views would be able to see it.

Hi @qhenry 

 

It is not possible to securely hide columns to some people. 

 

What I would suggest if possible in your scenario is to have a different list for the comments that only those who are allowed can access. 

 

In SharePoint you could solve this by using javascript for example:

On the ticket list you can add column that contains hyperlink "add comment" that will open "comment" dialog for those who are allowed to and bind it together on the ticket itemid so each comment has a reference id to the ticket. Then maybe you could add another column to the ticekt list that contains hyperlink "Show all comments", that action would query the comments list by ticket itemid.  

Or you could do same thing on the item view form by adding button or link with script editor.

 

And I'm sure you can solve this in a similar way in PowerApps for example when you view single item you add extra action or controls if current user is allowed to see it and then submit comment to different list.