0

I have a problem during the during the copy of the Web Parts connection. Page pagination doesn’t work.

Here is my code:

SPList newReference = CopyList ("References, properties, web);
SPList newCategorie = CopyList ("Categorie, properties, web);

LookedUPReference (newReference, newCategorie);
AddScriptEditorNewForm(newReference, web, "References", year);

string PageListeToCopy = @"/SitePages/ListesOriginal.aspx";
string PageListeDestination = @"/SitePages/Listes" + "-"+ year + ".aspx";

SPFile No.of = web. GetFile (web. URL + PageListeToCopy);
PageListe.CopyTo (web. URL + PageListeDestination);

webPartToConnect = CreateListViewWP(web, PageListeDestination, "Categorie", "References", year);
connectWebPart(web, PageListeDestination, webPartToConnect.Key, webPartToConnect.Value, "Categorie:ID")

 

(Visited 11 times, 1 visits today)
MIRA21 restored answer March 1, 2017

Can you let us know about the error? Maybe a screenshot?

Add a Comment