The following script can be used to set the design in multiple spaces
#!/usr/bin/env bash
declare -a spaceKeys=("SADA" "ds")
declare -a url="http://localhost:6700/confluence/spaces/plugins/designs/dosetdesign.action"
declare -a designKey="ch.bitvoodoo.confluence.plugins.customer:design"
declare -a username="admin"
declare -a password="admin"
for spaceKey in "${spaceKeys[@]}"
do
echo "Set for space $spaceKey"
curl -H "X-Atlassian-Token: no-check" -H "Content-Type: application/x-www-form-urlencoded" -d "spaceKey=${spaceKey}&designKey=${designKey}" -X POST -u ${username}:${password} ${url}
done
Related articles
- Define which picture of a blog post will be used on the dashboard
- How can I disable the language drop-down?
- Creating a blog post with predefined content
- Change the name of the space manager box
- Fix the Support Space Permissions
- Add a news/blog post to the news list ("Blog post & pages" macro)
- Filter news by metadata (like location, category)
- Use the Communardo Metadata App with the Enterprise Theme News Macros
- Create a dashboard using the Global Dashboard blueprint
- Use the Seibert Navigation Menu Editor with the Enterprise Theme
- How to set the design for multiple spaces
- Use the Communardo User Profiles app with the Enterprise Theme News Macros
- Add a news to the news slider ("Top stories slider" macro)
- Add Page Dropdown instead Create button
- Create personalized news
- Insert a "Create" button
- Define what text of a page or a blog post appears on the dashboard
- Create a centered design