Gremlin concepts is at production stage, and available in macros.
What is a Gremlin Concept?
Concepts were developed to allow the creation of views, indicators, KPIs and tables, based on scripts and supporting ranking and matching sort orders. Macros can expose entities by directly calling the scripts, concepts get rid of all the boilerplate.
Concept's composition
| View |
Description |
| Usage |
Simple entity lists, without navigation. Accepts the limit parameter in macros. Example usage include landing pages with short listings. |
| Root |
Refers to the entity root. This value tells the view which entities are retrieved. |
| Name |
Concept's name, as it will be invoked within macros or iterators. |
| Description |
Supporting text for final users. |
| Entities |
Script retrieving the entities for this view or iterator. |
| Ranking |
Script with ranking sort order. Returns entity's ID and the ranking value. |
| Matching |
Script with matching sort order. Requires the use of {{contactId}} expansion macro, in order to match the entities with the given user. |
| Template |
Template to be used when showing the entity listing. This template receives the actual entity, with full data.
This value can be overriden by iterators. |
| Full template |
Template to be used when showing the full entity. This template receives the actual entity, with full data.
This value can be overriden by iterators. |
| Indicator |
Description |
| Usage |
Statistics, dashboards. Since returns a single value, can be independently formatted and named. |
| Root |
Refers to the entity root. This value tells the view which entities are retrieved. |
| Name |
Concept's name, as it will be invoked within macros or iterators. |
| Description |
Supporting text for final users. |
| Value |
Script with the value. Returns a single value. |
| KPI |
Description |
| Usage |
Statistics, dashboards. Since returns a single value, can be independently formatted and named. |
| Root |
Refers to the entity root. This value tells the view which entities are retrieved. |
| Name |
Concept's name, as it will be invoked within macros or iterators. |
| Description |
Supporting text for final users. |
| Now |
Script with the current value. Indicator scripts can be used. Returns a single value. |
| Then |
The same script than Now, but must support the {{period}} expansion macro, in order to return a past value. |
| Format |
Indicates whether to return the difference between Now and Then in a value or a percentage. |
| Periode |
Indicates which period to use to create the Then value. |
| Table |
Description |
| Usage |
Statistics, dashboards. Simple entity = value lists, without navigation. Accepts the limit parameter in macros. |
| Root |
Refers to the entity root. This value tells the view which entities are retrieved. |
| Name |
Concept's name, as it will be invoked within macros or iterators. |
| Description |
Supporting text for final users. |
| Rows |
Script with the list of entity IDs and a related value. Simple view for entity/value list, mostly used for entity = count of related entities. |
| Order |
Indicates whether use ASC or DESC sort order. |