I'm trying to programmatically retrieve the page metadata (keywords, page descriptions, etc.) from a document for example...
var pages = DocumentHelper.GetDocuments("CMS.MenuItem"); foreach (var page in pages) { Console.WriteLine("The keywords for {0} are {1}", page.DocumentName, ????); Console.WriteLine("The page description for {0} is {1}", page.DocumentName, ????); }
Could someone fill in the blanks for me?
Hi,
Keywords and description are stored in [DocumentPageKeyWords] and [DocumentPageDescription].
Greets,
David
See answer here http://devnet.kentico.com/questions/get-page-metadata-from-api-1
Please, sign in to be able to submit a new answer.