Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Iam using the sharepoint default approval workflow on some libraries,here my question is after approving the particular document the document in the library has to be checked out automatically,so that the user will not change anything in the approved document (i.e after approved no one should not permission to change the document content).

can anyone please give some sort of solution for my issue.

Thanks in Advance, Naresh.

share|improve this question

1 Answer 1

I don't entirely agree that checking out after approval is the right way to go. I would instead update permissions so that users can only read the document. That being said, you understand your requirements more than I do so maybe check out is what you really need. I don't know.

Regardless of which way you go, permissions or check out, you will probably end up performing the action within event receivers. Specifically I would use the ItemUpdated event receiver. This allows you to perform actions based on changes that were made to the document - e.g. check approval status and act accordingly.

I would use Updated instead of Updating because I imagine if you check out a document before its officially been updated you may run into some goofy things. But you can try both!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.