Publication Planner
5.0.1.i
5.0.1.i
  • About
  • Changelog
  • User
    • How to use Publication Planner
      • Add articles to the planner
      • Plan and publish
      • Open linked assignment
  • Admin
    • Settings
      • Config guide
      • Full config example
        • Old config example (kept for reference)
      • Week and Day view
      • Writer 7 and later
      • Article Size
    • Requirements
    • Migration
      • 4 ➡ 5
Powered by GitBook
On this page

Was this helpful?

  1. Admin
  2. Settings

Week and Day view

how to configure different workspaces for week and day view

PreviousOld config example (kept for reference)NextWriter 7 and later

Last updated 3 years ago

Was this helpful?

If you have a full configuration that renders a Day time slot view, you can add another workspace to render Weeks calendar view. To do that you need to add some extra configuration in the application settings of the workspace.

Code example of Week time slots:

{
        "plannerInterval": "week",
        "slots": [
                {
                        "id": 1,
                        "name": " ",
                        "description": "",
                        "offset": {
                                "startDays": 0,
                                "endDays": 0,
                                "time": {
                                        "start": {
                                                "hour": 0,
                                                "minute": 0,
                                                "second": 0
                                        },
                                        "end": {
                                                "hour": 23,
                                                "minute": 59,
                                                "second": 59
                                        }
                                }
                        }
                },
                {
                        "id": 2,
                        "name": "",
                        "description": "",
                        "offset": {
                                "startDays": 1,
                                "endDays": 1,
                                "time": {
                                        "start": {
                                                "hour": 0,
                                                "minute": 0,
                                                "second": 0
                                        },
                                        "end": {
                                                "hour": 23,
                                                "minute": 59,
                                                "second": 59
                                        }
                                }
                        }
                },
                {
                        "id": 3,
                        "name": "",
                        "description": "",
                        "offset": {
                                "startDays": 2,
                                "endDays": 2,
                                "time": {
                                        "start": {
                                                "hour": 0,
                                                "minute": 0,
                                                "second": 0
                                        },
                                        "end": {
                                                "hour": 23,
                                                "minute": 59,
                                                "second": 59
                                        }
                                }
                        }
                },
                {
                        "id": 4,
                        "name": "",
                        "description": "",
                        "offset": {
                                "startDays": 3,
                                "endDays": 3,
                                "time": {
                                        "start": {
                                                "hour": 0,
                                                "minute": 0,
                                                "second": 0
                                        },
                                        "end": {
                                                "hour": 23,
                                                "minute": 59,
                                                "second": 59
                                        }
                                }
                        }
                },
                {
                        "id": 5,
                        "name": "",
                        "description": "",
                        "offset": {
                                "startDays": 4,
                                "endDays": 4,
                                "time": {
                                        "start": {
                                                "hour": 0,
                                                "minute": 0,
                                                "second": 0
                                        },
                                        "end": {
                                                "hour": 23,
                                                "minute": 59,
                                                "second": 59
                                        }
                                }
                        }
                },
                {
                        "id": 6,
                        "name": "",
                        "description": "",
                        "offset": {
                                "startDays": 5,
                                "endDays": 5,
                                "time": {
                                        "start": {
                                                "hour": 0,
                                                "minute": 0,
                                                "second": 0
                                        },
                                        "end": {
                                                "hour": 23,
                                                "minute": 59,
                                                "second": 59
                                        }
                                }
                        }
                },
                {
                        "id": 7,
                        "name": "",
                        "description": "",
                        "offset": {
                                "startDays": 6,
                                "endDays": 6,
                                "time": {
                                        "start": {
                                                "hour": 0,
                                                "minute": 0,
                                                "second": 0
                                        },
                                        "end": {
                                                "hour": 23,
                                                "minute": 59,
                                                "second": 59
                                        }
                                }
                        }
                }
        ]
}

This will result in Publication Planner in two different workspaces.