Wiki-Quellcode von Beispiele
Zuletzt geändert von WinFried am 2016/01/26 09:44
Verstecke letzte Bearbeiter
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | {{layout}} |
| 2 | {{layout-section ac:type="single"}} | ||
| 3 | {{layout-cell}} | ||
| 4 | = {{id name="Beispiele-Diedocuments.configanhandeinespraktischenBeispiels"/}}Die documents.config anhand eines praktischen Beispiels = | ||
| 5 | {{/layout-cell}} | ||
| 6 | {{/layout-section}} | ||
| 7 | |||
| 8 | {{layout-section ac:type="single"}} | ||
| 9 | {{layout-cell}} | ||
| 10 | Hier wird Ihnen anhand eines Beispiel Schritt für Schritt erklärt wie die documents.config aufzubauen ist. Das wichtigste Dokument in WinFried ist der Gebührenbescheid. Deswegen legen wir als erstes einen **Bestattungsbescheid** an. | ||
| 11 | {{/layout-cell}} | ||
| 12 | {{/layout-section}} | ||
| 13 | |||
| 14 | {{layout-section ac:type="single"}} | ||
| 15 | {{layout-cell}} | ||
| 16 | {{info}} | ||
| 17 | Informationen zu den unterschiedlichen Gebührenbescheiden und wie man neue Gebührenbescheidtypen anlegt, finden Sie **[[hier>>confluencePage:page:WFD.Test]]**! | ||
| 18 | {{/info}} | ||
| 19 | {{/layout-cell}} | ||
| 20 | {{/layout-section}} | ||
| 21 | |||
| 22 | {{layout-section ac:type="single"}} | ||
| 23 | {{layout-cell}} | ||
| 24 | Um ein Gebührenbescheid anzulegen benötigen wir das XML-Tag **<invoice>** (Englisch für Rechnung) welches innerhalb des **<documents>** Tag eingebunden werden muss. | ||
| 25 | |||
| 26 | Die Config müsste nun wie folgt aussehen: | ||
| 27 | {{/layout-cell}} | ||
| 28 | {{/layout-section}} | ||
| 29 | |||
| 30 | {{layout-section ac:type="single"}} | ||
| 31 | {{layout-cell}} | ||
| 32 | {{code layout="linenumbers" title="Beispiel Gebührenbescheid" language="xml"}} | ||
| 33 | <?xml version="1.0" encoding="utf-8"?> | ||
| 34 | <winfried> | ||
| 35 | <documents> | ||
| 36 | <invoice id="01" | ||
| 37 | plugin="GB" | ||
| 38 | visible_name="Bestattungsbescheid" | ||
| 39 | path="Bescheide\bestattungsbescheid.docx" | ||
| 40 | add_to_dms="true" | ||
| 41 | fkkgb="2"> | ||
| 42 | <templates> | ||
| 43 | <template path="Templatevorlagen\vorlage-bescheide.docx" | ||
| 44 | bookmark="layout" | ||
| 45 | load_first="true"> | ||
| 46 | </template> | ||
| 47 | </templates> | ||
| 48 | </invoice> | ||
| 49 | </documents> | ||
| 50 | </winfried> | ||
| 51 | {{/code}} | ||
| 52 | {{/layout-cell}} | ||
| 53 | {{/layout-section}} | ||
| 54 | {{/layout}} |