ThoughtSpot Community
Gooood Morning TS team. My first message here, so my apologies if I am doing something wrong =).
I am having timeout issues when trying to use the
HostEvent.GetFilters
. I shared details in the community:
https://community.thoughtspot.com/customers/s/question/0D5Uk00000CaAb3KAF/how-can-i-check-if-a-liveboard-has-filters-before-effectively-rendering-everythingreason-i-would-like-to-hide-the-liveboard-header-in-case-it-doesnt-have-any-liveboard-filter
If possible, could you please help me?
Thanks!ThoughtSpot Community
Find useful content, exchange ideas and best practices, and collaborate with other customers, partners, and ThoughtSpot employees.
2 Replies
Hi Geovane,
The
hideLiveboardHeader
prop in the React component will not be reactive, as in you will need to rerender the liveboard for it to take effect which might not be ideal.
May I suggest an alternate approach. Basically make a call to https://developers.thoughtspot.com/docs/restV2-playground?apiResourceId=http%2Fapi-endpoints%2Fmetadata%2Fsearch-metadata this API before you render the liveboard. This API will give you details of the liveboard including whether it has liveboard filters.REST API v2.0 Playground
ThoughtSpot REST API v2.0 Playground
Will definitely try that and keep you posted. Thank you so much Ashish!