The SiteRepository contains two string properties that access site icons: siteIcon and favicon. These properties contain a path to an uploaded image file.

Set a default value for the image properties that point to image directories that are the start path for all images.

For example, create an image directory such as /images/storefront/site/ that can store all images for a site. For each new site, you would only have to fill out the filename part of the path, such as /images/storefront/site/favicon.ico or /images/storefront/site/siteIcon.png.

Implementing a Custom Icon

To replace icons for out-of-the-box item types or provide icons for custom types, follow these steps:

<gsa-template>
    <item-descriptor name="siteGroup">
                    <attribute name="largeFlexIcon" value="images/iconSmallSegment.png"/>
    </item-descriptor>
..</gsa-template>

Copyright © 1997, 2019 Oracle and/or its affiliates. All rights reserved. Legal Notices