Representing a field as a filename
A field can be charted as a picture and configured as a hyperlink depending on its data type. The various options available for a selected field are shown in the Field represents a filename area or Binary field details area on the Entity Type Properties and Link Type Properties pages.
Field represents a filename area
- Chart as picture
- Display as hyperlink
- Base folder
- File extension
- Visible in Show is turned on.
- Field represents a filename is turned on, or the Binary field details area is available.
If a field contains the name of the file only, is not one of the formats iBridge handles, or is classified as binary, you must specify an extension in the File extension box. If a field does not contain the full path of the file, you must also specify the path in the Base folder box, unless the file is in the same directory as the issued configuration (.ibg) file.
Chart as picture
- a field contains a binary file, or a string which is a reference to a picture file.
- Field represents a filename is turned on or the Binary field details area is available.
To display pictures, the analyst's computers must have a registered OLE server for the file type. If the picture cannot be displayed for any reason, the entity type icon is used.
Display as hyperlink
Turn on Show and Display as Hyperlink to configure a field to display documents/images associated with an entity or link as a hyperlink in the relevant field box in the Show dialog in Analyst's Notebook. Hyperlinks in the Show dialog are shown as blue underlined text.
If a field contains data classified as text, Base folder and File extension are available. If a field contains the name of the file only, or is not one of the formats iBridge handles, you must specify an extension in the File extension box. If a field does not contain the full path of the file, you must also specify the path in Base folder, unless the file is in the same directory as the issued ibg file.
Base folder
The text string in a field may be a relative path. Any values contained in Base folder are appended to the front of the path. If the resulting path is still relative, any values contained in the Base picture path on the General tab of the Properties dialog are appended to the front of the path. If the value in the field does not contain a file extension then the extension in the File extension box is appended to the end of the path.
The resulting path is the location for a picture or hyperlink. If this path is still relative, the path is treated as being relative to the configuration file.
Turn on Base folder and type the required path, or select and browse to the required location.
Two examples are given below:
Example 1
Field | John Glover |
Base folder | People\ |
Base picture path | J:\Database Pictures\ |
File extension | bmp |
Resulting path | J:\Database Pictures\People\John Glover.bmp |
Example 2
Field | John Glover |
Base folder | |
Base picture path | Database Pictures\ |
File extension | bmp |
Resulting path | Database Pictures\John Glover.bmp (relative to configuration file location) |