Voted Best Answer
Jan 27, 2021 - 03:52 PM
Hi,
Great questions!
'Is it possible to embed a category in an iFrame without the top nav/banner bar?'
Yes! You can declare which mode
the category is in inside the embed URL.
"https://your-dashboard-here.com/pi/?categoryMode=1#PA-CA###category/23"
The options below are taken from our embed documentation.
0: Normal mode
1: Headerless Single Category Mode (No Header, no category list)
2: Single Category Mode (With Header, no category list)
3: Headerless normal mode (i.e. contains the category list but not header)
'Is it possible to have the category objects tray 'pinned' by default?'
Yes, by accessing the category with header as that user, either natively or embedded with a header, you can pin the category object (filter) tray and it is remembered the next time it is accessed.
'How can you reset the category objects if hiding the top nav/banner bar, which holds the reset button?'
While you can't click the reset button if the header is hidden, there is a URL which resets the category to it's default state, so you can implement this via a button outside of the iFrame, for example.
"https://your-dashboard-here.com/pi/#/dashboard-system/#/redirectToDefaultCateg
oryState/52"
There is also an enhancement raised that allows us to be able to call javascript to open the category/filter tray/reset filters etc, so coming soon!
Thanks,
Steven
Add New Comment