简体   繁体   中英

Is there a way to change an entire columns value in a SharePoint list

I have a simple SharePoint list which consists of 2 columns, username and a Boolean Yes/No expression. It is used for users to acknowledge that they have read a document. I would like to create a button that would set all users Boolean expression back to 'No' when the document is amended/updated. Is there a way to do this?

I am very new to SharePoint and have not had a lot of experience with JavaScript. Thanks in advance for any help!

SharePoint does not provide a way to confirm that the user whether has read the document.

As a workaround, you could add a workflow to update the list value,Users can start the workflow after reading the document.

Can you please explain two columns that you have added are part of the same document library, Or document & two columns in separate list.

If you have idea of JavaScript, then you can write CSOM Javascript code to implement the above scenario. you can also make use of SharePoint REST Calls.

If you have idea of C#, then you can write even receivers to clear off the boolean values based on Document State Changes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM