Created
April 12, 2018 11:27
-
-
Save AsishP/d3696a13fdec9d502fb4941ba9c74db9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ClientSidePage IntranetPage = ClientSidePage.Load(cc, HttpUtility.UrlDecode(PageName)); | |
if (newsStatus.ToString().ToLower().Equals("published")) | |
{ | |
IntranetPage.PromoteAsNewsArticle(); | |
IntranetPage.Save(); | |
IntranetPage.Publish(); | |
} | |
log.Info("Site Page Updated"); | |
pageUpdated = true; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment