Forum Discussion

ChaitanyaSai370's avatar
ChaitanyaSai370
Copper Contributor
Jul 22, 2024

Save button disabled when trying to add a custom app from a meeting extension

Hi Everyone,  I need help with custom apps. I am trying to add a custom app to an in-progress meeting from the add apps button on the meeting ribbon, I was able to see my custom app when I hit the b...
  • huzefamehidpurwala's avatar
    huzefamehidpurwala
    Jul 23, 2024

    Good to know my last response worked for you, ChaitanyaSai370.

     

    add this code too in the useEffect.

     

    pages.config.registerOnSaveHandler((saveEvent) => {
      const baseUrl = `https://${window.location.hostname}:${window.location.port}`;
      pages.config
        .setConfig({
          entityId: "pageId",
          contentUrl: baseUrl + "/index.html#/tab",
          websiteUrl: baseUrl + "/index.html#/tab",
          suggestedDisplayName: "DisplayName",
        })
        .then(() => {
          saveEvent.notifySuccess();
        });
      saveEvent.notifySuccess();
    });

     


    then too if same error shows up try changing "canUpdateConfiguration" value to false in the manifest file.

    Hope this works.

    Please like my responses and mark them as solution to the question.

Resources