Skip to content

Add file block upload handlers#238

Merged
mkholt merged 2 commits intomasterfrom
feature/add_file_upload_requests
Sep 10, 2024
Merged

Add file block upload handlers#238
mkholt merged 2 commits intomasterfrom
feature/add_file_upload_requests

Conversation

@magesoe
Copy link
Collaborator

@magesoe magesoe commented Sep 9, 2024

Adds boilerplate support for the three requiests

"InitializeFileBlocksUpload",
"UploadBlockRequest",
"CommitFileBlocksUploadRequest"

No file store implemented, but works for barebone testing in current customer.

Tested locally.

Modified `DataHelper` to include "fileattachment" in default entities. Updated `Core.cs` with several formatting fixes and conditional compilation directives. Added new request handlers for file block uploads in `XrmMockupShared.projitems` and implemented `CommitFileBlocksUploadRequestHandler`, `InitializeFileBlocksUploadRequestHandler`, and `UploadBlockRequestHandler`.
Copy link
Member

@mkholt mkholt left a comment

Choose a reason for hiding this comment

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

Looks good, as long as you don't need to actually read the data afterwards

@mkholt mkholt merged commit 3b613c9 into master Sep 10, 2024
@mkholt mkholt deleted the feature/add_file_upload_requests branch June 23, 2025 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants