0

I understand that a body of ASPX page published on site is stored in a dedicated column. What is exact name of this column? Some authors mention "PublishingPageContent", others "WikiField". Does it depend on library type? How to determine exact field in client side code? Thank you.

  • 1
    It depends on the page type being used, if it's a Publishing Page, the field name is "PublishingPageContent". If it's a Wiki page, the field name is "WikiField". Read More – Arsalan Adam Khatri Feb 6 '18 at 8:27
  • @Arsalan Adam Khatri, Thank you very much for your comment. I suppose it answers my questions. – Boris Zinchenko Feb 6 '18 at 8:36
  • I've posted it as an answer than :) – Arsalan Adam Khatri Feb 6 '18 at 9:34
3

It depends on the page type being used, if it's a Publishing Page, the field name is "PublishingPageContent". If it's a Wiki page, the field name is "WikiField".

SharePoint Wiki, Publishing and Web Part Pages

UPDATE

In case its a modern page in SharePoint Online, it will be "CanvasContent1"

Thanks to Gautam Sheth for mentioning this in comments

  • 3
    in case its a modern page in SharePoint Online, it will be CanvasContent1 – Gautam Sheth Feb 6 '18 at 9:40
  • @Gautam Sheth, Your valuable addition for SharePoint Online was especially useful for me to have a complete set of alternatives. Thank you. – Boris Zinchenko Feb 6 '18 at 10:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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