Skip to content
Snippets Groups Projects
Commit 8161c9e7 authored by S.Listl's avatar S.Listl
Browse files

Integration of Tiles view in WorkflowDefinition

parent cbab84b3
No related branches found
No related tags found
No related merge requests found
......@@ -194,6 +194,9 @@
</entityParameter>
</children>
</entityConsumer>
<entityField>
<name>VERSION_TITLE</name>
</entityField>
</entityFields>
<recordContainers>
<jDitoRecordContainer>
......@@ -234,6 +237,9 @@
<jDitoRecordFieldMapping>
<name>DESCRIPTION.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>VERSION_TITLE.value</name>
</jDitoRecordFieldMapping>
</recordFieldMappings>
</jDitoRecordContainer>
</recordContainers>
......
......@@ -3,5 +3,5 @@ import("system.result");
import("system.neon");
import("system.workflow");
if (vars.get("$sys.viewmode") == neon.FRAME_VIEWMODE_DATASET && vars.get("$sys.recordstate") == neon.OPERATINGSTATE_VIEW && vars.get("$field.VERSION"))
if (vars.get("$sys.recordstate") == neon.OPERATINGSTATE_VIEW && vars.get("$field.VERSION"))
result.string(workflow.getProcessDiagram(vars.get("$field.UID")));
\ No newline at end of file
import("system.translate");
import("KeywordRegistry_basic");
import("system.vars");
import("system.result");
......@@ -50,7 +51,8 @@ result.object((function ()
def.key,
def.version,
def.active,
def.description || ""
def.description || "",
translate.withArguments("Version %0", [def.version])
];
});
......
......@@ -4,9 +4,9 @@
<majorModelMode>DISTRIBUTED</majorModelMode>
<filterable v="true" />
<layout>
<boxLayout>
<groupLayout>
<name>layout</name>
</boxLayout>
</groupLayout>
</layout>
<children>
<tableViewTemplate>
......@@ -35,5 +35,15 @@
</neonTableColumn>
</columns>
</tableViewTemplate>
<tilesViewTemplate>
<name>Tiles</name>
<iconField>DIAGRAM</iconField>
<titleField>NAME</titleField>
<descriptionField>DESCRIPTION</descriptionField>
<infoTopField>VERSION_TITLE</infoTopField>
<favoriteActionGroup1>tableActions</favoriteActionGroup1>
<entityField>#ENTITY</entityField>
<isCreatable v="true" />
</tilesViewTemplate>
</children>
</neonView>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment