Hello Team

Hello Team @ashish @shikharTS @bill_da_golfer Could any of you please help me here? On the SearchEmbed while doing Pin to any answer earlier, I used to get an action of Create Liveboard but now I am not getting that option. SDK which I am using: @thoughtspot/visual-embed-sdk": "^1.28.4 Please help me it's urgent. Thanks
No description
28 Replies
ashish
ashish7mo ago
Do you see that option when not in embed mode, in the standalone app ?
amitfbg
amitfbgOP7mo ago
yeah I can see that option when I remove the visibleAction filter on searchEmbed But the same was working earlier I was getting that option.
Aditya
Aditya7mo ago
@amitfbg Are you using visible actions in your embed code? If yes, can you try to add Action.CreateLiveboard in visible actions array?
amitfbg
amitfbgOP7mo ago
Yes I am using visible actions Let me try this. Are you sure the Sdk version which I am using supports these actions? While checking the action supported I didn't see this
Aditya
Aditya7mo ago
Can you please check in your iframe URL, what's the SDK version it is currently picking up? Because I see this action present in the latest release of SDK
amitfbg
amitfbgOP7mo ago
I am on SDK version 1.28.4
Aditya
Aditya7mo ago
Can you please switch SDK version to 1.32.1
amitfbg
amitfbgOP7mo ago
I will do that But my question is why do any new changes affect the older version? This should not happen
Aditya
Aditya7mo ago
Has your cluster got updgraded recently?
amitfbg
amitfbgOP7mo ago
I don't think so I am maintaining this code and I never updated anything from the past 2 months. Could you please tell me what cluster you are talking about?
Aditya
Aditya7mo ago
I was talking about your ThoughtSpot cluster
amitfbg
amitfbgOP7mo ago
I have no idea Could you please tell me what is this Thoughtspot cluster. Where can I look for it? We have a thoughtpot cloud url which we are using only.
Aditya
Aditya7mo ago
Yes, I was talking about this only. This is mistake on our end. Ideally, we should support hiding these actions as soon as we implement this. We have added it later that's what caused this regression.
amitfbg
amitfbgOP7mo ago
but any new changes should be backwards compatible. Here, in this case, it breaks this compatibility. So we don't have any solution here apart from upgrading the SDK to 1.32.1 and adding the Action or I can raise a ticket and this will be fixed? I am not sure after upgrading will it break any other flow
Aditya
Aditya7mo ago
I understand it should be backward compatible. Apologies for the inconvinience caused. If you do not want to upgrade your SDK you can add "createLiveboard" in your visible actions array.
amitfbg
amitfbgOP7mo ago
that's not working I checked
Aditya
Aditya7mo ago
Can you please share a screenshot of what are you passing in the array?
amitfbg
amitfbgOP7mo ago
visibleActions which I am using
No description
Aditya
Aditya7mo ago
No, I am saying to pass "createLiveboard" as a string instead of Action.CreateLiveboard
amitfbg
amitfbgOP7mo ago
got it trying
amitfbg
amitfbgOP7mo ago
Now getting ts error
No description
amitfbg
amitfbgOP7mo ago
and searchEmbed is not loading
Aditya
Aditya7mo ago
Can you please remove this error notification and share a SS
amitfbg
amitfbgOP7mo ago
No description
ashish
ashish7mo ago
you might need to do visibleActions: [...] as any fwiw, updating the sdk should not cause regressions. In the unlikely scenario that it does, we should be able to fix it quickly and release a patch.
amitfbg
amitfbgOP7mo ago
I will do that @ashish Should I need to update the SDK or this will be fixed from your side?
ashish
ashish7mo ago
Please update the sdk to the latest on your side, and add the Action.CreateLiveboard to the array.
amitfbg
amitfbgOP7mo ago
sure @ashish createLiveboard is also working while added to actions

Did you find this page helpful?