Database templates

Tietokantamallien käyttäminen
Tässä artikkelissa

Most databases contain the same types of pages created over and over again. Think of weekly meeting notes, bug reports, or design specs. To make this easy, database templates let you define and replicate certain page structures with one click 🖨

Jump to FAQs

To create a template inside a database, open the dropdown next to + or New at the top of your database. Then, select New template.

You can also create a template from a new page. If you have no database templates already, you'll be prompted to create one in the body of the new page by selecting New template.

Huomio: Pidä hiiren osoitinta tekstiin sidotun tietokannan päällä nähdäksesi Uusi-painikkeen. Voit myös napsauttaa ••• ja valita Mallit tarkastellaksesi olemassa olevia malleja tai luodaksesi uuden.

When editing a new or existing template, you'll see a bar across the top indicating which database it's located in.

Whatever you title this page will be the name of the template you use going forward. For instance, you might title this one Bug.

On this page, you can define properties for your template. For example, you can create a template for bug reports that automatically puts P1 in the Priority property and assigns the user Fig to the Product Manager property. You can also add content in the page itself.

Templates can contain any type of content, including images, embeds, and sub-pages. Whatever you choose will show up identically on each page created with the template.

Huomio: Jos lisäät malliin relaatio-ominaisuuden, älä täytä sitä, ellet halua kaikkien samalla mallilla luotujen sivujen liittyvän kyseisiin olemassa oleviin sivuihin.

  1. Create a new page in your database and choose any of the templates from the gray menu it contains.

  2. You can also click the dropdown menu on the right of the blue New button at the top right of your database. Choose any template you've created to generate that type of page.

  3. Give the page a unique title.

  4. Once you've created a new page with a template, you can make any changes you want to the content that appeared.

Repeating database templates automatically create a copy of a template in your database however often you would like.

hc: toistuvat tietokantamallit

Create a repeating database template

To create a repeating database template:

  1. Open the dropdown next to New or + (depending on your screen size) at the top of your database.

  2. Next to the database template you want to repeat, select •••.

  3. Open the dropdown next to Repeat.

  4. You can make your template repeat daily, weekly, monthly, or yearly. Indicate how many weeks, months, or years you want in between repeats, as well as your start date and the time you want your database template to be repeated.

Nesting database templates

You may want to create a database inside of a recurring database template, with that database having templates of its own. While this is possible, be mindful of the limitations:

  • You can’t nest a template within a template that recurs daily. You can only nest a template within a template that recurs weekly, monthly, or yearly.

  • You can only have three levels of nesting per database template.

  1. Open the dropdown next to + or New at the top of your database.

  2. Click ••• next to the template you want to edit and click Edit. Make your changes in the editing view that pops up.

  3. The same ••• menu also lets you duplicate or delete a template.


Usein kysytyt kysymykset

Ovatko yhteen tietokantaan luomani mallit käytettävissä työtilani muissa tietokannoissa?

Ei. Ne ovat käytettävissä vain siinä tietokannassa, jossa loit ne. Voit määrittää uusia malleja jokaisessa luomassasi tietokannassa.

Kuinka relaatio-ominaisuudet toimivat mallien kanssa?

Vaikka voit luoda relaatio-ominaisuuksia tietokantamalleissa, emme suosittele niiden määrittämistä, ellet halua jokaisen tietyntyyppisen sivun liittyvän samoihin sivuihin.

Onko omien tietokantamallien määrää rajoitettu?

Ei suinkaan! Voit tehdä niin monta kuin haluat!

Still have more questions? Message support

Anna palautetta

Oliko tästä resurssista apua?