I looked at several discussions about it, but none of them were useful to me. I want to upload a pdf file through the (Upload) component and I want its binary to be saved in the database. How do I do that? I posted some photos to show how I've done it so far.
Hello @vn_perpetuo
I see you are trying to upload a file in a list, Are you getting this list from API or it is bind with a Database table?
If it is a database table, then instead of using those local variables you need to bind your upload widget with a aggregate.
I have created one sample to upload a file within a list, please check and let me know if it works for you
https://personal-ejuytnht.outsystemscloud.com/SampleForumPOCS/SampleBinFileUpload?_ts=638313147867676970
ThanksTousif Khan
Hi vn_perpetuo,
Here I attached OML for your understanding.
Hope it will help you.
Thanks & Regard,
Parveen
Hi Parveen, thanks for the help.
In my case, "CreateOrUpdate" does not appear as an option, can you tell me why?
Hello,
I think your database is in the core and its expose to read only is set to Yes. This means that you cannot use the CRUD operations outside the module.
May be because of that you are not able to see the CRUD functionality. You can create the Upload logic in the core module and use the server action in the End User module.
This action will be in core module.
Add it through manage dependency in the end user module and use it on Upload click.
Hope it helps you..
Regards,
Pavan R
Hi, Please check your expose read-only property of the entity. It should be NO when you are using another module.
Thanks.