Hi
when I retrive the URL of a Confluence page using the JAVA API it looks like this:
http://localhost:8090/display/LIN/parent+issue
In order to create remote application links which survive renaming the page I need a view action URL:
http://localhost:8090/pages/viewpage.action?pageId=524298
How can I get this URL using the API.
Community moderators have prevented the ability to post new answers.
Hi @flo,
Did you get any solution? I am looking for the same.
Thanks in advance.
I can't see your localhost :p
anyway,if I understood your question properly, this could be the answer
Page page = pageManager.getPage(Long.parseLong(pageId)); String pageUrl = page.getUrlPath();
To use it in .vm, make pageUrl instance variable and call $action.pageUrl
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.