Forum Discussion

CloudJunkie's avatar
CloudJunkie
Copper Contributor
Mar 24, 2021

Understanding SharePoint Online PromotedState

Hi all,

 

Long story short we had a 3rd party develop our News Approval Flows.  They are working as designed (I think) but I want to redesign them to allow AAD group based enumeration.  Issue I am running into is that before the flow branches off to either publish the News Post or send out an approval there is an action that checks to see if the page's promoted state attribute is anything other than 1.  

 

I would like the flow to publish or start an approval based on whether or not the person is a designer or not, but I am having a hard time understanding what the promoted state actually is and it doesnt seem to be consistant.  

 

Please take note that all flows are provisioned from the same exact template and are setup the same way with the exception of the trigger (URL and list Id)

 

Example: Page A

Designer of this page creates a news post, submits for approval and the flow sees the page as not in promoted state 1, so it publishes the page.  This is correct to my knowledge.  Flow should always publish the page if a Designer submits.

 

Example: Page B

Designer of this page creates a news post, submits for approval and the flow sees this as promoted state = 1 so it starts an approval.  This is not correct, person is a designer so it should have published the page and not requested an approval.

 

What I would like to know is what dictates the promoted state of a page.  Both designers clicked New>News Post on their respective pages.  However, the promoted state was not consistant in each of the outputs from the flows.

 

Can someone help me understand what the promoted state is and what dictates its value?

 

 

Any help would be grealty appreciated!!

CloudJunkie

  • CloudJunkieThe 'Promoted State' shows the current News publishing status of a page in a SharePoint site.

     

    Here is a table of the Promoted States:

    Promoted StatePage TypePublished Status
    0Site PagePublished/Unpublished
    1News Page/LinkUnpublished
    2News Page/LinkPublished

     

    Hope that this helps anyone else that's ended up here, as they may not be aware.

     

    You can find more information about this on Greg's site here, and I've simplified some of that change process (briefly!) here.

Resources