Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

URL or hyperlink to page creation via template

Hi - I'd like to use a hyperlink in Excel to automatically create a page in Confluence using a template. Currently I have a button on a Confluence page that uses a template to create a new page. Clicking this button goes to a URL that guides the creation of a page in a certain space using the template ID. e.g. https://[confluence]/?templateId=65175583&spaceKey=[spaceID]&newSpaceKey=[spaceID]&title=GPYYNNNN

 

**I have replaced the actual address and space keys with [dummy IDs]**.

 

I copy this link and paste it into Excel but when I click on it, instead of opening a new page using the indicated template, it opens an 'updates' page on confluence (#all-updates). Does the URL only work as part of a clicked button on a page?

 

Cheers,

Matt

 

2 answers

1 accepted

3 votes
Answer accepted
Jason B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 15, 2018

Hi Matthew,

The button has some extra code in there to help it run, but it looks like it ultimately redirects to a different URL:

https://[confluence]/pages/createpage-entervariables.action?templateId=65175583&spaceKey=[spaceID]&title=GPYYNNNN&newSpaceKey=[spaceKey]

I tested this, and it seems to work for me. Give it a try and let us know how it goes!

Kind Regards,

Jason

Hi Jason - works a treat, thanks. I can also use values in the Excel file to populate the title; even cleverer!

 

Cheers,

Matt

Like Casey Meijer likes this

Note that you can also use the GET parameter fromPageId=XXXXXX to create the page under a parent page with id XXXXXX. 

Like # people like this

Looks good. Is there an documentation which parameter I can add to the URL... add a label, add a watcher and so on?!?!

Like Casey Meijer likes this

Unfortunately I haven't seen any such documentation.  I just experimented with manually adding pages and copied parameters from there (it can be a bit annoying though as it sometimes redirects quite quickly).

Like Marcel Kleinlütke likes this

Maybe @Jason B can direct us to some documentation?

Like Marcel Kleinlütke likes this
Kirstin Seidel-Gebert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Dec 07, 2022

This helped a lot. Thank you all!

This does not work anymore. Any alternatives ?

Kirstin Seidel-Gebert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jul 10, 2023

Which Confluence version are you on, Nikhil?

I just noticed that the question has the `confluence-server` tag. I'm on Confluence cloud though.

License Information for Confluence Cloud

Confluence 1000.0.0-7bc17ff2a92f

Kirstin Seidel-Gebert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jul 11, 2023

This article is about Confluence Server. It seems that this does not work on Cloud - at least not the same way.

@Sam Lucas this is another article that highlights the issue. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events