Skip to main content
Nintex Community Menu Bar
Question

Creating a site page with NINTEX workflow?

  • December 18, 2024
  • 2 replies
  • 49 views

Forum|alt.badge.img+3

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?

2 replies

SimonMuntz
Nintex Employee
Forum|alt.badge.img+23
  • Nintex Employee
  • January 6, 2025

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.


Forum|alt.badge.img+3
  • Author
  • Rookie
  • January 9, 2025

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