updating custom field during file checkin in Document Library of SharePoint 2010
You may refer to the following thread for similar idea: http://social.technet.microsoft.com/Forums/en-US/sharepoint2010customization/thread/88f846da-da9e-4cbe-bdf8-e607c05e10dc/ Or if no user interaction is required you can write an event receiver (for checking in) to handle it.
June 29th, 2012 6:09am

Hi, I have a document library where I have a field as 'Status' this field needs to be update based on User Input. I have the idea that urlmapping in web.config will redirect to a customized checkin.aspx (with custom fields added). I am not sure how to achieve updating the custom field in the document library. Another question is, my adding urlmapping in web.config, all document libraries in the specific site/subsite have the custom field showing up in the checkin.aspx, but I want to restrict this only to particular document library, is there a way I can achieve this. Any help on this will be highly appreciated.Vasudev S.
Free Windows Admin Tool Kit Click here and download it now
July 1st, 2012 11:22pm

You may refer to the following thread for similar idea: http://social.technet.microsoft.com/Forums/en-US/sharepoint2010customization/thread/88f846da-da9e-4cbe-bdf8-e607c05e10dc/ Or if no user interaction is required you can write an event receiver (for checking in) to handle it.
July 2nd, 2012 3:02am

Sorry, for being too elementary on this question. 1) On the code behind of Customized checkin.aspx, I am not able to understand how to access the current item to update with value the "Status", I am not sure whether I am trying at the right place. (I have tried using SPContext.Current.ListItem / SPContext.Current.Item) I am not able to get the current item being checkin to the value of the field. If you can help out with the code piece to access the current files meta data that will be of great help. Vasudev S.
Free Windows Admin Tool Kit Click here and download it now
July 7th, 2012 6:00am

Hello, You can use SPD workflow to update the column value for the 'current' item depending upon the selection made by users in other column. Hope this helps, Regards | Rohan | Sharepoint Technologies | http://sharepoint-administration-eu.blogspot.com/
July 14th, 2012 8:54pm

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

Other recent topics Other recent topics