-
Notifications
You must be signed in to change notification settings - Fork 409
Closed
Labels
status:fixed-next-dropIssue will be fixed in upcoming release.Issue will be fixed in upcoming release.
Milestone
Description
Category
[ ] Enhancement
[X ] Bug
[ ] Question
Version
Please specify what version of the library you are using: [3.20.0]
If you are not using the latest release, please update and see if the issue is resolved before submitting an issue.
Expected / Desired Behavior / Question
I want to use ListItemAttachments in my project and I test with sharepoint.com/_layouts/15/workbench.aspx.
My component request looks like this.
<ListItemAttachments
webUrl="https://tenantname.sharepoint.com/sites/Data/"
listId="0299c622-3efe-4b97-81f1-7e082d157bla"
itemId={15}
context={context}
/>
Observed Behavior
I always get the following message "Problem loading attachment, reason: files is null"
In the webbrowser console I see that instead of the webUrl being used the base url is used. I see this:
I expected:
I think that the problem is that in the file
src/controls/listItemAttachments/ListItemAttachments.tsx
this._spservice is called but webUrl is not always passed.
Metadata
Metadata
Assignees
Labels
status:fixed-next-dropIssue will be fixed in upcoming release.Issue will be fixed in upcoming release.