Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
wiki:syntax [2023/06/07 12:42] – ct | wiki:syntax [2023/06/07 15:06] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ==== Concept Office -Zammad- Anbindung | + | ====== Formatting Syntax ====== |
- | === Funktionsumfang: === | + | [[doku> |
- | * Stammdatenabgleich | + | |
- | * Serviceauftragserstellung aus dem Zammad-Ticket-System | + | |
- | ==== Allgemeines zum Stammdatenabgleich: | + | ===== Basic Text Formatting ===== |
- | * Abgleich von Firmen und Ansprechpartnern | + | |
- | * Firmen werden in Zammad als " | + | |
- | * Ansprechpartner werden in Zammad als User angelegt. | + | |
- | * Führendes System ist Concept Office, sprich Änderungen der Stammdaten in Zammad führen zu keiner Änderung in Concept Office. Beim nächsten Abgleich der Systeme werden alle Änderungen die ausschließlich in Zammad erfolgten, verworfen. | + | |
- | === Firmen Exportfelder: | + | DokuWiki supports **bold**, //italic//, __underlined__ and '' |
- | Übertragen werden die folgenden drei Kategorien: | + | |
- | - Alle Datenbankfelder in der Tabelle " | + | |
- | - Default-Felder in Zammad: | + | |
- | - " | + | |
- | - " | + | |
- | - " | + | |
- | - Zusätzlich können individuelle Felder über selbst erstellte Recherchen übertragen werden. (Mehr zum Thema selbst erstellte Recherchefelder im Kapitel Recherchefelder). | + | |
- | === Ansprechpartner Exportfelder: | + | DokuWiki supports **bold**, //italic//, __underlined__ and '' |
- | Übertragen werden die Folgenden drei Kategorien: | + | |
- | - Alle Datenbankfelder in der Tabelle " | + | |
- | - Default-Felder in Zammad: | + | |
- | - " | + | |
- | | + | |
- | === Recherchefelder (Custom Fields): === | + | You can use < |
- | Mithilfe von Recherchen können weitere Datenfelder an Zammad übertragen und synchronisiert werden. | + | |
- | Ablauf am Beispiel des Feldes " | + | You can use < |
- | - | + | |
- | - | + | You can mark something as < |
- | Beispiel: | + | |
+ | You can mark something as < | ||
+ | |||
+ | **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line. | ||
+ | |||
+ | This is some text with some linebreaks\\ Note that the | ||
+ | two backslashes are only recognized at the end of a line\\ | ||
+ | or followed by\\ a whitespace \\this happens without it. | ||
+ | |||
+ | This is some text with some linebreaks\\ Note that the | ||
+ | two backslashes are only recognized at the end of a line\\ | ||
+ | or followed by\\ a whitespace \\this happens without it. | ||
+ | |||
+ | You should use forced newlines only if really needed. | ||
+ | |||
+ | ===== Links ===== | ||
+ | |||
+ | DokuWiki supports multiple ways of creating links. | ||
+ | |||
+ | ==== External ==== | ||
+ | |||
+ | External links are recognized automagically: | ||
+ | |||
+ | DokuWiki supports multiple ways of creating links. External links are recognized | ||
+ | automagically: | ||
+ | link text as well: [[http:// | ||
+ | addresses like this one: < | ||
+ | |||
+ | ==== Internal ==== | ||
+ | |||
+ | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. | ||
+ | |||
+ | Internal links are created by using square brackets. You can either just give | ||
+ | a [[pagename]] or use an additional [[pagename|link text]]. | ||
+ | |||
+ | [[doku> | ||
+ | |||
+ | You can use [[some: | ||
+ | |||
+ | You can use [[some: | ||
+ | |||
+ | For details about namespaces see [[doku> | ||
+ | |||
+ | Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[syntax# | ||
+ | |||
+ | This links to [[syntax# | ||
+ | |||
+ | Notes: | ||
+ | |||
+ | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. | ||
+ | * DokuWiki does not use [[wp> | ||
+ | * When a section' | ||
+ | |||
+ | ==== Interwiki ==== | ||
+ | |||
+ | DokuWiki supports [[doku> | ||
+ | |||
+ | DokuWiki supports [[doku> | ||
+ | For example this is a link to Wikipedia' | ||
+ | |||
+ | ==== Windows Shares ==== | ||
+ | |||
+ | Windows shares like [[\\server\share|this]] are recognized, too. Please note that these only make sense in a homogeneous | ||
+ | |||
+ | Windows Shares like [[\\server\share|this]] are recognized, too. | ||
+ | |||
+ | Notes: | ||
+ | |||
+ | * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone" | ||
+ | | ||
+ | |||
+ | LANG.nosmblinks = ''; | ||
+ | |||
+ | ==== Image Links ==== | ||
+ | |||
+ | You can also use an image to link to another internal or external page by combining the syntax for links and [[# | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | Please note: The image formatting is the only formatting syntax accepted in link names. | ||
+ | |||
+ | The whole [[# | ||
+ | |||
+ | ===== Footnotes ===== | ||
+ | |||
+ | You can add footnotes ((This is a footnote)) by using double parentheses. | ||
+ | |||
+ | You can add footnotes ((This is a footnote)) by using double parentheses. | ||
+ | |||
+ | ===== Sectioning ===== | ||
+ | |||
+ | You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically | ||
+ | |||
+ | ==== Headline Level 3 ==== | ||
+ | === Headline Level 4 === | ||
+ | == Headline Level 5 == | ||
+ | |||
+ | ==== Headline Level 3 ==== | ||
+ | === Headline Level 4 === | ||
+ | == Headline Level 5 == | ||
+ | |||
+ | By using four or more dashes, you can make a horizontal line: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Media Files ===== | ||
+ | |||
+ | You can include external and internal [[doku>images|images, | ||
+ | |||
+ | Real size: {{wiki: | ||
+ | |||
+ | Resize to given width: | ||
+ | |||
+ | Resize to given width and height((when the aspect ratio of the given width and height doesn' | ||
+ | |||
+ | Resized external image: | ||
+ | |||
+ | | ||
+ | Resize to given width: | ||
+ | Resize to given width and height: {{wiki: | ||
+ | Resized external image: | ||
+ | |||
+ | |||
+ | By using left or right whitespaces you can choose the alignment. | ||
+ | |||
+ | {{ wiki: | ||
+ | |||
+ | {{wiki: | ||
+ | |||
+ | {{ wiki: | ||
+ | |||
+ | {{ wiki: | ||
+ | {{wiki: | ||
+ | {{ wiki: | ||
+ | |||
+ | Of course, you can add a title (displayed as a tooltip by most browsers), too. | ||
+ | |||
+ | {{ wiki:dokuwiki-128.png |This is the caption}} | ||
+ | |||
+ | {{ wiki: | ||
+ | |||
+ | For linking an image to another page see [[#Image Links]] above. | ||
+ | |||
+ | ==== Supported Media Formats ==== | ||
+ | |||
+ | DokuWiki can embed the following media formats directly. | ||
+ | |||
+ | | Image | '' | ||
+ | | Video | '' | ||
+ | | Audio | '' | ||
+ | | Flash | '' | ||
+ | |||
+ | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. | ||
+ | |||
+ | ==== Fallback Formats ==== | ||
+ | |||
+ | Unfortunately not all browsers understand all video and audio formats. To mitigate the problem, you can upload your file in different formats for maximum browser compatibility. | ||
+ | |||
+ | For example consider this embedded mp4 video: | ||
+ | |||
+ | {{video.mp4|A funny video}} | ||
+ | |||
+ | When you upload a '' | ||
+ | |||
+ | Additionally DokuWiki supports a " | ||
+ | |||
+ | ===== Lists ===== | ||
+ | |||
+ | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' | ||
+ | |||
+ | * This is a list | ||
+ | * The second item | ||
+ | * You may have different levels | ||
+ | * Another item | ||
+ | |||
+ | - The same list but ordered | ||
+ | - Another item | ||
+ | - Just use indention for deeper levels | ||
+ | - That's it | ||
< | < | ||
- | declare @pk as int | + | * This is a list |
+ | * The second item | ||
+ | * You may have different levels | ||
+ | * Another item | ||
- | SELECT Anschriften.Strasse FROM Ansprechpartner | + | - The same list but ordered |
- | LEFT JOIN Anschriften ON AnsprechPartner.Mandant = Anschriften.Mandant AND | + | - Another item |
- | AnsprechPartner.KontaktNummer = Anschriften.KontaktNummer WHERE | + | - Just use indention for deeper levels |
- | Anschriften.AnschriftsNummer = AnsprechPartner.Anschriftsnummer AND | + | - That's it |
- | AnsprechPartner.AnsprechpartnerNummer = @pk | + | |
</ | </ | ||
- | - Zu Beachten ist das declare @pk as int. Dieses bezieht sich je nach Kontext entweder auf die Ansprechpartner-Nummer oder aber auf die Firmen-Nummer. | ||
- | - In der coMsgQueueServer.ini muss ein Verweis auf das Schema hinterlegt werden, welches die Definitionen für die Recherchefelder beinhaltet. Mehr dazu im Kaptiel coMsgQueueServer.ini | + | Also take a look at the [[doku> |
- | ==== Allgemeines zur Auftragsanlage | + | ===== Text Conversions ===== |
- | Der CO-Webservice bietet zwei dedizierte Schnittstellen für das Zammad-Ticket System. | + | DokuWiki can convert certain pre-defined characters or strings into images or other text or HTML. |
- | - / | + | The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, |
- | - / | + | |
- | Der erste Endpunkt dient der Auftragsanlage, | + | ==== Text to Image Conversions ==== |
- | === Allgemeines zum Hinzufügen von Auftragspositionen | + | DokuWiki converts commonly used [[wp> |
- | * Durch das Schreiben von Notizen mit hinterlegter Zeiterfassung in Zammad entstehen in Concept Office Tätigkeitspositionen. Hierfür müssen der Webhook, Trigger, die Serviceaufträge_einlesen.ini und das Externe System korrekt angelegt worden sein. | + | * 8-) %% 8-) %% |
- | Wennn eine Zammad-Notiz als " | + | * 8-O %% 8-O %% |
+ | * :-( %% :-( %% | ||
+ | * :-) %% :-) %% | ||
+ | * =) %% =) %% | ||
+ | * :-/ %% :-/ %% | ||
+ | * :-\ %% :-\ %% | ||
+ | * :-? %% :-? %% | ||
+ | * :-D %% :-D %% | ||
+ | * :-P %% :-P %% | ||
+ | * :-O %% :-O %% | ||
+ | * :-X %% :-X %% | ||
+ | * :-| %% :-| %% | ||
+ | * ;-) %% ;-) %% | ||
+ | * ^_^ %% ^_^ %% | ||
+ | * :?: %% :?: %% | ||
+ | * :!: %% :!: %% | ||
+ | * LOL %% LOL %% | ||
+ | * FIXME %% FIXME %% | ||
+ | * DELETEME %% DELETEME %% | ||
+ | ==== Text to HTML Conversions ==== | ||
- | ==== Konfigurationsdateien ==== | + | Typography: [[DokuWiki]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters. |
- | === coMsgQueueServer.ini === | + | -> <- < |
+ | "He thought ' | ||
- | * **[Mode]** | + | < |
- | * Export=2 | + | -> <- < |
- | * Import=0 | + | "He thought ' |
- | * **[Export_1]** | + | </ |
- | * DateiFormat=Zammad | + | |
- | * ExportTyp=Kontakte | + | |
- | * ErstellerName=ConceptOffice | + | |
- | * SchemaKey=Zammad | + | |
- | * **[Export_2]** | + | |
- | * DateiFormat=Zammad | + | |
- | * ExportTyp=ansprechpartner | + | |
- | * ErstellerName=ConceptOffice | + | |
- | * SchemaKey=Zammad | + | |
- | * **[MsgQTables]** | + | |
- | * anschriften=0 | + | |
- | * ansprechpartner=0 | + | |
- | * ansprechpartnerfunktionen=0 | + | |
- | * ansprechpartnerstichworte=0 | + | |
- | * artikel=1 | + | |
- | * auftragskoepfe=0 | + | |
- | * kontakte=0 | + | |
- | * kontaktgeschaeftsbereiche=0 | + | |
- | * kontaktkontakte=0 | + | |
- | * kontaktmitarbeiter=0 | + | |
- | * kontaktprojekte=0 | + | |
- | * kontaktstichworte=0 | + | |
- | * kontaktwerbemittel=0 | + | |
- | * kundensonderkonditionen=0 | + | |
- | * kundensonderpreise=0 | + | |
- | * maschinen=1 | + | |
- | * maschinenOnly=0 | + | |
- | * mitarbeiter=0 | + | |
- | * verbindungen=0 | + | |
- | Das unter SchemaKey angegebene Schema, muss in der MsgQueueExport.ini definiert werden. Wenn die Datei noch nicht vorhanden sein sollte, dann muss diese unter Sysdata --> ImportExport anlegegt werden. Mehr zum Aufbau der Datei in dem Kaptitel MsgQueueExport.Ini | + | The same can be done to produce any kind of HTML, it just needs to be added to the [[doku>entities|pattern file]]. |
- | Die MsgQTable-Definitionen steuern das Lese-Verhalten aus der MsgQueueData Tabelle. | + | There are three exceptions which do not come from that pattern file: multiplication entity (640x480), ' |
- | Sprich auch wenn in der MsgQData Tabelle Beispielsweise Einträge zu Kontakten enthält, werden diese nur vom MsgQ-Server abgearbeitet, | + | |
- | Beachten: Wenn gar keine Schalter hinterlegt werden, dann werden ALLE Tabellen vom MsgQ-Server herangezogen und entsprechend nach der Verarbeitung gelöscht. | + | |
- | === MsgQueueExport.ini | + | ===== Quoting ===== |
- | * [Zammad] | + | |
- | **(Firmen Einstellungen)** | + | Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
+ | |||
+ | >>> | ||
- | **(Ansprechpartner Einstellungen)** | + | I think we should do it |
- | * CustomFieldUsers_1=" | + | > No we shouldn' |
- | * CustomFieldUsers_2=" | + | |
- | * CustomFieldUsers_3=" | + | |
- | * AuchPrivateAPMailAdressenVerwenden=1 | + | |
- | * PruefungFremdschluesselAusFremdsystemUsers=1 | + | |
- | **(Algemeine Einstellungen)** | + | >> Well, I say we should |
- | * LimitSearchResult=3 | + | > Really? |
- | * AnzahlCustomFields=10 | + | |
- | **Anmerkungen: | + | >> Yes! |
- | * Selbst defininerte Recherche-Felder müssen unter dem Namen " | + | >>> |
- | * " | + | ===== Tables ===== |
- | * " | + | DokuWiki supports a simple syntax to create tables. |
- | * " | + | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ |
+ | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | ||
+ | | Row 2 Col 1 | some colspan (note the double pipe) || | ||
+ | | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | | ||
- | * " | + | Table rows have to start and end with a '' |
- | === Office.dat === | + | ^ Heading |
- | * WriteMsgQueueDataAnschriften=1 | + | |
- | | + | |
- | * WriteMsgQueueDataAnsprechpartnerFunktionen=1 | + | |
- | * WriteMsgQueueDataAnsprechpartnerStichworte=1 | + | |
- | * WriteMsgQueueDataArtikel=1 | + | |
- | * WriteMsgQueueDataAuftragskoepfe=1 | + | |
- | * WriteMsgQueueDataKontakte=1 | + | |
- | * WriteMsgQueueDataKontaktGeschaeftsBereiche=1 | + | |
- | * WriteMsgQueueDataKontaktKontakte=1 | + | |
- | * WriteMsgQueueDataKontaktMitarbeiter=1 | + | |
- | * WriteMsgQueueDataKontaktProjekte=1 | + | |
- | * WriteMsgQueueDataKontaktStichworte=1 | + | |
- | * WriteMsgQueueDataKontaktWerbeMittel=1 | + | |
- | * WriteMsgQueueDataKundensonderkonditionen=1 | + | |
- | * WriteMsgQueueDataKundensonderPreise=1 | + | |
- | * WriteMsgQueueDataMaschinen=1 | + | |
- | * WriteMsgQueueDataMaschinenOnly=1 | + | |
- | | + | |
- | | + | |
- | Mit diesen Einstellugen ist es möglich, das nur bestimmte Tabellen für MsgQ-Einträge beachtet werden. Wenn gar keine MsgQ-Schalter in der Office.dat hinterlegt werden, dann werden alle Tabellen für die MsgQ Verwendet. Wichtig die Einstellung die hier getroffen werden, steuer nur das Schreiben in die MsgQueueData Tabelle, nicht das Lesen dieser Einträge. Das Lesen wird über die " | + | To connect cells horizontally, just make the next cell completely empty as shown above. Be sure to have always the same amount of cell separators! |
- | === Serviceaufträge_einlesen.ini === | + | Vertical tableheaders are possible, too. |
- | * [SchemaName] | + | |
- | * ToleranteKontaktPruefung=1 (bool) | + | |
- | * FremdschluesselAnlegenBeiErfolgreicherSuche=0 (bool) | + | |
- | * BearbeitungsStatus=0 | + | |
- | * UnterbearbeitungsStatus=1 | + | |
- | * Geschaeftsbereich=TKD | + | |
- | * TaetigkeitsartikelNr=1001 | + | |
- | * InternalMessageIgnorieren=1 (bool) | + | |
- | * Stundenart=7 | + | |
- | * NullZeitenErlauben=0 (bool) | + | |
- | Die hier hinterlegten Schalter Steuern die Auftragsanlage sowie die Anlage von Auftragspositionen aus dem Zammad-Ticket. | + | | ^ Heading 1 ^ Heading 2 ^ |
+ | ^ Heading 3 | Row 1 Col 2 | Row 1 Col 3 | | ||
+ | ^ Heading 4 | no colspan this time | | | ||
+ | ^ Heading 5 | Row 2 Col 2 | Row 2 Col 3 | | ||
- | **Zum Schalter " | + | As you can see, it's the cell separator before a cell which decides about the formatting: |
- | Wenn auf 1 gestellt (true), dann wird nicht mehr der CO-Firmennamen gegen den Ticket-Firmennamen geprüft. Hintergrund: | + | | ^ Heading |
+ | ^ Heading 3 | Row 1 Col 2 | Row 1 Col 3 | | ||
+ | ^ Heading 4 | no colspan this time | | | ||
+ | ^ Heading 5 | Row 2 Col 2 | Row 2 Col 3 | | ||
- | **Zum Schalter " | + | You can have rowspans (vertically connected cells) by adding '' |
- | Ablauf: Im Zammad-Ticket wird eine Maschine zum Kunden ausgewählt und das Ticket aktualisiert. Es kommt über den CO-Webservice zur Auftragsanlage. Wenn allerdings kein Fremdschlüssel zu der von Zammad übermittelten Firmen-ID vorliegt, dann wird der Kunde über die mitgegebene Maschine ermittelt. Wenn der Schalter auf 1 (true) gesetzt ist, dann wird nach Abgleich des Kontaktes (Siehe Schalter ToleranteKontaktPruefung) dauerhaft der entsprechende Fremdschlüssel auf der Datenbank angelegt. | + | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ |
+ | | Row 1 Col 1 | this cell spans vertically | Row 1 Col 3 | | ||
+ | | Row 2 Col 1 | ::: | Row 2 Col 3 | | ||
+ | | Row 3 Col 1 | ::: | Row 2 Col 3 | | ||
- | **Zum Schalter " | + | Apart from the rowspan syntax those cells should not contain anything else. |
- | Wenn auf 1 gestellt (true), dann werden interne Zammad-Ticket-Nachrichten insofern ignoriert, dass keine Auftragspositionen durch diese entstehen. | + | ^ Heading |
+ | | Row 1 Col 1 | this cell spans vertically | Row 1 Col 3 | | ||
+ | | Row 2 Col 1 | ::: | Row 2 Col 3 | | ||
+ | | Row 3 Col 1 | ::: | Row 2 Col 3 | | ||
- | **Zum Schalter " | + | You can align the table contents, too. Just add at least two whitespaces at the opposite end of your text: Add two spaces on the left to align right, two spaces on the right to align left and two spaces at least at both ends for centered text. |
- | Wenn auf 1 gestellt (true), dann werden Zammad-Ticket-Nachrichten die keine Zeiterfassung haben, also Zeit=0 Minuten, nicht als Auftragspositionen im Auftrag angelegt. | + | |
- | ==== Allgemeines zur Serviceauftragserstellung: | + | ^ Table with alignment |
+ | | | ||
+ | |left | | ||
+ | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
- | Über das Zusammenspiel von Zammad -Triggern und -Webhooks, sowie dem Concept-Office MsgQ-Server ist es möglich, automatisiert Serviceaufträge aus Tickets zu erstellen, sowie Informationen aus dem Serviceauftrag wieder | + | This is how it looks in the source: |
- | ==== Installation und Einrichtung: | + | ^ Table with alignment |
+ | | | ||
+ | |left | | ||
+ | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
- | === Stammdatenübertragung und Synchronisation=== | + | Note: Vertical alignment is not supported. |
- | Es folgt eine Schritt-für-Schritt-Anleitung. Wenn der Arbeitsschritt in Zammad erledigt werden muss, dann beginnt der Paragraph mit **[Zammad]**, | + | ===== No Formatting ===== |
- | * **[Zammad]** Einen Benutzer erstellen, dem Concept Office als Account nutzen kann. | + | If you need to display text exactly like it is typed (without any formatting), enclose the area either with '' |
- | * **[Zammad]** In den Profil-Einstellungen des soeben erstellten Accounts muss nun ein Access Token generiert werden. Dieses Token bitte notieren. | + | |
- | * **[CO]** Externes System, mit System-Art " | + | |
- | | Feld | Wert | | + | < |
- | | URL | Hier die URL der genutzten Zammad-API hinterlegen. | | + | This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it. |
- | | Zammad-Token: | Hier den eben in Zammad erstellten und notierten Token unter " | + | </ |
- | | Secret | Hier ein beliebiges Passwort hinterlegen, dieses Dient der Hash-Generierung als Salt und muss entsprechend in einem späteren Schritt ebenfalls in Zammmad hinerlegt werden| | + | The same is true for %%// |
- | | CO-MitarbeiterNr. | Der hier hinterlegte Mitarbeiter dient zur Authentifizierung im CO-Webservice | | + | |
- | * **[CO]** Die MsgQ-Protokollierung muss aktiviert werden. Zur Fein-Steuerung bitte das Kapitel " | + | |
+ | This is some text which contains addresses like this: http:// | ||
+ | </ | ||
+ | The same is true for %%// | ||
- | * **[CO]** | + | ===== Code Blocks ===== |
- | * **[CO]** Recherchen für die " | + | You can include code blocks into your documents by either indenting them by at least two spaces (like used for the previous examples) or by using the tags '' |
- | | + | |
- | + | ||
- | An dieser Stelle kann der Stammdatenabgleich erfolgen. Das Kapitel " | + | |
- | Als erstes sollte man einen Blick in die Tabelle MsgQueueData werfen. Es empfiehlt sich, falls dort Einträge vorhanden sind, diese zu Löschen. Anschließend die Tabelle MsgQueueData mit folgender SQL-Anweisung befüllen: | + | |
< | < | ||
- | INSERT INTO MsgQueueData | + | This is preformatted code all spaces are preserved: like <-this |
- | ( ClientID, ApplicationName, | + | |
- | SELECT Kontakte.Mandant, | + | |
- | FROM Kontakte WHERE Mandant = 1 AND Uebernahme = 1 AND IstInteressent = 0 AND IstLieferant = 0 AND IstKunde = 1 | + | |
</ | </ | ||
- | Bitte den Mandanten in der SQL-Anweisung beachten! | + | < |
- | Es können beliebige Einschränkungen, in der WHERE-Bedingung, | + | This is pretty much the same, but you could use it to show that you quoted a file. |
+ | </ | ||
- | Anschließend das Programm Sc.Co.MsgQServer starten. Der Datenabgleich wird, wenn alles korrekt konfiguriert wurde, sogleich gestartet. Im MsgQ-Log werden Fehleraufzeichnungen protokolliert. | + | Those blocks were created by this source: |
- | Nach der erfolgreichen Übertragung der Kontakte kann nun die Übertragung der Ansprechpartner folgen. Hierfür bitte folgende SQL-Anweisung anpassen: | + | This is text is indented by two spaces. |
+ | |||
+ | < | ||
+ | This is preformatted code all spaces are preserved: like <-this | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | This is pretty much the same, but you could use it to show that you quoted a file. | ||
+ | </ | ||
+ | |||
+ | ==== Syntax Highlighting ==== | ||
+ | |||
+ | [[wiki: | ||
+ | |||
+ | <code java> | ||
+ | /** | ||
+ | * The HelloWorldApp class implements an application that | ||
+ | * simply displays "Hello World!" | ||
+ | */ | ||
+ | class HelloWorldApp { | ||
+ | public static void main(String[] args) { | ||
+ | System.out.println(" | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | The following language strings are currently recognized: //4cs, 6502acme, 6502kickass, | ||
+ | |||
+ | ==== Downloadable Code Blocks ==== | ||
+ | |||
+ | When you use the '' | ||
< | < | ||
- | INSERT INTO MsgQueueData | + | <file php myexample.php> |
- | ( ClientID, ApplicationName, | + | <?php echo "hello world!"; |
- | SELECT AnsprechPartner.Mandant, | + | </ |
- | FROM AnsprechPartner WHERE Mandant = 1 AND Aktiv = 1 | + | |
</ | </ | ||
- | Bitte den Mandanten in der SQL-Anweisung beachten! | + | <file php myexample.php> |
+ | <?php echo "hello world!"; ?> | ||
+ | </ | ||
- | Falls der MsgQServer noch am laufen ist, startet dieser auch sogleich mit der Datenübertragung. Ansonsten bitte einmal den MsgQServer starten. | + | If you don't want any highlighting but want a downloadable file, specify a dash ('' |
- | Nach der erfolgreichen Datenübertragung werden ab jetzt alle Datenänderungen der Firmen und Ansprechpartner mit Zammad synchronisiert. | ||
- | ----- | + | ===== Embedding HTML and PHP ===== |
+ | |||
+ | You can embed raw HTML or PHP code into your documents by using the '' | ||
+ | |||
+ | HTML example: | ||
+ | |||
+ | < | ||
+ | < | ||
+ | This is some <span style=" | ||
+ | </ | ||
+ | < | ||
+ | <p style=" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | This is some <span style=" | ||
+ | </ | ||
+ | < | ||
+ | <p style=" | ||
+ | </ | ||
+ | |||
+ | PHP example: | ||
+ | |||
+ | < | ||
+ | < | ||
+ | echo 'The PHP version: '; | ||
+ | echo phpversion(); | ||
+ | echo ' (generated inline HTML)'; | ||
+ | </ | ||
+ | < | ||
+ | echo '< | ||
+ | echo '< | ||
+ | echo '</ | ||
+ | </ | ||
+ | </ | ||
- | === Anlage Serviceaufträge durch Zammad-Ticket=== | + | < |
+ | echo 'The PHP version: '; | ||
+ | echo phpversion(); | ||
+ | echo ' (inline HTML)'; | ||
+ | </ | ||
+ | < | ||
+ | echo '< | ||
+ | echo '< | ||
+ | echo '</ | ||
+ | </ | ||
- | **[Zammad]** Folgende Ticket-Objects müssen angelegt werden. Der Anzeigename ist frei wählbar, nicht aber der Feldname. | + | **Please Note**: HTML and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed. |
- | * " | + | ===== RSS/ATOM Feed Aggregation ===== |
- | * " | + | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// |
- | * " | + | |
- | * " | + | |
- | **[Zammad]** Für die beiden Endpunkte | + | ^ Parameter |
+ | | any number | will be used as maximum number items to show, defaults to 8 | | ||
+ | | reverse | ||
+ | | author | ||
+ | | date | show item dates | | ||
+ | | description| show the item description. If [[doku> | ||
+ | | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. | ||
- | | Feld | Wert | | + | The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki:DokuWiki]] will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. The parameter tells [[wiki: |
- | | Name | Ein frei wählbarer Name. | | + | |
- | | Endpoint | https://Ihre_Domain/Office/CoServiceRestApi/ | + | |
- | | HMAC SHA1 Signature Token | Hier ein beliebiges Passwort hinterlegen, | + | |
- | | SSL Verify | + | |
+ | **Example: | ||
- | **[Zammad]** Als nächstes müssen die Trigger eingerichtet werden, die die Webhooks bedienen. Hier steht es dem Nutzer frei die Bedingungen individuell nach Bedarf zu konfigurieren. Es gilt dabei nur zu beachten, was im Kapitel " | + | {{rss> |
- | Außerdem zu beachten ist, das laut Dokumentation von Zammad, die Trigger in Alphabetischer Reihenfolge abgearbeitet werden. | + | |
- | Eine Beispielkonfiguration der Trigger: | + | {{rss> |
- | Webhook Maschine zugeordnet: | ||
- | | Feld | Wert | | + | ===== Control Macros ===== |
- | | Name | Ein frei wählbarer Name. | | + | |
- | | Conditions for affected objects | " | + | |
- | | Execute changes on objects | " | + | |
- | | Note | Frei wählbare Beschreibung | | + | |
- | | Active | + | |
- | Webhook Taetigkeit Hinzufuegen | + | Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: |
- | | Feld | Wert | | + | ^ Macro ^ Description |
- | | Name | " | + | | %%~~NOTOC~~%% |
- | | Conditions for affected objects | + | | %%~~NOCACHE~~%% |
- | | Execute changes on objects | " | + | |
- | | Note | Frei wählbare Beschreibung | | + | |
- | | Active | + | |
- | === Statusabgleich zischen dem Zammad-Ticket und dem Concept Office Serviceauftrag | + | ===== Syntax Plugins ===== |
- | **[Zammad]** Als Ticket-Object muss das Feld " | + | DokuWiki' |
- | | Key | Display | | + | ~~INFO: |
- | | 10 | im Einsatz | | + | |
- | | 25 | in Werkstatt | | + | |
- | | 30 | Maschine eingeschickt | | + | |
- | | 20 | Nacharbeit | | + | |
- | Bei korrekter Einrichtung wird der Unterbearbeitungsstatus des Serviceauftrages durch den MsgQ-Server abgeglichen. Sodass im Idealfall nur wenige Sekunden zwischen der Statusänderung im Serviceauftrag und der Änderung am Zammad-Ticket vergehen. |