Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manifest with multiple staticTabs, only the first tab is added to channel? #2388

Open
catmanjan opened this issue Jul 4, 2024 · 4 comments
Assignees
Labels

Comments

@catmanjan
Copy link

I have an app with 3 staticTabs in the manifest.json

They work as expected via the personal app, e.g.:
image

However, when I add my app to a channel, only the first tab is added.

Is there something I'm missing in my manifest?

{
  "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
  "manifestVersion": "1.16",
  "version": "{Year}.{Month}.{SecondInMonth}",
  "id": "{MicrosoftAppId}",
  "packageName": "au.com.icognition.teams.integration.hydra",
  "developer": {
    "name": "iCognition",
    "websiteUrl": "https://support.ingresscsp.com/",
    "privacyUrl": "https://support.ingresscsp.com/",
    "termsOfUseUrl": "https://support.ingresscsp.com/"
  },
  "icons": {
    "color": "ingress_icon_black_192.png",
    "outline": "ingress_icon_white_32.png"
  },
  "name": {
    "short": "Ingress Search",
    "full": "Ingress Search"
  },
  "description": {
    "short": "Discover and manage enterprise information",
    "full": "Where’s the most accurate, reliable, and authentic information you need? Ingress will help you find it! It doesn’t matter where it is. If it’s in OneDrive, Teams, SharePoint or {ContentManagerName}, a simple search using Ingress Search will find it, subject to security rights\n\nThen Ingress will help you open, edit or view it.\n\nWant to ensure your information is protected and preserved for future use? Ingress will help will do that too! Protecting your vital information will secure and preserve it for the long term, allowing appropriate access by others, and help us meet our compliance obligations."
  },
  "accentColor": "#FFFFFF",
  "configurableTabs": [
    {
      "configurationUrl": "{BaseUrl}/api/v1/config",
      "scopes": [
        "team",
        "groupchat"
      ],
      "canUpdateConfiguration": false
    }
  ],
  "staticTabs": [
    {
      "entityId": "{MicrosoftAppId}IngressSearch",
      "scopes": [
        "team",
        "personal",
        "groupchat"
      ],
      "name": "Ingress Search",
      "contentUrl": "{TeamsIntegration:TabUrl}",
      "websiteUrl": "{TeamsIntegration:TabUrl}"
    },
    {
      "entityId": "{MicrosoftAppId}IngressRecords",
      "scopes": [
        "team",
        "personal",
        "groupchat"
      ],
      "name": "Ingress Records",
      "contentUrl": "{RmWorkspaceUrl}",
      "websiteUrl": "{RmWorkspaceUrl}"
    },
    {
      "entityId": "{MicrosoftAppId}IngressWorkflow",
      "scopes": [
        "team",
        "personal",
        "groupchat"
      ],
      "name": "Ingress Workflow",
      "contentUrl": "{RmWorkflowUrl}",
      "websiteUrl": "{RmWorkflowUrl}"
    }
  ],
  "bots": [
    {
      "botId": "{MicrosoftAppId}",
      "scopes": [
        "personal",
        "team"
      ],
      "supportsFiles": false,
      "isNotificationOnly": true,
      "commandLists": []
    }
  ],
  "composeExtensions": [
    {
      "botId": "{MicrosoftAppId}",
      "canUpdateConfiguration": false,
      "commands": [
        {
          "id": "searchQuery",
          "type": "query",
          "title": "Enterprise Search",
          "description": "Perform a search",
          "initialRun": true,
          "fetchTask": false,
          "context": [
            "commandBox",
            "compose"
          ],
          "parameters": [
            {
              "name": "searchQuery",
              "title": "Search",
              "description": "Your search query",
              "inputType": "text"
            }
          ]
        },
        {
          "id": "contentManagerQuery",
          "type": "query",
          "title": "{ContentManagerName}",
          "description": "Search for protected {RecordNamePlural}",
          "initialRun": true,
          "fetchTask": false,
          "context": [
            "commandBox",
            "compose"
          ],
          "parameters": [
            {
              "name": "searchQuery",
              "title": "Search",
              "description": "Your search query",
              "inputType": "text"
            }
          ]
        },
        {
          "id": "exchangeQuery",
          "type": "query",
          "title": "Exchange",
          "description": "Search for emails and attachments in Exchange",
          "initialRun": true,
          "fetchTask": false,
          "context": [
            "commandBox",
            "compose"
          ],
          "parameters": [
            {
              "name": "searchQuery",
              "title": "Search",
              "description": "Your search query",
              "inputType": "text"
            }
          ]
        },
        {
          "id": "oneDriveQuery",
          "type": "query",
          "title": "OneDrive",
          "description": "Search for documents in OneDrive",
          "initialRun": true,
          "fetchTask": false,
          "context": [
            "commandBox",
            "compose"
          ],
          "parameters": [
            {
              "name": "searchQuery",
              "title": "Search",
              "description": "Your search query",
              "inputType": "text"
            }
          ]
        },
        {
          "id": "sharePointQuery",
          "type": "query",
          "title": "SharePoint",
          "description": "Search for documents in SharePoint",
          "initialRun": true,
          "fetchTask": false,
          "context": [
            "commandBox",
            "compose"
          ],
          "parameters": [
            {
              "name": "searchQuery",
              "title": "Search",
              "description": "Your search query",
              "inputType": "text"
            }
          ]
        },
        {
          "id": "teamsQuery",
          "type": "query",
          "title": "Teams",
          "description": "Search for documents in Teams",
          "initialRun": true,
          "fetchTask": false,
          "context": [
            "commandBox",
            "compose"
          ],
          "parameters": [
            {
              "name": "searchQuery",
              "title": "Search",
              "description": "Your search query",
              "inputType": "text"
            }
          ]
        },
        {
          "id": "fileSystemQuery",
          "type": "query",
          "title": "Shared drive",
          "description": "Search for documents in shared drives",
          "initialRun": true,
          "fetchTask": false,
          "context": [
            "commandBox",
            "compose"
          ],
          "parameters": [
            {
              "name": "searchQuery",
              "title": "Search",
              "description": "Your search query",
              "inputType": "text"
            }
          ]
        }
      ],
      "messageHandlers": [
        {
          "type": "link",
          "value": {
            "domains": [
              "*.botframework.com"
            ]
          }
        }
      ]
    }
  ],
  "permissions": [
    "identity",
    "messageTeamMembers"
  ],
  "validDomains": [
    "*.botframework.com",
    "*.sharepoint.com",
    "{TeamsIntegration:ValidDomain}"
  ],
  "webApplicationInfo": {
    "id": "{MicrosoftAppId}",
    "resource": "{TeamsIntegration:AppIdUri}"
  },
  "supportedChannelTypes": [
    "privateChannels",
    "sharedChannels"
  ]
}
Copy link
Contributor

Hi catmanjan! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

@Nivedipa-MSFT Nivedipa-MSFT self-assigned this Jul 4, 2024
@Nivedipa-MSFT
Copy link

Nivedipa-MSFT commented Jul 4, 2024

@catmanjan - Thanks for reporting your issue. We have tested this at our end. Its added correctly in personal app but getting below error in channel.

image

@catmanjan
Copy link
Author

@Nivedipa-MSFT were you trying to use the manifest I posted? You will not be able to use mine because it is for an app that is only accessible to me

You will need to use your own app and add multiple static tabs

@Nivedipa-MSFT
Copy link

@catmanjan - We have tested this at Microsoft Teams Desktop version 24165.1410.2974.6689.

Added in personal app:
image

Added in channel:
image

We are able to repro your issue. We have raised a bug for the same, we will inform you once we get any updates on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants