animesh - team. I would need your help on this ...
team. I would need your help on this case
25 Replies
Some of us can't access the case. Could you please copy paste your question here?
I'm seeking some help in understanding a behavior we're seeing when trying to retrieve overridden parameter values from a Liveboard.
We're currently using the following HostEvent.GetFilters event to fetch filters and params:
While this call does return a list of parameters, it doesn't always include the overridden values as expected.
For example, Please have a look at the attached snippet. it has response that we are getting.
For the parameter Currency Code, the overrideValue is null
However, for 'Name Format', the overrideValue is correctly returned as "Include Preferred"
On further inspection, it seems this discrepancy is related to how the parameters were overridden:
✅ The 'Name Format' parameter was changed manually via the UI (inside the embedded iframe).
❌ The 'Currency Code' parameter was overridden programmatically by setting the 'runtimeParameters' prop in the React LiveboardEmbed component.
This leads me to believe that HostEvent.GetFilters may not fully reflect runtime changes made via the SDK.
please have a look at the case submitted. https://community.thoughtspot.com/customers/s/case/500Uk00000fjThRIAU/hosteventgetfilters-is-not-returning-overridden-parameter-values
What behavior are you seeing @animesh ?
@shikharTS Can we have a quick call to align? I believe I’ve explained my point clearly, but please let me know if there’s any specific part that needs further clarification.
TL;DR:
I’m unable to see the overridden value of a ThoughtSpot embedded Liveboard parameter when triggering the following event:
were you able to get any support @animesh if the case is still pending we can connect
@shikharTS do you have any update on this.
await liveboardRef.current?.trigger(HostEvent.GetParameters);
the response returned by triggering the HostEvent.GetParameters
event. doesn't return the overridden parameter value.
please have a look at the response.This might be a bug on the SDK side @animesh . Let me check with the team internally..
When examining the JSON response from
await liveboardRef.current?.trigger(HostEvent.GetParameters)
, you'll observe two parameters with different behaviors:
1. The parameter overridden through the ThoughtSpot LiveBoard UI (Name Format
) includes its overriddenValue in the response.
2. The parameter modified via HostEvent.UpdateParameters
(Currency Code
) doesn't show its overridden value in the response.
This difference occurs because parameters changed through the LiveBoard UI reflect their overridden values in the output, while programmatically updated parameters via HostEvent.UpdateParameters
don't return their modified values in the response.cc @Justin Mathew
@animesh which version are you trying on .
I have tried the following :
In a liveboard with prameters , update using HostEvent
then once its loaded
However i have noticed if we try to get before the value is set in UI and try to Get , it returns the old value.
Can you try to get with a delay ?
@Justin Mathew can we have a quick call to discuss this. Can you please let me know your availibility. I am generally available between 11:00 AM till 23:30 PM IST.
Wanted to walk you through my case.
hey @animesh , lemme know if you are free now ?
Meet
Real-time meetings by Google. Using your browser, share your video, desktop, and presentations with teammates and customers.
@Justin Mathew are you available now?
joined
@Justin Mathew @Aditya like the way you recommended me to trigger
HostEvent.UpdateParameters
event instead of passing runtimeParameters
props to the LiveboardEmbed
react component. It seems to be working and giving desired results.
I was expecting to trigger HostEvent.UpdateFilters
event instead of passing runtimeFilters
props to LiveboardEmbed
react component, It is not working properly. Can you please have a look.@animesh whats the issue with
HostEvent.UpdateFilters
?
cc: @Aditya can you check thiscan we have a quick call?
Meet
Real-time meetings by Google. Using your browser, share your video, desktop, and presentations with teammates and customers.
Hey Sorry, I didn't checked discord at that time
Did you guys had a call?
If not, we can have it now
Or you can suggest a time which works for you
@animesh
are you there @Aditya
can we have a quick conversation?
Meet
Real-time meetings by Google. Using your browser, share your video, desktop, and presentations with teammates and customers.
Yes