Naviga Writer
6.3.3
6.3.3
  • Naviga Writer
  • Release notes
    • 6.3.3
    • 6.3.2
    • 6.3.1
    • 6.2.1
    • 6.2.0
    • 6.1.2
    • 6.1.1
    • 6.1.0
    • 6.0.0
    • 5.3.0
  • Introduction
    • Authoring
    • Developing
    • Publishing
    • User stories and reference cases
  • User Guide
    • Writer User Guide
      • The Content Area and Tabs
        • Help menu
        • Language menu
        • Article name
        • Writing teasers
        • Content area
        • Information
        • Search and replace words
        • History Button
        • Save and publish flow
        • Tabs
          • Meta Tab
            • Author
            • Channels
          • Integrations Tab
          • Image and Article search Tab
        • Locked article
      • Text management
      • Writer Keyboard Shortcuts
      • Personal Writer template
      • Channels to control access
      • Images User Guide
      • Common questions when starting using Writer
  • Admin Guide
    • Configuration files
    • Configurations Guide
    • Configuration of Writer templates
    • Publish Flow
      • Default configuration definitions
      • Starting part of the configuration
      • Publish flow config details
      • Configuration of calendarLocale
      • Preconditions for roles in the publish flow
    • Generic properties for Objects
      • Generic properties configuration
    • Image Services
      • Photo uploader
      • Binary Service Light
      • ImEngine
      • Imgix
    • Available Plugins
      • Naviga developed plugins
        • Plugins in earlier versions of Writer
      • Third-party plugins
  • Developer guide
    • Writer plugin development
      • Quickstart
      • Plugin overview
      • Creating an content object plugin
      • Validation and hooks
      • Interacting with external resources
    • Writer Plugin Building Blocks
      • Package
      • Component
      • Node
      • Converter
      • Events
    • Writer plugin style guide
      • CSS Guidelines
      • CSS variables, colors and fonts
      • UI Components
    • Tutorials
      • Popover & text analysis
      • Search & replace
      • Concept interaction
    • Infomaker NewsML
      • Overview
      • Document relations and types
      • Extensions XSD
      • NewsItem
      • ConceptItem
      • PlanningItem
      • Examples
        • NewsItem - Text
        • NewsItem - Picture
        • NewsItem - PDF
        • ConceptItem - Author
        • ConceptItem - Category
        • ConceptItem - Channel
        • ConceptItem - Content Profile
        • ConceptItem - Event
        • ConceptItem - Organisation
        • ConceptItem - Person
        • ConceptItem - Place (point)](point)](point)](point)](point)](point)](point)](point)](point)](point)]
        • ConceptItem - Place (polygon)](polygon)](polygon)](polygon)](polygon)](polygon)](polygon)](polygon)]
        • ConceptItem - Section
        • ConceptItem - Story
        • ConceptItem - Topic
        • PlanningItem
    • Media Enrichment
      • Images
  • API Reference
    • Writer Api
      • Api
      • Article
      • Browser
      • Concept
      • ConceptService
      • Document
      • Events
      • NewsItem
      • Router
      • Ui
      • Upload
      • User
      • settings
    • UI Components
      • UIAvatar
      • UIButton
      • UIByline
      • UICheckbox
      • UIChip
      • UIDatePicker
      • UIDatetimeFieldEditor
      • UIDropdown
      • UIFieldEditor
      • UIIconButton
      • UIInlineImage
      • UIPagination
      • UISelect
      • UITimePicker
      • UIToggle
      • UITooltip
      • UIInputText
      • UITextarea
Powered by GitBook
On this page
  • General json structure
  • First sections in the config file
  • Plugin section in the config file
  • Importance of Plugin order
  • Configuration details
  • Version dependencies

Was this helpful?

  1. Admin Guide

Configurations Guide

PreviousConfiguration filesNextConfiguration of Writer templates

Last updated 5 years ago

Was this helpful?

General json structure

The Writer and plugins config file is a .json file, so when reading the file an add-on for json-formatting is a good help.

A object in json consists of {"key":"value"} pair. The objects in the config file are separated by curly brackets, the {-sign.

The object can consist of the {"key":"value"} pair in different levels and also of a list of objects. The list are written with the straight brackets[xx]

``

First sections in the config file

{
"newsItemTemplateId": "30eae1c0-c640-4053-b114-05c64e28bbe7",
"language": "en_EN",
"labelLanguage": "en",
"conceptServiceConfig": {
//...   
//...
//...
//...

"propertyMap": {
///
}        
},

“newsitemTemplateId”

From the top of the writer-config.json file you find “newsitemTemplateId”, which stores the article template that is stored in Open Content. There is only one template. The template is presented with a UUID, and can be viewed in Open Content, if you search via the UUID.

Example:

"language"

The "language" and "labellanguage" sets the Writer language for the plugins, not the language to be used when you write the content.

"conceptServiceConfig"

"conceptServiceConfig" is the service for the Concept plugin that sets the configuration for Open Content. The searches in Open Content are run through the BA-proxy and the "PropertyMap"-key sets the Writer property to map Open Contents properties.

Plugin section in the config file

The plugin section contain a list of all the plugins that are included in the Writer setup. To be able to find if a certain plugin/function is included in the configuration, a search in the browser is recommended.

The Link plugin as an example of a simple plugin configuration:

{
    "id": "se.infomaker.link",
    "name": "link",
    "url": "https://plugins.writer.infomaker.io/releases/7.8.5/im-link.js",
    "style": "https://plugins.writer.infomaker.io/releases/7.8.5/im-link.css",
    "enabled": true,
    "mandatory": false
},

Explanation of the keys in the example plugin above.

Id: only uniqe names (if there is duplicates, only the first one will be read, see example below)

Name: name of the plugin

Url: check the plugin version (there can be different versions dev (higher), stage, prod)

Style: the ux for the plugin (please, observe it also follows the version)

Enabled: enable the plugin or not (true or false)

Mandatory: if true, it is a mandatory plugin

Importance of Plugin order

The plugins are listed after each other, in an unspecified order. It is important to notice that the config is read from top to bottom. As they are read from top to bottom the plugin that is read first will be the one that execute a task. If two plugins can do the same operation, the first will do the task. An example is configuration of the Iframely plugin and the social embed plugin, where Iframely then will manage the instagram etc, video etc, instead of the social media embed plugin if that is placed below.

{
    "id": "se.infomaker.ximconcept.story",
    "name": "ximconcept",
    "url": "https://plugins.writer.infomaker.io/releases/7.8.5/im-ximconcept.js?concept=story",
    "style": "https://plugins.writer.infomaker.io/releases/7.8.5/im-ximconcept.css?concept=story",
    "enabled": true,
    "mandatory": false,
    "data": {
        "label": "Story",
        "name": "x-im/story",
        "enableHierarchy": true,
        "editable": true,
        "placeholderText": "Search stories"
    }
},
{
    "id": "se.infomaker.ximconcept.contentprofile",
    "name": "ximconcept",
    "url": "https://plugins.writer.infomaker.io/releases/7.8.5/im-ximconcept.js?concept=contentprofile",
    "style": "https://plugins.writer.infomaker.io/releases/7.8.5/im-ximconcept.css?concept=contentprofile",
    "enabled": true,
    "mandatory": false,
    "data": {
        "label": "Functiontags",
        "name": "x-im/content-profile",
        "enableHierarchy": true,
        "editable": true,
        "placeholderText": "Search functiontags"
        }
},

This is a general configuration guide and each configuration must be tested in a test environment before it is implemented in any production environment.

Configuration details

Version dependencies

The Writer version has dependencies to the plugin versions (or vice versa). This dependency is stated in the so called manifest-part of the plugin documentation of each plugin. This must be checked carefully.

When you want learn more about config, the is a start. The functions are described for a normal set up of Writer. In most cases the configuration documentation is found in the documentation of each plugin and the Writer User Guide provides you with links to each plugin documentation.

user guide