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 II
Dual Super User II

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.
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 II
Dual Super User II

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
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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