Published space home page title
Hi there,
I'm publishing a space based on another template space using REST api
/rest/scroll-versions/1.0/publish/spaceKey/to_new/publish
where spaceKey - is the key of the template Space
In the publishing process, you have access to a number of options that impact the publishing result. Unfortunately, I did't find an option that would let me change home page title (not really sure what it is called though, a screenshot attached)
I'm just wondering if there is an option to control home page title?
Thanks,
Yevhen
-
Hi Yevhen,
Thanks for asking.
Defining the page title of the home page is unfortunately not possible with the resource you are using. What we can suggest is that you create the new space using the REST resource you mentioned. Afterwards, you could see if Confluence has a REST API resource you could use to rename the page, as the space will be published as a normal Confluence space without versions in it.
I hope this helps.
Cheers,
Johanna (K15t). -
Hi Johanna,
Thanks for your reply.
I have actually found a respective Confluence REST API:
https://docs.atlassian.com/ConfluenceServer/rest/7.15.0/#api/content-update
The problem I run into is that when I run mentioned above PUT request and navigate to the altered page the 'old' page title is still there (the url changes correctly). The only thing that helped me is manually go to add-ons page and disabling Scroll Platform. Whenever Scroll Platform gets enabled that 'old' title comes up and I can't figure out what is happening there and how to eliminate such behavior.
I also have posted a question to Atlassian Community, so more details can be found here:
I would really appreciate it if I could have a hint or so on how to solve the issue.
Cheers,
Yevhen -
Hi Yevhen,
Sorry for the late reply.
Are you using Scroll Translations in your versioned source space you are publishing from? I’m asking because if you are publishing a language with Scroll Versions, then the new space will be created as a space managed by Scroll Translations, which means the Confluence page title is replaced with a Scroll page title, this could explain why your Confluence page title is overwritten.
In your published space navigate to Space tools > Scroll add-ons (if you see the button Languages this means you have Scroll Translations installed in your instance) > if you see the Languages button click on it to see if you have any languages activated in the space, if this is the case please remove the languages. After removing the languages try updating the home page title again.
If you still can’t update the page title after removing any potential languages in the published space, or if you have no languages in the published space, then you can reach out to our support via help@k15t.com so we can take a closer look at it.
I hope this helps.
Cheers,
Johanna (K15t) -
Hi Johanna,
Thanks for your reply.
You are right, Scroll Translations is used in my versioned source space. That would explain why manually changing the title from the GUI works as intended but changing it from the API is overruled.
Unfortunately, no manual change is a way to go.
I'm just wondering if there is an API call available to change the Scroll Page title from an external resource?
If not then is there an API to deactivate languages after creating the space?
Cheers,
Yevhen -
Hi Yevhen,
If you want to update the Scroll Page title of a page using REST API, then you could try out the following resource: Update Scroll Page title
Let me know if this helps.
Cheers,
Johanna (K15t)
Please sign in to leave a comment.
Comments
6 comments