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

How can I search for a Page in Confluence with the page ID

I want to publish a version of my confluence site into the public version.

Somehow I receive an error that one page with the ID 192906679 cannot be published due to different data which is on this page. 

Looking up for this page, I cannot found it in my confluence site.

So, how can I search for a confluence page with an ID?

2 answers

I think the easiest way would be to open a page you are allowed to view and go to the "Advanced details > Page Information" menu option.

You now have the URL you require to insert a pageId and can replace the ID with the one you want to look up.

Should look something like this:

https://CONFLUENCE_BASEURL/wiki/pages/viewinfo.action?pageId=

Even when you don't have permission to view this page, you will probably be able to see the space the page is in (unless you don't have that permission either) and you can take it from there.

 

0 votes
Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 15, 2022

Hi @Jakob Glenz 

You can use the REST API to find the page.

 

Just add this url to your browser after updating the variable base on your env.

 

CONFLUENCE_BASEURL/rest/api/content/PAGE_ID

 

It will return a json and you will be able to find the title of the page and the space the page is in.

 

Regards

Thanks. I noticed it is impossible to use this method when the page is restricted.

I just tried that method and got

{
"statusCode": 403,
"data": {
"authorized": false,
"valid": false,
"errors": [
{
"message": {
"key": "confluence.user.view.permissions.on.entity",
"translation": "User **id** does not have view permissions on entity page: **pageid** v.2",
"args": []
}
}
],
"successful": false
},
"message": "com.atlassian.confluence.api.service.exceptions.PermissionException: User **id** does not have view permissions on entity page: **pageid** v.2"
}

So this does not help me even though I am site and global admin, I am still not even permitted to know in which space the page is, or what the title is.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events