Skip to main content
Nintex Community Menu Bar

At the moment I am building a workflow which should also be able to create a site page. I do know how to create a list, library and image library with the workflow. But I haven’t figured out yet how create a site page. Any ideas on how to achieve this?

Hi ​@Mr_Blue_81,

Nintex workflow does not have a specific action for creating site pages, but you can use a web service action and call the SharePoint API to create them.

POST /_api/Web/GetFileByServerRelativeUrl('<source_url>')/CopyTo(strnewurl='<target_url>',bOverWrite=false)

Replace <source_url> with the path to your template page, and <target_url> with the desired path for your new page.

You can then use additional web requests to update the page, such as the title.


Thank you ​@SimonMuntz! I will give a try next week and try to implent it. :-)


Reply