Hi,
I want to upload a file using url. How to achieve this in reactive?
Hey Nihaal, Your logic flow must look like this. I tried it myself and its working.
Points to make sure :
1) Attribute length for URL must be Text and Max length must be sufficiently large (about 100).
2)The input from the scree should be in form of text.
3)the entity (FileData)created as with attributes follows: Id, File(Binary data)(Here File will be stored), FileUrl(Text)(Here we will insert the URL).
In the below picture you can see the file got saved.
Hello @Nihaal
You can get help form this link Upload document to a URL.
I hope This can help you
Regard
Nikhil kumar vijay
Hi Nikhil,
Actually my requirement is user will paste a link of a file in the input and we have to get that file from the link and save to the database.
Hi Nihaal. you may use GetRequest_Submit server action from https://success.outsystems.com/Documentation/11/Reference/OutSystems_APIs/HTTPRequestHandler_API.
What to send the arguments for the URL - "https://www.cmu.edu/blackboard/files/evaluate/tests-example.xls" in the getsubmit_request action. I used that in my logic but while debugging it is returns nothing.
I have tried using the same URL u have mentioned above in the chat , i am able to view the binary data as shown in the attached Screenshot .
Can u tell me input parameters that you passed to the GetSubmit_request action. If its possible share a screenshot of those.