[SharePoint 2010 – Developpement] The file is not extracted, it has to be extracted before modifications (Le fichier n’est pas extrait, il doit être extrait avant d’être modifié)

In my code, i got the SPLIMITEWebPartManager object, before the page checkout.

Actually, you’ll have to first :

  1. CheckOut the page
  2. Get the SPLimitedWebPartManager

This post explain how to do it

http://blogs.edwardwilde.com/2009/11/29/splimitedwebpartmanager-savechanges-throws-microsoft-sharepoint-webpartpages-webpartpageuserexception-the-file-is-not-checked-out/

———————————————–

Dans la page de code, je récupérais SPLIMITEWebPartManager avant le checkout de la page en question.
Il faut d’abord :

  1. Faire le checkout de la page
  2. Recuperer l’objet SPLimitedWebPartManger

Ce post explique la manipulation

http://blogs.edwardwilde.com/2009/11/29/splimitedwebpartmanager-savechanges-throws-microsoft-sharepoint-webpartpages-webpartpageuserexception-the-file-is-not-checked-out/

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s