Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Navigate to Configuration > Plugins.
  2. Click [Browse].
  3. Navigate to the folder containing the Headless presentation (headless-integration.zip or the wmaheadlesspresentation zip).
  4. Select the archive and then click [Open].
  5. Click [Apply].
  6. Refresh XperienCentral in your browser.


 

...

Setting the Content Type for XperienCentral Headless Presentations

In XperienceCentral R23 the headless integration bundle is included as an edition bundle that is created as an add-on for XperienceCentral. The addon has a headless presentation plugin that uses a presentation JSP to produce JSON. Normal presentation plugins always use the contenttype header text/html. For XperienCentral Headless, a the contenttype application/json header is required. To provide a configurable contenttype header, the JSP descriptor has been expanded to support a <contentype> node. In this node you can add your own contenttype to be used when a page is rendered. Usually only the page JSP needs this node in its descriptor. If you add your own contenttype to this descriptor, the page will be generated with that contenttype.

...