Problem creating new Publishing pages with Javascript-jquery

Oct 19, 2011 at 4:21 PM

I am trying to do the following. In SharePoint 2007 I need to create a new publishing page. I try to do this with the spservices. The problem I have is I can create a new item but I am unable to create the link to the Page Layout and I can not set the Filename.

does someone have a example of a camlquery that does this or is it impossible what I want to do?

Thanks in advance.

Paul Keijzers KbWorks

Oct 20, 2011 at 8:58 PM

Hi,

One workaround is copying an existing page using http://spservices.codeplex.com/wikipage?title=CopyIntoItemsLocal&referringTitle=Copy

/Fredrik

Coordinator
Oct 23, 2011 at 4:03 AM

Paul:

I haven't tried this, so I'm not sure about the best course of action. I can't recall anything in any of the Web Services that would help with this specifically. Did you try Fredrik's suggestion?

M.

Oct 24, 2011 at 7:05 AM

Hi Marc and Fereko,

thanks for the replies after a discusion with my client. We came to the conclusion that it was better to build server side.

Thanks again.

 

Paul Keijzers