Start a conversation

Create an Occasion Board

Added in 23.10
An Occasion/Event Board is where members of your community can create an event, respond to the event, and add a comment to the event. You can create one using the GraphQL API.

Only administrators can create occasion boards.

Requirements

For creating the occasion Board, you must have the Create boards permission set to Grant by the Administrator.

alt_text

Example

As an administrator, you can use a mutation to create a new occasion Board. The createBoard mutation is all we need.

Inside the mutation, you'll set the board's id, define its conversationStyle as OCCASION to let Aurora know you're creating an Occasion Board, and give the board a title and optional description.

mutation {
  createBoard(createInput: {
    id: "board:Events1",
    conversationStyle: OCCASION,
    title: "Events1",
    description: "A place where all the events such as zoom webinar, Live event, and Concert are added."
  }) {
    errors { __typename }
    result {
      id
      title
      description
    }
  }
}

We also requested the new board's information to be returned as a result. You can see an example result below:

{
  "data": {
    "createBoard": {
      "errors": null,
      "result": {
        "id": "board:Events1",
        "title": "Events1",
        "description": "A place where all the events such as zoom webinar, Live event, and Concert are added."
      }
    }
  }
}
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. ATLAS

  2. Posted
  3. Updated

Comments