sharepoint version history include related items changes
Hi, In our SharePoint website, we have two folders. One is "Project" and another one is "Doc". Both "Project" and "Doc" have their version history pages and works well. My question is: One Project normally has multiple documentations. Every doc has a property "project id" which points to the project that it belongs to. If it is possible to include all doc changes history into its project's "version history" page? So when I open the project version history page, I can see all sub-docs' changes history too. Or if it is possible to automatically trigger the project update its version when any of its doc has been updated. Thanks,
May 12th, 2011 2:18pm

Hi hu.brett, It is not possible to work with OOB solution. You need to do some customization on the versions.aspx application page. Here is a workaround for your reference: 1. Do a copy of the versions.aspx page and give a new name for your custom version page. 2. Modify core.js follow this blog to change the target to point to your custom version page. http://deepamberkar.blogspot.com/2010/05/customizing-sharepoints-out-of-box.html 3. Custom the application page. Judge versions page URL. If current page is the folder version history page, then get version histories from its sub items. Refer to GetVersions method. Best regards, Emir
Free Windows Admin Tool Kit Click here and download it now
May 16th, 2011 4:59am

Hi hu.brett, It is not possible to work with OOB solution. You need to do some customization on the versions.aspx application page. But this is not recommended. If you would like to have a try, please try these steps: 1. Do a copy of the versions.aspx page and give a new name for your custom version page. 2. Modify core.js follow this blog to change the target to point to your custom version page. http://deepamberkar.blogspot.com/2010/05/customizing-sharepoints-out-of-box.html 3. Custom the application page. Judge versions page URL. If current page is the folder version history page, then get version histories from its sub items. Refer to GetVersions method. Best regards, Emir
May 16th, 2011 5:01am

Hi, Thank you for your reply. However my client wish us to solve the problem based on the MS "normal" way such as by its configuration or by its api. If configuration could not work here, is it possible by using some programming? I am wondering if we could use "event handler" to trigger the "project" version change when its doc has been updated. If it is possible, could you please provide some pieces of sample code for (1) how to retrieve the project item (2) how to update the project's version. BTW, our client is still using 2007 version. Thanks in advance,
Free Windows Admin Tool Kit Click here and download it now
May 16th, 2011 3:03pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics