I am adding a file with the REST-API:


How can I additionally add the PublishingPageLayout-property (and other properties) to the created page/file via REST-API?

1 Answer 1


Never tried with the REST API, however via CSOM you would need to set the "PublishingPageLayout" to the Site Collection relative url of the actual ASPX representing the layout using something like "/sites/mySiteCollection/_catalogs/masterpage/ArticleLeft.aspx, ArticleLeft" and at the same time the ContentTypeID property using the actual Content type Identifier.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.