we need to
intercept the default check-in Event of the Document Library. The detailed requirements is as follows.
1. Intercept the
check-in Event of Document Library.
Instead of the default check-in page (normally this is the
layout's checkin.aspx page),
show our custom application page.
3. In the custom application page,
allow users to provide some inputs.
Validate the input values against values stored in
4. Once validated successfully, allow user to
check-in the documents. Else, do not allow user to check-in the document.
One more additional requirement is the above things should happen only for our
custom content type. In order to achieve the same, we are planning for deploying
our custom document content types and perform the
above operations on check-in event of the documents.
Another approach of performing the same is , have our
own custom ECB Menu. The detailed process is as below.
Customize the check in menu (ECB)
b. Show the custom form and get the inputs from user and do the validations
c. On the OK button click, if validation is success, then update the meta data and check in the document or deny the process.
d. But in this approach, we need to check the libraries version settings and that
default functionalities should be added automatically to the check in process.
At this point of time, we a
View Complete Post