Hi! We're on Confluence Server version 6.8.1 (7701) and draw.io version 7.4.1. If we go to create a new page from a template, we have two draw.io options:
1. Create a draw.io diagram - Creates root page for draw.io custom templates
2. Create a draw.io diagram - Creates an empty page initialized with Draw.io diagram
We're not doing much with custom templates yet, so we prefer the second option. This automatically creates a new, blank page and loads up the draw.io template selector for us.
If we use the "Create from template" macro, there is one menu option for "Create a draw.io diagram". It creates a new page using option 1, above. We'd like to be able to use this macro to create an in-page shortcut for option 2, instead. Is there a way to do this with the "Create from template" macro, or could another one do what we're looking for? Maybe a custom macro would be needed here?
Thanks!
If I understood your question correctly, you want to create a page template with a diagram in it.
You can create a global page template in Confluence. Once in the template editor, you can add existing draw.io diagrams or draw.io diagram templates to it.
Then select it as you did for options 1 and 2 and you will presented with the page editor loaded with your template.
Keep in mind that all the diagrams in the page template will be copied over to the resulting page. So changing the diagrams in the actual page made from the template will not change the original diagrams.
I hope this answers your question.
Thanks for the reply, Boris, but that's not exactly it. When I go to create a new page from a template, there are two options called "Create a draw.io diagram":
"Creates root page for draw.io custom templates"
and "Creates an empty page initialized with draw.io diagram"
We prefer the second option, which lets the user pick an existing draw.io template for use on a new page. If we use the "Create from template" macro, only one of the draw.io template options appears - this one is the "root page" one, but we want the "empty page" one.
Not a major issue, since there's a very simple workaround - just click ... next to Create at the top of the page and choose the "empty page" version of the draw.io template. Still, one of our managers would prefer to have a button right on the page for that.
My guess is that the built-in "Create from template" macro won't tolerate having two "Create a draw.io diagram" options in the dropdown because they have the same name. Is there any workaround for this? Or perhaps draw.io could change the name on one of the template options?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, ok. Now it makes sense.
We will rename our blueprints and have the "Create from template" macro pick them up both.
I will post in this thread once it's done.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
8.0.10 is out. You should now see both blueprints listed in the dropdown.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.