Difference between revisions of "CustomTextStyles"
(Created page with "__NOTOC__ {{DISPLAYTITLE: customTextStyles}} ==Scope== Web Assistant parameter, specified either in the URL or in the Web Assistant parameters in the linked application. ==P...") |
|||
Line 6: | Line 6: | ||
==Purpose== | ==Purpose== | ||
− | If this parameter is set to '''true''' then the text styles used in the Web Assistant are taken from the relevant ''Text Styles'' resource in the Workarea, depending on the value of the '''[[ | + | If this parameter is set to '''true''' then the text styles used in the Web Assistant are taken from the relevant ''Text Styles'' resource in the Workarea, depending on the value of the '''[[theme]]''' parameter. |
==Usage== | ==Usage== | ||
Line 17: | Line 17: | ||
|- | |- | ||
| <tt>default</tt> || ''Text Styles: Web Assistant - Default Theme'' | | <tt>default</tt> || ''Text Styles: Web Assistant - Default Theme'' | ||
+ | |- | ||
+ | | <tt>hcb</tt> || ''Text Styles: Web Assistant - HCB Theme'' | ||
+ | |- | ||
+ | | <tt>hcw</tt> || ''Text Styles: Web Assistant - HCW Theme'' | ||
|- | |- | ||
| <tt>light</tt> || ''Text Styles: Web Assistant - Light Theme'' | | <tt>light</tt> || ''Text Styles: Web Assistant - Light Theme'' | ||
|- | |- | ||
− | | <tt> | + | | <tt>quartz</tt> || ''Text Styles: Web Assistant - Quartz Theme'' |
+ | |- | ||
+ | | <tt>quartzlight</tt> || ''Text Styles: Web Assistant - Quartz Light Theme'' | ||
|- | |- | ||
− | | <tt> | + | | <tt>sfsf</tt> || ''Text Styles: Web Assistant - SFSF Theme'' |
|} | |} | ||
− | Note that in the documentation for the 20 | + | If any of these are missing (or the '''theme''' parameter is missing or specifies an invalid value), the ''...Default'; theme is used instead. |
+ | |||
+ | Note that in the documentation for the 20.05 release only <tt>default</tt> and <tt>light</tt> are listed as options for the '''[[themeBase]]''' property. so I wouldn't recommend planning on the long-term availability of the <tt>HCB</tt> and <tt>SFSF</tt> options. | ||
These Text Styles can be found in the Workarea under '''Resources | Adaptable Resources''' and can be customized as required. | These Text Styles can be found in the Workarea under '''Resources | Adaptable Resources''' and can be customized as required. | ||
==See Also== | ==See Also== | ||
− | * '''[[ | + | * '''[[theme]]''' |
[[Category: Web Assistant parameter]] | [[Category: Web Assistant parameter]] |
Revision as of 19:10, 21 July 2021
Scope
Web Assistant parameter, specified either in the URL or in the Web Assistant parameters in the linked application.
Purpose
If this parameter is set to true then the text styles used in the Web Assistant are taken from the relevant Text Styles resource in the Workarea, depending on the value of the theme parameter.
Usage
Specified as:
customTextStyles=[false|true]
The Text Styles resource used is as follows:
themeBase | Text Styles resource used |
---|---|
default | Text Styles: Web Assistant - Default Theme |
hcb | Text Styles: Web Assistant - HCB Theme |
hcw | Text Styles: Web Assistant - HCW Theme |
light | Text Styles: Web Assistant - Light Theme |
quartz | Text Styles: Web Assistant - Quartz Theme |
quartzlight | Text Styles: Web Assistant - Quartz Light Theme |
sfsf | Text Styles: Web Assistant - SFSF Theme |
If any of these are missing (or the theme parameter is missing or specifies an invalid value), the ...Default'; theme is used instead.
Note that in the documentation for the 20.05 release only default and light are listed as options for the themeBase property. so I wouldn't recommend planning on the long-term availability of the HCB and SFSF options.
These Text Styles can be found in the Workarea under Resources | Adaptable Resources and can be customized as required.