Ahmed Eltawil's Blog

Sharepoint Content Deployment

Posted on: February 28, 2008

One of the major problems I faced with sharepoint 2007 is content deployment. If you ever used the sharepoint designer dataview control in your site, you will face a problem when deploying or copying sites. The dataview control doesn’t seem to be updating the list GUID used in the control. So if you created a dataview in one site and tried to copy the site over to another site, either by using site templates or site backups, that dataview will display an error since the list GUID has changed.

There is a workaround to this problem. Place the list GUIDs used in the dataview between squigly brackets, like this {000000}. But this only works if you create sites using site templates, which leads to another problem. Site templates doesn’t save custom list permissions or security groups. The only way to save these configurations is by creating a backup of the site. But using the backup method wont update the GUIDs on any dataviews created within the site, so what’s the solution?

Ditch the sharepoint dataviews and replace them with standard Asp.Net 2.0 gridviews or detailviews. You will be cutting down the page size by half in doing so and it will give you more flexibility and control over the data displayed. And to copy or deploy a site use the STSADM export and import command line. Simple and straightforward.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


  • Вторая проще. Русская краса | 3 years ago
  • Цветет,благоухает..Жизнью строки наполняет.. | 3 years ago
  • Розы, песни и стихи | 3 years ago
  • Ведь нажива, об этике, не сожалеет. | 3 years ago
  • Ни о влюблённости, что миновала | 3 years ago
  • Надо распустить свой хвост. | 3 years ago
  • Самое страшное - это с утра после пьянки зайти в контакт и увидеть "Мои фотографии (6)" | 3 years ago
%d bloggers like this: