Is there a way to embed a Confluence database into a Confluence Template?
Asked by jordan:

Hi,

Is there a way to embed a Confluence database into a Confluence Template? And then to have one of the preset views set up.

We use the templates for sprint kick-offs, reviews and test packs which reference our Jira stories. I have added all of the Jira stories to a Conflunce database.


Answers:
author: Hariharan Iyer
body: Hi [@jordan](/t5/user/viewprofilepage/user-id/5524133) ,

Yes, both are possible. First you can create a saved view with the preferred layout - change the layout, click on "Save View" and then copy the URL. It should have something like "savedViewId=\<some id\>" at the end.

Then, in the template, click on "/" , type "embed" to find the "embed database" option, and paste the URL copied above.

Hope that helps!

\~ Hariharan

comments: author: jordan
body: Thanks [@Hariharan Iyer](/t5/user/viewprofilepage/user-id/5124435) ,

The "embed database" option is not available for me. See below:![Screenshot_19-6-2024_13518_riivo.atlassian.net.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/330580i23FCFD37EB54963B/image-size/large?v=v2&px=999 "Screenshot_19-6-2024_13518_riivo.atlassian.net.jpeg")

I have also tried using the "Insert Elements /" option at the top, but the "embed database" option is not available there either.

Jordan


author: Hariharan Iyer
body: Hi [@jordan](/t5/user/viewprofilepage/user-id/5524133) ,

Are you using the [legacy editor](https://support.atlassian.com/confluence-cloud/docs/convert-pages-to-the-new-editor/) by any chance? Since embedded databases are smart links, it's possible they're not showing up because of that.

If not, I'm unfortunately not aware of any other reason why that option would not show up. You may want to reach out to your admin or ask another question on that here.

Thanks,

Hariharan


author: jordan
body: Hi [@Hariharan Iyer](/t5/user/viewprofilepage/user-id/5124435),

I am using the new editor and I was still not getting the option to embed a database.  

I have managed to find a workaround. I embedded the database on a Confluence page, changed it to a URL and then copy and pasted that URL into the template which has worked.

Thank you for your help,

Jordan


author: Tom_Carrott_Adaptavist
body: Hey

We're in the early stages with a new product. Introducing Panorama: Your All-in-One Solution for Content Management in Confluence!

I wanted to share our landing page here incase it is of interest - <https://www.kolekti.com/getpanorama>

Please feel free to reach out with any questions!


author: Sarah S Allis
body: I found this in the Atlassian documentation for the databases:
> "Currently, the ability to use the **embed database** or the **database** Macros is not enabled for Confluence Templates."

So it looks like they don't have that as a feature, but hopefully the 'currently' language means it's coming.

Link to the documentation:

<https://support.atlassian.com/confluence-cloud/docs/get-started-with-confluence-databases/#Display-databases-in-other-places>


author: Shawn Doyle - ReleaseTEAM
body: [@jordan](/t5/user/viewprofilepage/user-id/5524133) Are databases enabled in your space?

comments: author: jordan
body: [@Shawn Doyle - ReleaseTEAM](/t5/user/viewprofilepage/user-id/815120)

Yeah, they are enabled. I've been playing around with them for a month or so now. We've had access to them when they were still in beta.


author: Hariharan Iyer
body: [@Shawn Doyle - ReleaseTEAM](/t5/user/viewprofilepage/user-id/815120) it looks like [@jordan](/t5/user/viewprofilepage/user-id/5524133) is able to embed databases in pages but not in templates. Is there a setting to control this behaviour?


Tags: cloud

confluence-cloud

database

template