Try our conversational search powered by Generative AI!

XmlPageProvider  

Product version:

EPiServer CMS 6 / 6 R2

Document last saved:

This document describes how to use the XmlPageProvider that can be downloaded for EPiServer CMS 6 and 6 R2. Any of these versions is a prerequisite for this installation. Install the XmlPageProvider as follows:

  1. Download and run the installation package for XmlPageProvider (ZIP file).
  2. Create a new EPiServer CMS project in Visual Studio. 
  3. Add existing project to the solution.
     

     
  4. Browse to the XmlPageProvider directory and click Open.
  5. Add a reference to your EPiServer CMS project.
     

     
  6. Create a new xml file and add <pages> root node to it. It will serve as your external repository for the pages.
     
  7. Configure your page provider in web.config as described in the Page Providers tech note with the exception being that the type should be "CodeSamples.XmlPageProvider, XmlPageProvider" and the section needs a file path attribute pointing to your externalPages.xml file. Example:

<episerver xmlns="http://EPiServer.Configuration.EPiServerSection">
...
   <pageProvider>
      <providers>
         <add name="XmlPageProvider"
              type="CodeSamples.XmlPageProvider, XmlPageProvider"
              entryPoint="52"
              capabilities="Create,Edit,Delete,Search" filePath="<full path to site>\externalPages.xml"/>
      </providers> 
   </pageProvider>
...   
</episerver>

 

You should now be able to use your new external EPiServer CMS page provider.