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

Embedded list view in a SitePage - need the GUID of the list somewhere in the DOM for use with List View Command Set #10050

Open
9 tasks
SPJS opened this issue Dec 12, 2024 · 0 comments
Labels
Needs: Triage 🔍 Awaiting categorization and initial review.

Comments

@SPJS
Copy link

SPJS commented Dec 12, 2024

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

No response

Issue description

I have a list view command set extension and when I have multiple embedded list views from different lists in the same SitePage I need to be able to know which list the command set actions are interacting with.

It would help if the GUID of the list could be added to the div wrapping the list view web part - something like this (added data-list-id):
<div
data-sp-feature-tag="ListWebPart web part (List)"
data-sp-feature-instance-id="be2d3636-cf79-4e35-a30d-e81f29855c2e"
data-sp-web-part-id="f92bf067-bc19-489e-a556-7fe95f508720"
data-automation-id="ListWebPart"
data-list-id="37f47a84-caa4-40c8-8dfe-5d3ed7f5b62b"
>

Alexander

@VesaJuvonen VesaJuvonen added the Needs: Triage 🔍 Awaiting categorization and initial review. label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Triage 🔍 Awaiting categorization and initial review.
Projects
None yet
Development

No branches or pull requests

2 participants