pnp / pnp/sp-dev-fx-controls-react
DynamicForm DocumentSet issue
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 433
- Forks
- 418
- Avg merge
- 5d 6m
- Merged PRs (30d)
- 19
Description
Hi Guys,
I am using a DynamicForm for a custom content type, which is based on a document set. The library has more than 5000 folders and when I am trying to add a new item I receive an error: Error making HttpClient request in queryable [500] ::> {"odata.error":{"code":"-2147024860, Microsoft.SharePoint.SPQueryThrottledException","message":{"lang":"en-US","value":"The attempted operation is prohibited because it exceeds the list view threshold."}}}
How can I fix this? Seems like the error happens in the addSubFolderUsingPath function.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the addSubFolderUsingPath function mentioned in the report and trace the query it makes for a document-set DynamicForm. Reproduce the failure with a list containing more than 5,000 folders and determine what behavior is needed to avoid the SharePoint list-view-threshold error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- api, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100