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

Set field as read only via Flow

I have a SharePoint list, and on that list is a field called "Create Checklist" (Yes/No).  If Yes, I have the flow creating a few tasks on another list.  After it is done creating those tasks, I have it resetting the "Create Checklist" field to No and I now want to set that field as read only so that the user doesn't select it again since the action is already completed.  It's got me stumped.  Any suggestions?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Set field as read only via Flow

Hi @ahohman ,

 

As @Pstork1  said, there is no any way in microsoft flow could make a sharepoint Field Read Only currently.

 

Best regards,

Alice       

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Highlighted
Dual Super User III
Dual Super User III

Re: Set field as read only via Flow

SharePoint doesn't support permissions at the level of a Field in a list.  You can change the permissions on a List Item using HTTP, but there is no way to make a Field Read Only.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Highlighted
Helper I
Helper I

Re: Set field as read only via Flow

I wasn't looking at as permissions.  When I used InfoPath, I was able to set a condition on a field to make it read only (or disable it) after it was selected.  I was hoping to achieve something similar with Flow.

Highlighted
Dual Super User III
Dual Super User III

Re: Set field as read only via Flow

For that take a look at the DisplayMode property of the control.  Most controls have three modes: Edit, View, and Disabled.  This is usually handled by an If() in the displaymode property that tests a variable for a specific value.  then sets the control to Edit or Disabled based on the value.  When you submit your form change the value of the variable and the control will disable after submission.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Highlighted
Community Support
Community Support

Re: Set field as read only via Flow

Hi @ahohman ,

 

As @Pstork1  said, there is no any way in microsoft flow could make a sharepoint Field Read Only currently.

 

Best regards,

Alice       

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (7,317)