# Canvas template

**URL:** <https://connect.superhuman.com/t/canvas-template/31263>\
**Category:** Ask the Community\
**Created:** [June 4, 2022, 9:22pm UTC](https://connect.superhuman.com/t/canvas-template/31263 "2022-06-04T21:22:37Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Piet\_Strydom](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/piet_strydom/32/19269_2.png) [@Piet\_Strydom](https://connect.superhuman.com/u/Piet_Strydom)\
**Post date:** [June 4, 2022, 9:22pm UTC](https://connect.superhuman.com/t/canvas-template/31263/1 "2022-06-04T21:22:37Z")

</div>

Hi All,

I am playing around with Canvas columns at the moment, and have been able to do some really nice things with that.

I am trying to influence the template that a canvas column uses when it is initialised.

For example I have a project table, with different project types. If the new row in the project table is for a research project, it should pull in the page “Research Project” and if the new project is a software project, it should bring in the “Software Project” template from the relevant page.

Any idea how to do?

I could create two tables, but then I need to create a new table and related settings every time that I create a new project. A single project table feels more elegant. Or polymorphic for the nerds… 😉

Regards  
Rambling Pete

---

<div class="post-metadata">

**Author:** ![anon66556985](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@anon66556985](https://connect.superhuman.com/u/anon66556985)\
**Post date:** [June 5, 2022, 2:03pm UTC](https://connect.superhuman.com/t/canvas-template/31263/2 "2022-06-05T14:03:58Z")

</div>

Yes, if someone can please let us know. I am extremely interested in adding a row with a templated canvas.

---

<div class="post-metadata">

**Author:** ![Ed\_Wei](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/ed_wei/32/27312_2.png) [@Ed\_Wei](https://connect.superhuman.com/u/Ed_Wei)\
**Post date:** [June 5, 2022, 2:19pm UTC](https://connect.superhuman.com/t/canvas-template/31263/3 "2022-06-05T14:19:00Z")

</div>

This was my hack to enable templated canvases. I can do it, but it is not pretty. I eventually opted to avoid canvases and instead use lookups which can be expanded into full tables or cards in the Layout.

> [@How do I maintain a template for a "Value for New Row" canvas column that references items in the parent table?](https://connect.superhuman.com/t/how-do-i-maintain-a-template-for-a-value-for-new-row-canvas-column-that-references-items-in-the-parent-table/31069):
>
> How do I maintain a template for a “Value for New Row” canvas column that references items in the parent table? I demonstrate how I can accomplish this in the table below, but this is hacky: I have a broken formula in the page “Template For New Row Embed”.

---

<div class="post-metadata">

**Author:** ![Piet\_Strydom](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/piet_strydom/32/19269_2.png) [@Piet\_Strydom](https://connect.superhuman.com/u/Piet_Strydom)\
**Post date:** [June 5, 2022, 2:26pm UTC](https://connect.superhuman.com/t/canvas-template/31263/4 "2022-06-05T14:26:51Z")

</div>

Hi Jacob,

If you want to use the same template for all rows it is straightforward. Just go to Canvas Options, and then select the page you want to use from the dropdown.

 ![image](https://global.discourse-cdn.com/coda1/original/3X/9/d/9d768ac768e2ee06a2388abfd40fd15fe27d47da.png)

Regards  
Piet

---

<div class="post-metadata">

**Author:** ![anon66556985](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@anon66556985](https://connect.superhuman.com/u/anon66556985)\
**Post date:** [June 5, 2022, 2:31pm UTC](https://connect.superhuman.com/t/canvas-template/31263/5 "2022-06-05T14:31:40Z")

</div>

This is ok for a single type of canvas/template. Such as, your example. However, with a Master db/table approach this does not work.

!Light bulb! May be able to add a formula to set this value based on the selected properties.

---

<div class="post-metadata">

**Author:** ![Piet\_Strydom](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/piet_strydom/32/19269_2.png) [@Piet\_Strydom](https://connect.superhuman.com/u/Piet_Strydom)\
**Post date:** [June 5, 2022, 2:32pm UTC](https://connect.superhuman.com/t/canvas-template/31263/6 "2022-06-05T14:32:36Z")

</div>

Hi Ed,

Thanks.

But I do not want to create a formula that refers to the row of which the canvas cell is a member.

I want to use different template pages for different rows. So, if I enter a row for a project on software, I want the software project template in the canvas column. If I enter a row for a new research project, I want to the research project template in the canvas column.

Regards  
Piet

---

<div class="post-metadata">

**Author:** ![anon66556985](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@anon66556985](https://connect.superhuman.com/u/anon66556985)\
**Post date:** [June 5, 2022, 10:10pm UTC](https://connect.superhuman.com/t/canvas-template/31263/7 "2022-06-05T22:10:06Z")

</div>

I have tried to use a switchif formula to set the template based on note type but not having any luck. I have a button to add a new note by type. However, the template is empty. ☹

```auto
SwitchIf(
  thisRow.Type = Meeting,
  [Meeting Notes - Template],
  thisRow.Type = thisRow.Fleeting,
  [Fleeting Notes - Template]
)

```

---

<div class="post-metadata">

**Author:** ![Piet\_Strydom](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/piet_strydom/32/19269_2.png) [@Piet\_Strydom](https://connect.superhuman.com/u/Piet_Strydom)\
**Post date:** [June 5, 2022, 11:12pm UTC](https://connect.superhuman.com/t/canvas-template/31263/8 "2022-06-05T23:12:19Z")

</div>

Hi Jacob,

Thanks for helping to think.

The only formula I could get that looks like it would help, is the DuplicatePage() formula. Unfortunately thought, the destination for the new page has to be another page, it cannot be a canvas column.

I have worked around that by having a button on the row, that will create a template page in a parent page, and saving the link in the row. I would have liked the page to be created in a canvas column. but this works as well. (Actually, this is what I did before Canvas columns were made available.)

---

<div class="post-metadata">

**Author:** ![Mike\_Ray](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/mike_ray/32/10638_2.png) [@Mike\_Ray](https://connect.superhuman.com/u/Mike_Ray)\
**Post date:** [August 31, 2022, 4:08pm UTC](https://connect.superhuman.com/t/canvas-template/31263/9 "2022-08-31T16:08:13Z")

</div>

@Piet_Strydom @anon66556985 @Ed_Wei ,

I was having the same issues discussed in the thread but I figured out how to create dynamic canvas columns based on a condition.

If you’re still interested, here’s the link to the thread about conditional canvas column templates.

> [@Conditional Canvas Column - Finally Figured It Out! tada](https://connect.superhuman.com/t/conditional-canvas-column-finally-figured-it-out/33463):
>
> After much frustration angry , many Coda community and Google searches mag_right, and lots of yelling talking to my monitor “Why the XXXX doesn’t that work!?” face_with_symbols_over_mouth bangbang interrobang , I finally figured out how to make canvas columns dynamic based on some condition(s). During my research, I saw other people and threads asking the same question, so I thought I’d share this with the community. Why Use Canvas Columns? Here’s one of many use cases. Meeting T…

---

<div class="post-metadata">

**Author:** ![system](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/system/32/24484_2.png) [@system](https://connect.superhuman.com/u/system)\
**Post date:** [November 29, 2022, 4:08pm UTC](https://connect.superhuman.com/t/canvas-template/31263/10 "2022-11-29T16:08:43Z")

</div>

Closed on November 29, 2022, 4:08pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
