Nov 20 2018 07:55 AM
Hi,
Is it possible to create a News Items in a SharePoint Modern site using Flow with data from a SharePoint Online list within the same site?
If yes, how?
Thank you
Nov 20 2018 08:31 AM
I don't believe creating Modern Site Pages/News is possible using native actions in Flow/Logic Apps.
One possible (advanced) solution would be to:
Nov 20 2018 09:36 AM
Feb 19 2019 04:53 PM
I want to do this as well.
What ever happened with this post? Did you guys find a solution?
I did look up https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-customizations-c... and the C# code is there.
Not sure if Azure functions, graph, other API things, could be used to create this functionality?
Anyone have an idea or working solution?
Terry
Sep 24 2019 10:24 AM
Nov 06 2019 07:58 AM
Feb 11 2020 11:02 AM
Any luck with this? I'm wondering the same thing. I'd love to build a flow that when an RSS feed updates, it pushes the post to cross-post on our internal Sharepoint News site. Has anyone had luck with this?
Jun 16 2020 08:08 AM
@physics515 Any updates? How did you guys get it working? Or did it in another way? We are currently looking into something simular.
I would like to use the "News link" for it, I was able to copy an existing "News link" but was not able to update it via the API calls
Mar 09 2021 05:10 AM
Bringing this tread up from the dead! I just had a similar requirement on how to create an SP online news item when a company press release is announced on the external group site. The way I have triggered this is that I subscribed to the company news bulletin. The flow triggers when I receive the subscription email. I use flow to parse the information I need out of the email and pass it into variables (Title, Target URL etc. The same thing could be done by using a list instead of an email. The important thing is how to create the news story with the information you have.
You can use the 'Send HTTP Request' connector with the following information
FULL BODY TEXT:
{"BannerImageUrl":"",
"Description":"",
"IsBannerImageUrlExternal":"true",
"OriginalSourceUrl":"",
"ShouldSaveAsDraft":false,
"Title":""
}
I kept the Banner image URL simple and saved an image into a document library. I use the same image for every news item created this way. You may prefer a different way.
The Variables you see can be picked up from your list instead
Good luck!
Mar 09 2021 07:43 AM
@FeelGroovie This is interesting. I'll have to give this a try, I've been busy with other things so I haven't had any time to dedicate to solving this. I'm still subscribing to all of my feeds in an RSS reader and then manually updating them once or twice a week.
I'd like to know a few more specifics on how you are doing this, for instance what is the URL that you are sending the HTTP Request to (relatively of course).
Mar 09 2021 08:01 AM
The Site address is just that. The site which you wish to create the news story in. In my case its:
"https://company.sharepoint.com/sites/NewsTest"
The http request will call the API to that site and create a news article using the link you provide it. You can test it by creating a simple flow with a manual trigger and adding text into the Send HTTP body instead of using variables like so;
{"BannerImageUrl":"",
"Description":"[NEWS DESCRIPTION]",
"IsBannerImageUrlExternal":"true",
"OriginalSourceUrl":"[ENTER URL OF NEWS STORY HERE]",
"ShouldSaveAsDraft":false,
"Title":"[NEWS TITLE]"
}
Mar 09 2021 08:16 AM
Apr 27 2023 12:36 AM
Sorry to bring this up after so many years, but i was wondering what you put in here
"OriginalSourceUrl":"[ENTER URL OF NEWS STORY HERE]",
Could you please clarify what this is?
Thanks