Upload PDF Component to Azure Blob #2513
Answered
by
masenf
viswanadula8828
asked this question in
Q&A
-
How to display uploaded files on the UI using reflex libraries. I tried, but didn't find easier way. I am trying below things. I was able to acheive with text box, but was not sucessful with pdf documents
Need help with Point 1 and Point 2.!! |
Beta Was this translation helpful? Give feedback.
Answered by
masenf
Feb 2, 2024
Replies: 1 comment 3 replies
-
Couple of clarifying questions:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
have you played with the
rx.upload
component as described here https://reflex.dev/docs/library/forms/upload/?You can get the raw bytes of the file in the event handler and then send that off to the API directly if it accepts bytes. If it only accepts a URL, then i guess you will have to upload it somewhere.
From the upload event handler though you can get access to the user information recorded in the state (assuming that you're tracking users already in some way)