Skip to content

Use Winmark specific methods from cms-sdk for Winmark apps

Compare
Choose a tag to compare
@ricocynthia ricocynthia released this 30 Aug 14:42
· 11 commits to master since this release

When app is Winmark AND the page schema is cms-page-schema:

  • use ContentManagementClient.WinmarkPages.ListWinmarkPages() to list Winmark CMS pages
  • use ContentManagementClient.WinmarkPages.WinmarkCreateWinmarkPage() to create a new Winmark CMS page

If app is not Winmark OR the page schema is not cms-page-schema:

  • use ContentManagementClient.Documents.ListDocuments() to list documents
  • use ContentManagementClient.Documents.Create() to create a new document