0

I have developed a SharePoint Framework (SPFx) ListView Command Set extension that works perfectly in SharePoint Online. However, when I access the same list via Microsoft Teams, the command set does not show up.

I have double-checked my XML manifest files and deployment, and everything seems fine. The command set shows up in SharePoint but is missing in Teams.

Here are the relevant parts of my XML files:

elements.xml

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
        Title="Classifier"
        RegistrationId="100"
        RegistrationType="List"
        Location="ClientSideExtension.ListViewCommandSet.CommandBar"
        ClientSideComponentId="16287d1a-fd44-4df7-8ede-f1a74dc24a82"
        ClientSideComponentProperties="{&quot;sampleTextOne&quot;:&quot;One item is selected in the list.&quot;, &quot;sampleTextTwo&quot;:&quot;This command is always visible.&quot;}">
    </CustomAction>
    <CustomAction
        Title="Classifier"
        RegistrationId="101"
        RegistrationType="List"
        Location="ClientSideExtension.ListViewCommandSet.CommandBar"
        ClientSideComponentId="16287d1a-fd44-4df7-8ede-f1a74dc24a82"
        ClientSideComponentProperties="{&quot;sampleTextOne&quot;:&quot;One item is selected in the list.&quot;, &quot;sampleTextTwo&quot;:&quot;This command is always visible.&quot;}">
    </CustomAction>
</Elements>

clientsideinstance.xml

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <ClientSideComponentInstance
        Title="Classifier"
        Location="ClientSideExtension.ListViewCommandSet.CommandBar"
        ListTemplateId="100"
        Properties="{&quot;sampleTextOne&quot;:&quot;One item is selected in the list.&quot;, &quot;sampleTextTwo&quot;:&quot;This command is always visible.&quot;}"
        ComponentId="16287d1a-fd44-4df7-8ede-f1a74dc24a82" />
</Elements>

The extension is deployed in tenent and visible in SharePoint.When accessed through Teams (SharePoint tab), the command set doesn’t appear.I have attached screenshots from both SharePoint and Teams showing the difference. Sharepoint online list viewTeams view My questions:

Are there any known limitations or additional steps needed for ListView Command Sets to show inside Teams?Could this be related to the registration XML or the way Teams loads SharePoint tabs? Any suggestions on debugging this behavior or workarounds?

Thanks in advance for your help!

1
  • Short answer: this isn’t your XML—it's the host. ListView Command Set extensions aren’t supported in the Teams UI. They work in SharePoint proper, but when a list/library is shown inside Microsoft Teams (Files tab or the SharePoint app/tab), command sets typically don’t load. This has been raised multiple times and, while it has intermittently worked in some views in the past, the current behavior is that command sets don’t appear in Teams. Commented Oct 3 at 9:12

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.