Skip to main content
Nintex Community Menu Bar
Solved

Create news article from workflow

  • February 2, 2021
  • 3 replies
  • 21 views
  • Translate

Forum|alt.badge.img+1

Hi! My company uses SharePoint online and since yesterday Nintex Workflow Cloud.

 

Is there a way to create a news article in SharePoint Online out of a workflow from the Nintex Workflow Cloud?  

 

The workflow should look like this:

When a new item in a list is created, the workflow starts, takes the data from the list item and creates with it a news article in Sharepoint Online.

Best answer by Gavin-Adams

Mark,

you can create an item in the library based on the news page content type.

However the issue will be that in modern comms sites, news pages use a rich text editor web part to store the content.

In classic publishing pages we used columns to store the content.

Columns of an item are easy to update via nintex workflow sharepoint actions.

 

Webparts on a page you will only be able to do that programmatically. 

So you could look at the call a web service action to call into sharepoint via the API to do this, it's just not easy.

View original
Did this topic help you find an answer to your question?

3 replies

Gavin-Adams
Forum|alt.badge.img+13
  • Communicator
  • 182 replies
  • Answer
  • February 4, 2021

Mark,

you can create an item in the library based on the news page content type.

However the issue will be that in modern comms sites, news pages use a rich text editor web part to store the content.

In classic publishing pages we used columns to store the content.

Columns of an item are easy to update via nintex workflow sharepoint actions.

 

Webparts on a page you will only be able to do that programmatically. 

So you could look at the call a web service action to call into sharepoint via the API to do this, it's just not easy.

Translate

Forum|alt.badge.img+1
  • Author
  • Novice
  • 1 reply
  • February 8, 2021

Thank you, I was hoping for a solution that didn't involve to call a web service action. I solved it now internally with a PowerAutomate Flow, but I'm hoping that Nintex would offer an easier function for this in the future.

Translate

Gavin-Adams
Forum|alt.badge.img+13
  • Communicator
  • 182 replies
  • February 8, 2021

Hi @mark3 ,

Thanks for letting us know how you solved it, even if not nintex.

 

The other thought I just had was the use of Azure Functions.

 

There are some blog posts and other community posts on how to use Azure Functions in NWC

Extending Nintex Workflow Cloud further with Azure functions - Nintex

Solved: Azure Functions in Nintex Workflow Cloud: Random N... - Nintex Community

 

Plenty of posts out there on using Azure function with sharepoint modern pages.

here is one from a quick search

Create Modern Pages and update metadata using SPFx Extensions, SP PnP JS and Azure Functions – Tech Huddle (asishpadhy.com)

 

The benefit of this would be a reusable custom action defined through NWC xtensions and you could reuse this across multiple workflows. 

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings