The console-config.xml file consists of a console-config element that encloses a series of integration-point elements. The console-config element has one attribute, id, which specifies a unique name or ID value for the add-on component.
In the example, the element is declared as follows:
<console-config id="sample"> ... </console-config>
You will also specify this ID value when you construct URLs to images, resources and pages in your add-on component. See Adding a Node to the Navigation Tree for an example.
For example, a URL to an image named my.gif might look like this:
<sun:image url="/resource/sample/images/my.gif" />
The URL is constructed as follows:
/resource is required to locate any resource URL.
sample is the add-on component ID. You must choose a unique ID value.
images is a folder under the root of the add-on component JAR file.