I have created one article in confluence, and by mistake I have added special character "|" in title.
when I open that article page it does not open that page it gives error
"
If the problem continues, contact the site owner.
HTTP ERROR 400"
Now I am unable to delete or edit the article. I believe special character "|" could be the reason for this.
Help me delete/edit that article.
There's a clunky fix to this. Let's say your Confluence is running on https://myconf/
If you go to https://myconf/pages/resumedraft.action?draftId=46727175 then you will be able to edit the page and remove the special character (which is likely to be the problem, as you have thought). Note that the number is a random one from my Confluence and it is the ID of the page you want to edit.
You often won't know the page ID. To get it, create a new page in the current space, and use the re-order pages function in space admin to move the broken page beneath it.
Now go to "user macros" and create one called something like "child ids", with the output set to none, and the following body code:
#foreach ($child in $content.children)
$child.getIdAsString()
#end
For later versions of Confluence, you may need
#foreach ($child in $content.children)
<p>${child.title}: ${child.id}</p>
#end
Add this to the top level new page, and save the page, it will now give you the id of the page to use in the edit url.
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.
Please let me know, how to get all page ids with page names in that space, below i used to get page ids but only getting for child pages of that parent page.
## @noparams
#foreach ($child in $content.children)
<p>${child.title}: ${child.id}</p>
#end
Thanks,
Fayaz
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.