pnp / pnp/sp-dev-fx-controls-react
[Dynamic Form] Implement Attachments functionality
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 433
- Forks
- 418
- Avg merge
- 5d 6m
- Merged PRs (30d)
- 19
Description
Category
- Enhancement
- Bug
- Question
Version 3.17.0
Expected / Desired Behavior / Question
Standard SharePoint list forms implement Attachments functionality. This functionality is required for our implementation.
Ideally, I would like to inject simple customizations into standard SharePoint forms, similar to injecting JSLink in classic forms. However, no such functionality exists in modern forms. For example, I need to set default value of the Org Unit field from a URL parameter value and make the field read only. Now, the only way we can implement it is with SPFx or Power Apps. Both options are an overkill and a deployment and maintenance nightmare. If there was a site collection feature to enable custom JavaScript injections, that would address a myriad of challenges.
Observed Behavior
Attachments functionality is missing from Dynamic Forms component.
Steps to Reproduce
Implement Form Customizer extensions with a Dynamic Form for a list that has attachments enabled. Notice that Attachments control is missing from the form.
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 with the Dynamic Form component through a Form Customizer extension and reproduce the issue using a SharePoint list with attachments enabled. Identify the existing form controls and determine where attachment handling belongs; done means the Attachments control is present in the Dynamic Form for such lists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100