Forum Discussion
Page Navigator .json Theme
Hello,
I would like to automatically adjust the theme of the new Page Navigator.
However, I don't know how to target that thing directly and what kinds of adjustments I can do.
It should automatically look like that from the start.
Best Regards
Lars
Hi,
found this article What makes up a Power BI Desktop PBIX File - Data Analytics | FourMoo and Power BI
explaining how to view content of pbix file. Changed my bpix to zip and found from Lyout -file "name/word" for Bookmark Navigator. For json it is bookmarkNavigator.
Hey RemLee
I posted a solution here. However you are not able to change the default shape of the navigation button in the json file.
https://community.powerbi.com/t5/Desktop/JSON-pageNavigator-Visual-StyleNames-amp-CardNames/m-p/2471114#M881023Hi Marvin,
I have worked out the solution - the trick was set a default ID just like the other properties:
"pageNavigator": {
"*": {
"shape": [
{
"$id": "default",
"roundEdge": 25,
"tileShape": "rectangleRounded"
}
],
...
}
}
13 Replies
- truptis
Community Champion
Hi Anonymous ,
This is how we use .JSON themes in Power BI.
https://community.powerbi.com/t5/Desktop/Problem-with-custom-theme-JSON/m-p/2342985- AnonymousNot applicable
Hello trupits,
thank you so much for your quick response.
But, I know how to use it. The question now is, similar to the slicer (see picture below) I want to know if anybody knows the word to address the page navigation, and what kind of options I have there.
- MarvinVitcu
Advocate I
Hey RemLee
I posted a solution here. However you are not able to change the default shape of the navigation button in the json file.
https://community.powerbi.com/t5/Desktop/JSON-pageNavigator-Visual-StyleNames-amp-CardNames/m-p/2471114#M881023- thartRegular Visitor
Hi Marvin,
I have worked out the solution - the trick was set a default ID just like the other properties:
"pageNavigator": {
"*": {
"shape": [
{
"$id": "default",
"roundEdge": 25,
"tileShape": "rectangleRounded"
}
],
...
}
}- lemkin123Frequent Visitor
Hi, have you found a way to just round the top corners of the rectangle? Cheers!
- AnonymousNot applicable
Hello Marvin,
I have read your article and helped. Thank you. Do you think out of the discussion in the forum that there is no solution to that or do you have other knowledge about the shape?
- MarvinVitcu
Advocate I
Hey Anonymous
I'm sorry, but I believe there is not solution for setting the default shape in the json file. I have tried all kinds of different names for the property; and online there was simply no documentation about it at all.
- truptis
Community Champion
Hi Anonymous ,
This is how we use .JSON themes in Power BI.
https://community.powerbi.com/t5/Desktop/Problem-with-custom-theme-JSON/m-p/2342985 - RemLeeFrequent Visitor
Hi,
did you find "name/word" to be used in json for Page navigator? I'm also trying to find "name/word" for Bookmark navigator.
- RemLeeFrequent Visitor
Hi,
found this article What makes up a Power BI Desktop PBIX File - Data Analytics | FourMoo and Power BI
explaining how to view content of pbix file. Changed my bpix to zip and found from Lyout -file "name/word" for Bookmark Navigator. For json it is bookmarkNavigator.
- AnonymousNot applicable
Hello RemLee,
I don't have time at the moment to check your solution.
However, thank you so much for the article. And when I find the time and I can work with that I will Mark that as a solution and give you a thumbs up or whatever pushes your account.