Hi TS -

Hi TS - In our embed view, the user navigates to the search view from a specific liveboard. The mental model is that they are searching for an answer to add to that particular liveboard. However, when pinning an answer, the option is auto-selected to the last liveboard the user selected and results in mistaken pins to the wrong board. Is it possible to preselect a particular default liveboardId? Right now as a workaround we hide the Pin button from the embed and send a Pin event but even this opens the liveboard list modal, which is not ideal as it enables liveboard creation outside of our desired flow. Barring that, is there any way to programmatically get the search parameters and update the liveboard outside of the built-in Pin action?
3 Replies
shikharTS
shikharTS7mo ago
You can use a custom action to pin to accomplish these. @jbc can you help if there is another way or custom actions is the way to go?
jbc
jbc7mo ago
Custom actions help in adding a new action on answers/ liveboards UI. But, you would need to again send the same Pin trigger event, when the custom action clicked. At the moment we don't have any way of working around the liveboard list. But you can add a disable on the create liveboard, to restrict adding new liveboards. And if you have the vizId readily known you can also trigger the pin with vizId:
liveboardEmbed.trigger(HostEvent.Pin, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
liveboardEmbed.trigger(HostEvent.Pin, {vizId: '730496d6-6903-4601-937e-2c691821af3c'})
Leslie Chiang
Leslie ChiangOP7mo ago
Okay, thank you, I will try these out!

Did you find this page helpful?