cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jamiehopper1
Frequent Visitor

Publishing file to News

We run our company intranet through a SharePoint comm site, I'm currently building a Flow that allows our News publisher to set a publishing time and date, so they dont have to manually go and do it every time. I'm struggling to find a way to publish the news article, any ideas on my Flow so far? The only bit im struggling with is the Move File bit, I'm trying to point it to the News page but when I try find the news page in site pages it doesnt come up.

 

Alternatively, is there a way to link a news source to a document library, so whenever a document is put into the document library it puts the most recent document onto the news stream?

Capture.PNG

1 REPLY 1
MichelleWongNL
Advocate I
Advocate I

hi Jamiehopper1, 

 

You can use the (hidden) metadata field, Promoted State to check the publishing status and file type of the news/post type. 

Choose for trigger > SharePoint, when a file is created or modified (properties only)

then condition > PromotedState is equals to .... 

 

Where as: 

 

0 means Site Page

1 is News Post in Draft

2 = News Post Published

 

See for reference below screen:

screen.PNG

 

Hope this will helps you go further 😉 

In my case, if news is published, then send email to certain sharepoint group. 

 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,222)