Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a link to a page that will, if the page doesn't exist, create the page?

Aaron Bernstein April 9, 2024

this is a repeat of this unanswered question: https://community.atlassian.com/t5/Confluence-questions/How-to-create-a-link-to-a-page-that-will-create-the-page-if-it/qaq-p/2375182

To reiterate:

- we are linking from outside of confluence, e.g. in some software that we create

- the link points to a page on our confluence cloud instance

- if the page exists, the user should be taken to that page

- if the page does not exist, the user should be taken to the "create page" screen

- this was working in previous versions of confluence, using `createPage.action`

- currently, there does not appear to be a way to do this with a single url.

-- One must either link to a page that exists (and if it does not exist, you will get a "We couldn't find what you're looking for" error)
-- or to the create page link, and if the page already exists, you will not be notified until after you try to press publish

1 answer

0 votes
Josh Shepherd
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 9, 2024

I'm not a Confluence expert, but I don't believe that this is a feature in the core product. It seems like a WIKI feature. Perhaps looking at extensions related to that might get you closer? Good luck! 

Aaron Bernstein April 10, 2024

This was working in previous versions of Confluence, with the `&linkCreation=true` url parameter.

As it seems to have regressed, are there no workarounds?

Aaron Bernstein April 12, 2024

Is Confluence not a Wiki anymore?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events