Hi
I have a blueprint plugin and I need to take the url of the page before it is created.
Is there a way to get the tiny link in my Context provider?
Thank you.
Community moderators have prevented the ability to post new answers.
I think the answer is no. And i say that because for example it is impossible to view source code of a new page, you have to save it first. So try to simulate that behaviour, create a page, save an empty body, now you have the url, update the body as per wish.
As per your request in the comment:
Page p=pageMananger.getPage(pageID); p.getUrlPath()
The getUrlPath comes from https://docs.atlassian.com/confluence/latest/com/atlassian/confluence/pages/Page.html because page extends an AbstractPage
And is there a way to take the url programmaticaly after creation of the page? I cannot find any code for getting url of a page..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
updated the answer
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.