Hi there - Thoughtspot Embed
# dev-help
c
Hi there - Thoughtspot Embed functionality question. The application we are looking to embed ThoughtSpot within already has an overall header that includes a profile and help link. As such, we would like to hide those from the top navigation, which is of course supported. However, we would still like our users to be able to access and update settings within their Profile, system language, experiences, etc. I have reviewed the documentation to see if I can determine a way to configure this and I have not come up with anything. I am wondering if this is a possibility with full app embed?
s
You can use the update user api to change/update settings for a user https://{url}/api/rest/2.0/users/user_identifier6/update
c
Thanks, I understand we could change settings via the apis, however we are looking to provide access to the actual profile page within ThoughtSpot, just not from the normal avatar -> profile button.
s
You can use the navigate host event to navigate to a page in thoughtspot. You can provide the path as the users profile path in its params https://developers.thoughtspot.com/docs/Enumeration_HostEvent#_navigate Also you can use https://developers.thoughtspot.com/docs/full-app-customize#_navigatetopage if you are using AppEmbed
Do these help
c
the naviageToPage() would require some mechanism on the UI to be able to trigger the API function call, is that correct?
s
navigate to page is a function that you can call on app embed. For host event you can create a button so the user can access the profile page. How are you thinking any user will access the profile page?
c
I wanted to understand if there might be capabilities actually within the UI that might allow us to hook into instead of creating some trigger mechanism on the host page. The reason being is we are just embedding the full app with a custom header (which is not owned by the host application) and don't currently have any UI components we are creating/displaying. It is seeming as though there is no such functionality and we would need to add some sort of button. Thank you for your input!