baran_98284
10/15/2024, 1:01 PM@thoughtspot/visual-embed-sdk@1.33.3 library.:
tsx
import { Action, LiveboardEmbed as LiveboardEmbedRef } from '@thoughtspot/visual-embed-sdk';
const LiveboardVisuals: React.FC<LiveboardProps> = ({
liveboardId,
visualId,
}) => {
const embedRef = useEmbedRef() as React.MutableRefObject<LiveboardEmbedRef>;
return (
<LiveboardEmbed
ref={embedRef}
liveboardId={liveboardId}
vizId={visualId}
onParameterChanged={(e) => {
console.log('onParameterChanged');
console.log(e);
}}
/>
);
};
Aim:
When the user applies a parameter, the console log should be called.
ts
onParameterChanged={(e) => {
console.log('onParameterChanged');
console.log(e);
}}
Issue:
When the user applies a parameter, the console log is not called. Furthermore, I tested with `onFilterChanged`:
ts
onFilterChanged={(e) => {
console.log('onFilterChanged');
console.log(e);
}}
and it logs to the console. So, is onParameterChanged not working in v1.33.3?shikharts_67242
10/15/2024, 3:48 PMjustinmathew_tsdev
10/16/2024, 6:46 AMbaran_98284
10/16/2024, 8:34 AM@thoughtspot/visual-embed-sdk v1.33.3justinmathew_tsdev
10/16/2024, 12:25 PMjustinmathew_tsdev
10/16/2024, 12:25 PMbaran_98284
10/16/2024, 1:01 PMjustinmathew_tsdev
10/16/2024, 1:01 PMjustinmathew_tsdev
10/16/2024, 1:16 PMbaran_98284
10/16/2024, 1:16 PMbaran_98284
10/16/2024, 1:16 PMjustinmathew_tsdev
10/16/2024, 1:17 PMbaran_98284
10/16/2024, 1:25 PMbaran_98284
10/16/2024, 1:25 PMbaran_98284
10/16/2024, 1:25 PMbaran_98284
10/16/2024, 1:25 PMbaran_98284
10/16/2024, 1:33 PMjustinmathew_tsdev
10/16/2024, 1:53 PMbaran_98284
10/16/2024, 1:55 PMhttps://PROJECT_NAME.thoughtspot.cloud/?justinmathew_tsdev
10/16/2024, 1:55 PMbaran_98284
10/16/2024, 1:56 PMjustinmathew_tsdev
10/16/2024, 1:58 PMjustinmathew_tsdev
10/16/2024, 1:58 PMbaran_98284
10/16/2024, 1:59 PMonALL={} prop in the React library?justinmathew_tsdev
10/16/2024, 1:59 PMbaran_98284
10/16/2024, 1:59 PMbaran_98284
10/16/2024, 2:02 PMjustinmathew_tsdev
10/16/2024, 2:07 PMbaran_98284
10/16/2024, 2:09 PMjustinmathew_tsdev
10/16/2024, 2:17 PMbaran_98284
10/16/2024, 2:18 PMjustinmathew_tsdev
10/16/2024, 2:18 PMbaran_98284
10/16/2024, 2:18 PMjustinmathew_tsdev
10/16/2024, 2:20 PMjustinmathew_tsdev
10/16/2024, 2:35 PMjustinmathew_tsdev
10/16/2024, 2:36 PMaditya_41082
10/16/2024, 2:40 PMbaran_98284
10/16/2024, 2:40 PMaditya_41082
10/16/2024, 2:40 PMbaran_98284
10/16/2024, 2:41 PMbaran_98284
10/16/2024, 2:46 PMaditya_41082
10/16/2024, 3:07 PMbaran_98284
10/16/2024, 3:08 PM