# Is there a way to programmatically change between views when using ComponentView

**URL:** <https://devforum.zoom.us/t/is-there-a-way-to-programmatically-change-between-views-when-using-componentview/83937>\
**Category:** Web\
**Created:** [March 1, 2023, 10:32am UTC](https://devforum.zoom.us/t/is-there-a-way-to-programmatically-change-between-views-when-using-componentview/83937 "2023-03-01T10:32:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![adig](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/adig/32/45984_2.png) [@adig](https://devforum.zoom.us/u/adig)\
**Post date:** [March 1, 2023, 10:32am UTC](https://devforum.zoom.us/t/is-there-a-way-to-programmatically-change-between-views-when-using-componentview/83937/1 "2023-03-01T10:32:44Z")

</div>

I’m trying to use the ComponentView for an integration with our app, is there a way to switch between Ribbon View and Gallery View for example?

Otherwise, is there a way to listen to events that will let me know that the user switched to a different view (in order to change the container position / sizing)?

I can see a related topic from a year ago, is there any update on the feature mentioned in the answer?:

> [@Is there anyway to switch views programatically in ComponentView?](https://devforum.zoom.us/t/is-there-anyway-to-switch-views-programatically-in-componentview/63345):
>
> Description is there anyway to switch views programatically in ComponentView? And can we hide those view buttons over the screen?

Thank you!

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [March 1, 2023, 9:48pm UTC](https://devforum.zoom.us/t/is-there-a-way-to-programmatically-change-between-views-when-using-componentview/83937/2 "2023-03-01T21:48:06Z")

</div>

Hi @adig  
Thanks for reaching out to the Zoom Developer forum and welcome to our community!  
Unfortunately, there have not been any updates on this feature, so for right now there is no way to programmatically change views.

Cheers,  
Elisa

---

<div class="post-metadata">

**Author:** ![thinh.pv](https://avatars.discourse-cdn.com/v4/letter/t/e9c0ed/32.png) [@thinh.pv](https://devforum.zoom.us/u/thinh.pv)\
**Post date:** [March 2, 2023, 5:37am UTC](https://devforum.zoom.us/t/is-there-a-way-to-programmatically-change-between-views-when-using-componentview/83937/3 "2023-03-02T05:37:07Z")

</div>

Hi @elisa.zoom

- Sorry, can you please help me solve this issue?  
I have follow link: [ZoomMtgEmbedded | ZOOM Web SDK Components](https://marketplacefront.zoom.us/sdk/meeting/web/components/modules/ZoomMtgEmbedded.html#destroyClient)  
But when i run then it said destroyClient is not defined.

Best regards,  
John

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [April 1, 2023, 3:37pm UTC](https://devforum.zoom.us/t/is-there-a-way-to-programmatically-change-between-views-when-using-componentview/83937/4 "2023-04-01T15:37:57Z")

</div>

Closed on April 1, 2023, 3:37pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
