Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: File input form field #4896

Closed
sayyad84 opened this issue Nov 27, 2019 · 3 comments
Closed

Question: File input form field #4896

sayyad84 opened this issue Nov 27, 2019 · 3 comments
Milestone

Comments

@sayyad84
Copy link

sayyad84 commented Nov 27, 2019

Hi,
What is the purpose of creating File input form field without implementing Upload it? Please provide details on how to implement Upload File input in workflow or other ways.
I created a workflow module to send the field value to the server via the File.Copy command, but it doesn't seem to be the right way.

@MostafaBelihi
Copy link

Hi Orchard Team,

I found an Upload action in the following path in the project repo:
src/OrchardCore.Modules/OrchardCore.Media/Controllers/AdminController.cs

Does the built-in form use it?

I also tried using Input widget of type file to upload a file, but it seems not uploaded at all.

@dodyg
Copy link

dodyg commented Apr 26, 2020

@mst-dev check the code I uploaded at #6027

@sebastienros sebastienros added this to the 1.0.x milestone Apr 30, 2020
@Piedone
Copy link
Member

Piedone commented Mar 13, 2024

We have a File field for Forms now, so this can be closed. However, handling the file upload by Workflows after POST is not yet done, see #12218.

@Piedone Piedone closed this as completed Mar 13, 2024
@MikeAlhayek MikeAlhayek modified the milestones: 2.x, 2.0 Sep 7, 2024
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

No branches or pull requests

7 participants