Forum Discussion
Mihiranp
Mar 27, 2024Copper Contributor
Sync comment in two list
I have two lists - one is the main list and the second one is the customer list. The main list has full access to the technical team and is not dispersed to the customer. On the other hand, the second list can only view customers. The main list's item changes are automatically replicated in the second list(Power automation flow). I need to clarify two things:
1. If I enter a comment in the main list, I need that comment to be replicated in the second list.
2. The second list is granted view-only permission for customers. Is there any possibility to add a comment?
For question 1, do you mean List comments or is this a field in the List itself? If it is a column, then copying with a Workflow is possible. You can access List comments using the Rest API. You could use Power Automate to call the API and copy the values.
SharePoint Online: All you need to know about Commenting in Lists – Ganesh Sanap Blogs (wordpress.com)
Question 2. If the user is view only, then they cannot update the item or make comments.Agree with SteveKnutson.
Users will need edit permissions on the list item to add comments. Check below articles for more information about working with SharePoint list comments using APIs:
- GET SharePoint list item comments using REST API
- Add Comments on list item using SharePoint REST API
- Delete Comments from list item using SharePoint REST API
- @mention people in list comments using SharePoint REST API
Reference: SharePoint Online: All you need to know about Commenting in Lists
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.