11-14-2012 12:32 PM
…
<config evaluator="model-type" condition="vb:rechnung">
<forms>
<form>
<field-visibility>
<show id="vb:Sachkonto" />
<show id="vb:Rechnungsnummer" />
<show id="vb:Rechnungseingang" />
<show id="vb:Bruttosumme" />
<show id="vb:inOrdnung" />
</field-visibility>
</form>
<form id="datagrid">
<field-visibility>
<show id="vb:Sachkonto" />
<show id="vb:Rechnungsnummer" />
<show id="vb:Rechnungseingang" />
<show id="vb:Bruttosumme" />
<show id="vb:inOrdnung" />
</field-visibility>
</form>
</forms>
</config>
…
<?xml version="1.0" encoding="UTF-8"?>
<!– xsi:schemaLocation="http://www.alfresco.org/model/dictionary/1.0 modelSchema.xsd" –>
<model name="vb:rechnungmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>Rechnung Model</description>
<author>xxxx</author>
<published>2012-10-09</published>
<version>1.0</version>
<imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
</imports>
<namespaces>
<namespace uri="http://www.haasiwork.de/model/content/1.0" prefix="vb"/>
</namespaces>
<types>
<type name="vb:rechnung">
<title>Rechnungsdokument Haasi</title>
<parent>cm:content</parent>
<properties>
<property name="vb:Rechnungssteller">
<title>Rechnungsteller</title>
<type>d:text</type>
</property>
<property name="vb:Sachkonto">
<title>Sachkonto</title>
<type>d:int</type>
</property>
<property name="vb:Rechnungsnummer">
<title>Rechnungsnummer</title>
<type>d:text</type>
</property>
<property name="vb:Rechnungseingang">
<title>Rechnungseingang</title>
<type>d:date</type>
</property>
<property name="vb:Bruttosumme">
<title>Bruttosumme</title>
<type>d:long</type>
</property>
<property name="vb:inOrdnung">
<title>OK</title>
<type>d:boolean</type>
</property>
</properties>
</type>
</types>
</model>
11-15-2012 04:34 AM
11-17-2012 04:03 PM
<config evaluator="string-compare" condition="DocumentLibrary">
<metadata-templates>
<template id="isRechnung">
<evaluator>evaluator.doclib.metadata.hasExif</evaluator>
<line index="10" id="date" view="detailed">{date} {size}</line>
<line index="20" id="description">{description} {description} {description}</line>
<line index="30" id="konto" view="detailed">{vb:Sachkonto}</line>
</template>
</metadata-templates>
11-19-2012 03:27 AM
11-20-2012 01:21 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.