Difference between revisions of "HSIconFg"

From SAP Enable Now Wiki
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
==Scope==
 
==Scope==
Web Assistant parameter, specified either in the URL or in the Web Assistant parameters in the linked application.
+
SAP Companion parameter, specified either in the URL or in the SAP Companion parameters in the linked application.
  
 
==Purpose==
 
==Purpose==
Line 17: Line 17:
 
* [https://enablenowexpert.com/?p=321 Customizing colors in the Web Assistant]
 
* [https://enablenowexpert.com/?p=321 Customizing colors in the Web Assistant]
  
[[Category: Web Assistant parameter]]
+
[[Category: SAP Companion parameter]]

Revision as of 13:47, 14 July 2023

Scope

SAP Companion parameter, specified either in the URL or in the SAP Companion parameters in the linked application.

Purpose

Can be used to set the foreground color of Hotspot icons.

This color will be applied to all icons, unless the HsIconImpFg parameter is also specified, in which case HSIconFg applies only to the 'non-important' icons, and HsIconImpFg applies to all the 'important' icons.

Usage

Specified as:

HSIconFg={RR,GG,BB}

where {RR,GG,BB} are the comma-separated decimal RGB values of the required color (so “255,0,0” for red). (You can specify them as hex values [e.g. #FF0000] in the application – but obviously using a # wouldn’t work in a URL.)

  • Be careful with the capitalization as it does not follow the 'standard' of most other Web Assistant parameters, which start with a lower-case letter.
  • By default, different Hotspot icons have different colors. Using this parameter will set them all to the same color.

See Also