Presentation Preview
  • About Presentation Preview
  • Changelog
  • User guide
    • Preview from Writer
    • Preview as mobile or tablet
    • Preview on multiple sites
  • Admin guide
    • Configuration
    • Mappings
    • Permissions
  • Developer guide
    • Getting started
    • Preview API
Powered by GitBook
On this page
  • Preview urls
  • Content Provider Key
  • Image Content Provider Key
  • Widths for preview window
  • OC Properties for related content
  • Open in modal
  1. Admin guide

Configuration

PreviousPreview on multiple sitesNextMappings

Last updated 3 years ago

Dashboard 5.2.0 is required since that is when standalone is available in dashboard.

Writer 8.0.0 is required since that is the first version to only support being loaded in the dashboard.

Preview urls

The urls to the web sites you want to preview your articles in. The label is what is displayed in the select element. The url is to the of your site.

[
    {
        "label": "Lavender Times",
        "url": "https://lavender.web.naviga.cloud/preview-api/v1/article"
    }
]

Content Provider Key

The content agent plugin can be configured with several Open Content instances. You pass in the key for which open content to use from the content agent plugin.

Image Content Provider Key

The preview engine needs to get the images from your editorial IMEngine since we could preview images that has not yet been made available in the public IMEngine. Pass in the provider key you want to use.

ICP version 1.3.0 is required since this is when method to get baseUrl of IMEngine is made available.

Widths for preview window

If you use Naviga Web standard breakpoints for tablet and mobile you will get these two properties correctly mapped with the default config. If not you can override them here. The value must be a number in pixels.

  • Tablet preview width

  • Mobile preview width

OC Properties for related content

If you use the standard OC config as of version 0.12.0 you will get these two properties correctly mapped with the default config. If not you can override them here. If you don't want to fetch related content you can remove the value and the properties will not be fetched.

  • Related articles property name

  • Related concepts property name

Open in modal

A switch on this setting will change the default behaviour of opening the presentation preview.

preview api