Skip to content

Update ListItemAttachments.tsx: let user set webUrl #2009

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

Conversation

Floris-Pleegzorg-Oost-Vlaanderen
Q A
Bug fix? [ X]
New feature? [ ]
New sample? [ ]
Related issues? fixes #1975

What's in this Pull Request?

The documentation mentions that it is possible to set the webUrl, but webUrl wasn't passed to the constructor when the constructor in ListItemAttachments creates Spservice

Add the option to pass an URL of the site.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the first contribution to this project.

@joaojmendes
Copy link
Collaborator

@Floris-Pleegzorg-Oost-Vlaanderen, Thank you for your fix.

@joaojmendes joaojmendes self-assigned this Jul 13, 2025
@joaojmendes joaojmendes added the status:fixed-next-drop Issue will be fixed in upcoming release. label Jul 13, 2025
@joaojmendes joaojmendes added this to the 3.22.0 milestone Jul 13, 2025
@joaojmendes joaojmendes merged commit cacb5cb into pnp:dev Jul 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:fixed-next-drop Issue will be fixed in upcoming release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants