Publication Planner
5.1.1
5.1.1
  • Welcome to Publication Planner
  • Changelog
  • User
    • Overview
      • Top menu
        • The date
        • Filtering
      • Sidebar
      • Calendar view
    • How to use Publication Planner
      • Add articles to the planner
      • Article functions in Publication Planner
      • Open linked assignment
  • Admin
    • Settings
      • Configuration
        • Article Size
        • Config guide
        • Full config example
          • Old config example (kept for reference)
        • Sidebar item
        • Week and Day view
        • Writer 7 and later
      • Permissions
      • Mappings
      • Update
    • Requirements
    • Migration
      • 4 ➡ 5
Powered by GitBook
On this page

Was this helpful?

  1. Admin
  2. Settings
  3. Configuration

Week and Day view

how to configure different workspaces for week and day view

PreviousSidebar itemNextWriter 7 and later

Last updated 2 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 can result in Publication Planner with two different sidebar item if two items are created under .

Sidebar item config