Folder Definition in Card Templates

This post is also available in: Deutsch

Document folder definition in a card template is a feature that can automatically create new folders during card creation.

Whenever you have a requirement that all documents contained by a card should be stored separately from documents created or contained by other cards, then folder definitions are the way to go in KanBo.

This feature allows you to dynamically create document folders at any hierarchical level of your document structure in your KanBo space. If you create a card template that outlines the content structure of a particular card, you can also have a new document folder created for each new card using that card template.

Theoretical scheme illustrating the work with folders in card templates in KanBo. There are three cards based on a card template with defined folder.

The name of the document folder is created dynamically based on the name of the card you are just creating. You can also configure naming elements, such as prefixessuffixes, or card IDs.

You can have any number of folders and folder definitions in a card or card template. Creating a card from a card template that has many folder definitions can create multiple folders at different hierarchical levels of your space document structure at once.

For a better understanding of this feature, we will use the following example.

Practical scheme illustrating working with card templates. It shows a card template named Job Posting with the defined folder named Job Posting Materials. There are two cards based on this template: Product Manager and Software Developer with corresponding folders created automatically.

Our card template is called Job Posting. It has a document folder called Job Posting Materials. We will create two cards based on this template: Product Manager and Software Developer. Two corresponding folders are created automatically.

Create folder definition in a card template

Check how to set automatic folder definitions for new cards created using templates.

  1. Open the space.
  2. Click More (the three-dot menu button) on the top bar.
  3. Open  Settings.
Group 13 (1) 1
  1. Select  Card templates.
  2. Select a card template that you need for the folder definition. If there is no option to choose, see how to create a new one.
  1. In the selected card template click + Add element.
  2. Select Document folder definition.
Group 13
  1. Select the location of your new folders. You can choose from the spaces folders.
Group 73
  1. Enter the name that will be used for this document folder after it is created during the card creation. Remember that this name is only used within the card. It is not the actual name.
Zrzut ekranu 2022-11-26 133310 1
  1. Select Add.

Done. Now when you create a new card using this template, the new empty folder will appear automatically.

Set the folder definition details

Specify details of the folder definition in a card template.

  1. Open the card template.
  2. Go to the folder definition Settings at the card template and define name details.

Here you can specify how the name of the folder created based on the folder definition will look. The name of the document folder consists of the following elements:

prefix + card name suffix + card ID

Group 45
  1. Specify the name prefix and suffix for the folder definition. You can leave them empty if you do not need them.
  2. Decide whether KanBo should append the ID of the card that is being created to the folder name or not.

Two other settings: Show max items and Allowed document templates are the same as in Document Folder.

Use automatic folder definition

Now, after you create a card using this template, a folder corresponding to that card will be created.

  1. Create a card using the previously edited template.
  1. The folder named Job Posting Materials will immediately appear on the card.
  1. Names of the new folders will contain previously specified suffix.

The new folders are located inside the previously selected Job Postings folder.

The folder named Software Developer January 2023 in the space documents section and Job Posting Materials folder in the card named Software Developer are the same.

folder name 1

Need more? Go to our guide about working with card templates.


Yes, you can configure the name of the document folder in a card template. The document folder name consists of the following elements – prefix + card name + suffix + card ID.

The purpose of the folder definition feature in card templates is to allow users to create new document folders automatically at any hierarchical level of their document structure in their space. This feature saves users time and eliminates the need to create folders manually.

Was this article helpful?

Please, contact us if you have any additional questions.