Samo-entity-cart-app-module
Level: Intermediate
Keywords: application modules, entity cart, storing and assigning entities
The result: integration of entity-cart-app-module to your project
This site shows overview of samo-entity-cart-app-module. This module is of "dialog" type and works together with samo-entity-cart-dialog module. It "collects" selected entities and stores them into "entity cart". After clicking the entity-cart icon in the application toolbar, the samo-entity-cart-dialog appears and you can see all stored entities. It is useful for assigning them to other entity.
{
"type" : "component:entity-modules/entity-cart/samo-entity-cart-app-module",
"security": {
"loggedIn": true
},
"detailType" : "dialog",
"propertyGroupId" : "globalPropertyGroup",
"detail" :
{
"module" : {
"type": "component:entity-modules/entity-cart/samo-entity-cart-dialog",
"title": "{tr:cart.title}"
}
}
}
All configuration options are available in Dynamic-App Module Catalog.
To store some entity to the entity-cart you need to define an intent. To do this see Intent chapter and use add-to-entity-cart configuration intent.