Suvash - Hi team, is it possible to get the mod...
# dev-help
s
Hi team, is it possible to get the model id using a liveboard guid?  This is in the embedded app. I couldn't see any related api endpoints in the doc. Use Case: We need to do some custom logic based on the model the liveboard belongs to. We are using the FullAppEmbed and using the RouteChangeEvent to capture the id of the liveboard. Also, can one liveboard consist of multiple data sources?
a
message has been deleted
j
cc: @Piyush can the metadata api return this ?
p
Yes @Suvash You can use search metadata API or Export TML api with
Copy code
export_fqn: true
to get the model id the liveboard belongs to.
s
Thanks @Piyush . also, if one liveboard have answers from different models, is there an easy way to identify the model and the vizs related to it and update the visible actions via SDK?
p
Yeah, you can get vizId and modelId used to create that viz as part of search metadata API. Also, visibleActions is not viz specific. It is applied at liveboard level so it will get applied to all the vizzes