Skip to main content
Skip table of contents

Operation: Get Theme by Id

The Get Theme by Id operation outputs the Theme file located in the project with the specified Id.

If changes were made at runtime, the contents of the theme file used at runtime are output.

For more information on Theming (Fonts and Colors), refer to the Web App Guide.

Example

Input

The adapter expects an XML document as input:

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

The following elements have to be included in the input:

ElementDescription
IdUUID of the project that contains the theme file with the .theme file type.

Output

The adapter generates an XML document as 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>

The <Theme> element can contain the following elements:

ElementDescription
ColorScheme

Contains definitions of the Main Theme used in the Web App.

ChartSchemeContains definitions of the chart theme used in the Web App.
FontsContains definitions of the fonts used in the Web App.
JavaScript errors detected

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

If this problem persists, please contact our support.