# Web SDK- Not able to add ZoomInvitefunctions

**URL:** <https://devforum.zoom.us/t/web-sdk-not-able-to-add-zoominvitefunctions/34510>\
**Category:** Web\
**Created:** [October 28, 2020, 11:28am UTC](https://devforum.zoom.us/t/web-sdk-not-able-to-add-zoominvitefunctions/34510 "2020-10-28T11:28:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vivek.muqueshrai](https://avatars.discourse-cdn.com/v4/letter/v/87869e/32.png) [@vivek.muqueshrai](https://devforum.zoom.us/u/vivek.muqueshrai)\
**Post date:** [October 28, 2020, 11:28am UTC](https://devforum.zoom.us/t/web-sdk-not-able-to-add-zoominvitefunctions/34510/1 "2020-10-28T11:28:48Z")

</div>

Hi  
I have downloaded the sample app from

> **[zoom/sample-app-web](https://github.com/zoom/sample-app-web/tree/master/Local)**
>
> Zoom Web SDK Sample App. Contribute to zoom/sample-app-web development by creating an account on GitHub.

Got it working locally in visual studio, now i want to customize it, i.e. Remove “clear button” and add functionalities from [https://zoom.github.io/sample-app-web/ZoomMtg.html#showInviteFunction](https://zoom.github.io/sample-app-web/ZoomMtg.html#showInviteFunction)

How to add those functions and where to add( is it in index.js file or meeting.js file?)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [October 30, 2020, 5:38pm UTC](https://devforum.zoom.us/t/web-sdk-not-able-to-add-zoominvitefunctions/34510/2 "2020-10-30T17:38:06Z")

</div>

Hey @vivek.muqueshrai,

It is in the success callback of the ZoomMtg.join function. 🙂

```auto
ZoomMtg.init({
      leaveUrl: this.leaveUrl,
      isSupportAV: true,
      success: (success) => {
        console.log(success)

        ZoomMtg.join({
          signature: signature,
          meetingNumber: this.meetingNumber,
          userName: this.userName,
          apiKey: this.apiKey,
          userEmail: this.userEmail,
          passWord: this.passWord,
          success: (success) => {
            console.log(success)
            // call showInviteFunction here
          },
          error: (error) => {
            console.log(error)
          }
        })

      },
      error: (error) => {
        console.log(error)
      }
    })

```

Let me know if that helps!

Thanks,  
Tommy

---

<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:** [November 30, 2020, 3:38am UTC](https://devforum.zoom.us/t/web-sdk-not-able-to-add-zoominvitefunctions/34510/3 "2020-11-30T03:38:07Z")

</div>

Closed on November 30, 2020, 3:38am UTC

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