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

I have custom list(created using VS) where I need to add a new column. But in my site collection i got the data from restoring site collection in which new column information will not be there. Now my question can i add new column to a list and restore same old site collection ?

share|improve this question
    
is it necessary to restore the entire site collection? Are you able to save out a specific list or specific library using the Central Admin's "Granular Backup"? –  bkwdesign Jan 3 '13 at 19:51
add comment

1 Answer 1

up vote 1 down vote accepted

If you still have access to the old site (perhaps in a development environment) and are using 2010, you can go into Central Admin's "Granular Backup" tool to export the desired list to a .cmp file.

When you restore a .cmp file to a list that is missing data, it will leave untouched the rows that are already part of the .cmp file and only insert the missing rows.

Now, I know your answer is in regard to columns, so, you'll have to experiment.. I only know that restoring data from a .cmp file is supposed to not touch existing rows that are already in the list. I do not know about columns.

ALTERNATIVELY: If you can restore your site collection to a development machine, add the missing column to the development instance of the list (using your .wsp, or perhaps even just using GUI tools) then create a .cmp export file of that instance.. it might then successfully restore to the production environment where you've added the same-named column via VS

share|improve this answer
add comment

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.