Question & Answer
Question
There is an icon created in IBM i2 Analyst's Notebook 8.9.7 which is not present in the IBM i2 iBase iconlist files. How do you add it to use within the iBase database?
Cause
There are 2 possible causes for this issue:
- You would like to create a brand new icon for an entity in iBase.
- The list of icons (iconlist files) have not been recently updated for iBase so there are a quite a few icons which are missing from those files.
Answer
An icon set describes a group of icons that can be used within an iBase database to differentiate entities. Each icon set consists of a group of icons that are described within an icon list.
iBase is currently shipped with four different icon lists:
- Iconlist - The default list of icons that are shipped with iBase.
- Military Iconlist - A list of icons that have been designed for use within a military environment.
- Combined Iconlist - A list that combines the contents of both the Iconlist and the Military Iconlist.
- ANB Standard Iconlist - A list of icons that matches the icons available using Analyst's Notebook.
Changing the icon list that is in use
To select an icon list:
- Start iBase Designer
- Open the options dialog (Tools > Feature Availability > Options)
- Select the Advanced tab.
- Find the Icon List file option within the Local Machine Settings section, and browse to the desired icon list file
Creating a new icon list
If you would like to create a new icon list that is specific to your organization:
- Create a new text file using the text editor of your choice.
- Enter the details for each icon that you wish to include in the following format:
<icon name> <icon file name>
Where <icon name> is the name you wish to display within iBase, and <icon file name> is the exact name of the icon image without the file extension. These should be separated using a tab character.
For example:
Humvee HMMWV - Save your file as a text file (*.txt).
- Open iBase Designer.
- Open the options dialog (Tools > Feature Availability > Options).
- Select the Advanced tab.
- Set the Icon List file option to the location of your newly created file.
Adding custom icons present in Analyst's Notebook
If the standard icons that are available do not match your requirements but there are some in Analyst's Notebook 8.9.7 which you would like to use in my iBase database:
- Close any i2 applications—they can only recognize new icon images at startup.
- Open the relevant icon list, these can be found in the folder ProgramData\i2\i2 iBase 8\en-GB\Configuration\
- Go to Program Files (x86)\Common Files\i2 Shared\Images 8.5\Basic\Icons and find the relevant icon you would like to see in iBase - note down the name of the icon, without the extension (i.e 'Aircraft Carrier.png' will be 'Aircraft Carrier')
- Add the details for the icon into the icon list that you wish to use in the following format:
<icon name> <icon file name>
Where <icon name> is the name you wish to display within iBase, and <icon file name> is the exact name of the icon image without the file extension. These should be separated using a tab character.
For example:
Humvee HMMWV - Save your file as a text file (*.txt).
Adding custom icons not present in Analyst's Notebook
If the standard icons that are available do not match your requirements, you can create a custom bitmap (*.bmp) or Portable Network Graphic (*.png) file to be added to an icon set.
- Close any i2 applications—they can only recognize new icon images at startup.
- Using any graphics application that allows you to save the file in the correct format, create a new icon, or copy and then edit an existing one.
- Make sure that the image is the correct size (32x32 for a screen icon), has the correct color depth, background color, and so on.
- Save the file in the correct icon folder:
<My Documents>\i2\i2 Shared\Custom Images\
Where:
<My Documents> is the location of your ‘My Documents’ folder
Note: If you are creating the image for use as the default icon for a specific entity type, give the image the same name as the entity type. This will simplify maintenance in the future.
Create the image for the corresponding printer icon. - Add the details for the icon into the icon list that you wish to use in the following format:
<icon name> <icon file name>
Where <icon name> is the name you wish to display within iBase, and <icon file name> is the exact name of the icon image without the file extension. These should be separated using a tab character.
For example:
Humvee HMMWV - Save your file as a text file (*.txt).
[{"Product":{"code":"SSXW43","label":"i2 iBase"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.9.5","Edition":"All Editions","Line of Business":{"code":"LOB24","label":"Security Software"}}]
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21686664