-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested
- 💥 Internet Explorer
- 💥 Microsoft Edge
- 💥 Google Chrome
- 💥 FireFox
- 💥 Safari
- mobile (iOS/iPadOS)
- mobile (Android)
- not applicable
- other (enter in the "Additional environment details" area below)
Additional environment details
- browser version
- SPFx version - 1.17.0
- Node.js version - 16.20.0
- etc
Issue description
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="{"sampleTextOne":"One item is selected in the list.", "sampleTextTwo":"This command is always visible."}">
</CustomAction>
<CustomAction
Title="Classifier"
RegistrationId="101"
RegistrationType="List"
Location="ClientSideExtension.ListViewCommandSet.CommandBar"
ClientSideComponentId="16287d1a-fd44-4df7-8ede-f1a74dc24a82"
ClientSideComponentProperties="{"sampleTextOne":"One item is selected in the list.", "sampleTextTwo":"This command is always visible."}">
</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="{"sampleTextOne":"One item is selected in the list.", "sampleTextTwo":"This command is always visible."}"
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!