HomeDevelopment (Old) The file is not extracted, it has to be extracted before...

[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/

- Advertisement -

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

CONNECT FOR MORE CONTENT

DO NOT MISS THOSE ARTICLES

Recent Comments