Certain objects are considered as containers and are handled by the UBIK® client differently in certain scenarios.
During creation
Once a container object is created and saved, a child object is immediately created automatically. The type of the child object to create depends on FIXME.
Document container
If a container is also a document at the same time, it will display a thumbnail image of its child documents.
Photo container
When the child type of a document container is configured to be photo documents, the container is considered as a photo container.
- The Media (take photo) button will be shown if it's possible to create a photo container;
- When a photo container is created and saved, the camera app will be immediately opened to allow the user to take a photo and created it as a child.
Technical details
- There should be only one child type configured for a container. If there are more, the first one will be chosen for child creation;
- In case of multiple child types, the priority to choose is photo first, non-photo document second and then regular content;
- Additionally, only photo child type are chosen for photo containers and only document types are chosen for document containers.