Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix resetpromotedstate jsom #383

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

whitegenie
Copy link

Q A
Bug fix? yes
New feature? no
New sample? no
Related issues? fixes #379

What's in this Pull Request?

The "PromotedState" and "FirstPublishedDate" fields in the language pages created are no more related to those of the original page.

Promoted State will be set to 0 and First Published Date to null when creating a new language page.

Promoted State and First Published Date will be set to their original values when a language page is recreated.

The values are set via JSOM. Before a page is recreated, the values are read from the page and set after recreating using JSOM.

@msftclas
Copy link

msftclas commented Mar 23, 2020

CLA assistant check
All CLA requirements met.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MultilingualPages - promoted state and firstpublishingdate
2 participants