pnp / pnp/sp-dev-fx-controls-react

ListItemAttachments. How to rename the file before it is saved as an attachment.

Open
#1,873 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Needs: Prototyping type:question
Dominant language
TypeScript
Stars
433
Forks
418
Avg merge
5d 6m
Merged PRs (30d)
19

Description

Category

[x ] Enhancement

[ ] Bug

[ x] Question

Version

Please specify what version of the library you are using: [ 3.18.1 ]

Expected / Desired Behavior / Question

It would be great to have an opportunity to rename the file before it is saved as an attachment. There are a lot of cases where you need to rename file before it will be uploaded.

Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the ListItemAttachments control and tracing how a selected file reaches the attachment-save step. Clarify the expected renaming interface and verify that the file is saved under the requested name before considering the work complete; the issue does not identify files or tests.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.