Hi everyone, I am trying to add an entity (OrderImage) in my app to have a one to one link with the delivery of my order so that I can take a picture of the delivery slip that I receive with my order delivery. I know in the normal Web App there was a method called Scaffolding under the advance menu to create an entity that takes care of the image, but I do not know how can I do the similar in my reactive app. Finally I want my app to force a picture when adding a delivery note of an order.
Daniël Kuhlmann wrote:
Hi Badar,
There are some things that are not right:
OrderDetail screen
OrdersCreateOrUpdate server action
I made some changes and attached the updated version.
Regards
Daniel
Hi Daniel, thanks for your help, I manage to achieve what I wanted. Much appreciated.
It is the same place as always: on the Data Tab
Regards,
Just to visualize what Daniël has described:
You can mark Daniël's answer as solution.
Nordin
Nordin Ahdi wrote:
Hi Nordin, thanks for the illustration I manage to create the image with scaffolding method. But when I add the new delivery record then I am still not prompted to add the picture. Even though I have made the picture and file name ad mandatory? Am I doing something wrong? Please advise.
The scaffolding as explained in previous replies, only generated the entity.
See the next document for instructions (for reactive it is the same as for mobile)
https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Inputs/Enable_End_Users_to_Upload_Files
Hi Daniel, I followed your link, so at the time of saving the orderpicture I am stuck at the source. I am uploading my oml file. Would appriciate if you can point out where I am going wrong thanks.
Do you mind reuploading your oml so we can take a look?
Somehow it keeps showing this.
Thanks,
I am uploading the oml, after what Daniel shared with me.
"Finally I want my app to force a picture when adding a delivery note of an order".
With regard to your comment in your first post, I have added a custom validation that verifies if a picture is uploaded upon saving an order and an Image widget to display the uploaded OrderPicture.
I have added these small adjustments in Daniël's modified version.
Hi,
this is mounikarani.
I am trying to add Background picture to my Application but I am unable to add so can you please help me.