Skip to main content
Skip table of contents

Operation: Get Theme by Id

Die Operation Get Theme by Id gibt die Theme-Datei aus, die sich im Projekt mit der angegeben Id befindet.

Wenn Änderungen zur Laufzeit vorgenommen wurden, wird der zur Laufzeit verwendete Inhalt der Theme-Datei ausgegeben.

Weitere Informationen zum Theming (Farben und Schriftarten) finden Sie im Web App-Handbuch.

Beispiel

Input

Der Adapter erwartet ein XML-Dokument als Input:

XML
<?xml version="1.0" encoding="UTF-8"?>
<Id>fa2c23b6-1843-4758-b686-06f3f748afff</Id> 

Folgende Elemente müssen im Input enthalten sein:

ElementBeschreibung
IdUUID des Projekts, in dem sich die Theme-Datei mit dem Dateityp .theme befindet.

Output

Der Adapter erzeugt ein XML-Dokument als Output:

XML
<?xml version="1.0" encoding="UTF-8"?>
<Theme>
   <ColorScheme>
      <Color50 contrast="#000000" normal="#ffffff"/>
      <Color100 contrast="#000000" normal="#f8f8f8"/>
      <Color200 contrast="#000000" normal="#e6e9f2"/>
      <Color300 contrast="#000000" normal="#f0f0f0"/>
      <Color400 contrast="#ffffff" normal="#ececec"/>
      <Color500 contrast="#ffffff" normal="#1e3278"/>
      <Color600 contrast="#000000" normal="#cbcbcb"/>
      <Color700 contrast="#ffffff" normal="#aeaeae"/>
      <Color800 contrast="#ffffff" normal="#919191"/>
      <Color900 contrast="#ffffff" normal="#2b2b2b"/>
      <ColorA100 contrast="#000000" normal="#f3f3f3"/>
      <ColorA200 contrast="#ffffff" normal="#7180b5"/>
      <ColorA400 contrast="#000000" normal="#ececec"/>
      <ColorA700 contrast="#ffffff" normal="#ff5a00"/>
   </ColorScheme>
   <ChartScheme>
      <Color01 contrast="#000000" normal="#e7aada"/>
      <Color02 contrast="#000000" normal="#84c08c"/>
      <Color03 contrast="#000000" normal="#adb7f4"/>
      <Color04 contrast="#000000" normal="#d4e2a2"/>
      <Color05 contrast="#000000" normal="#4abfe8"/>
      <Color06 contrast="#000000" normal="#eabf8d"/>
      <Color07 contrast="#000000" normal="#78ccf9"/>
      <Color08 contrast="#000000" normal="#abb87a"/>
      <Color09 contrast="#000000" normal="#f6a2ac"/>
      <Color10 contrast="#000000" normal="#82e8db"/>
      <Color11 contrast="#000000" normal="#9cdfb4"/>
      <Color12 contrast="#000000" normal="#55cdd8"/>
      <ColorGaugeAxisMin contrast="#ffffff" normal="#228b22"/>
      <ColorGaugeAxisMiddle contrast="#ffffff" normal="#3e5570"/>
      <ColorGaugeAxisMax contrast="#ffffff" normal="#ff4500"/>
   </ChartScheme>
   <Fonts>
        <MainFont>
            <Font sourceType="system">Arial</Font>
        </MainFont>
        <Font01>
            <Font sourceType="system">Calibri</Font>
            <Font sourceType="web">https://fonts.google.com/specimen/Noto+Sans</Font>
        </Font01>
        <Font02>
            <Font sourceType="web">https://fonts.google.com/specimen/Lora#standard-styles</Font>
        </Font02>
    </Fonts>
</Theme>

Das Element <Theme> kann folgende Elemente enthalten:

ElementBeschreibung
ColorScheme

Enthält Definitionen des Main Themes, das in der Web App verwendet wird.

ChartSchemeEnthält Definitionen des Chart Themes, das in der Web App verwendet wird.
FontsEnthält Definitionen der Schriftarten, die in der Web App verwendet werden.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.