Hey experts
I'm developing an application with a form with some sections. In one of this sections we have an attachment form field to upload some files and photos. We are using CAP as backend and, in the first moment, we want to store the photos locally, because our application has the requirment to run offline.
So, we have some questions:
1 - Which is the correct way to create an entity on CAP to store the image? (I'm asking this question because the entity made with CAP generates our metadata xml file, that provides a model to the MDK entity).
2 - Which is the correct way to create the entity locally? With CreateEntity or CreateMedia action?
We will be very happy if the experts could provide some examples for us.