Data flags are a powerful tool for recording the source and integrity of data in the model. Some types of InfoAsset Manager version controlled item, such as networks, support data flags for many of their data fields.
InfoAsset Manager includes several standard built in data flags.
Additional flags can be added to indicate information about the data. For example, data can be flagged for:
Each flag has a four character ID and is displayed with a selected colour. The four character code and colour are displayed on property sheets. Only the colour is displayed on the Grid Windows.
There are a number of different built-in flags available in InfoAsset Manager, which are usually used to show the origin of data or to mark data for some form of automatic update.
All the built in flags start with the # character, to differentiate them from user defined flags. Built in flags can not be created or deleted. To prevent confusion, it is not possible to use the # character in user defined flags.
InfoAsset Manager includes the following standard data flags:
The values used to calculate the default value are always values within the same network, or a constant value. This is a unique property of #D.
Setting a data flag to #D ensures that InfoAsset Manager updates the data whenever the object changes, or when other nearby objects that might affect the value are changed. If a cell with a #D flag is edited, the flag is removed.
To export flags to a CSV file, click Export in the User Defined dialog. A standard File Save dialog is displayed. Choose where to save the flag data.
To import data flags stored in a CSV file, click Import. A standard File Open dialog is displayed. Select the file containing flag data. If a flag in the CSV file has the same name as a flag already in InfoAsset Manager, the imported flag will overwrite the existing flag.
To create a CSV file containing flags that can subsequently be imported, the file must have the correct format. The importer recognises the file as a flag file if it has the correct column headers in the first line. The colour value (fourth element in each line) is an RGB value.
Example
id, description, defunct, color #D, System Default, 0, 15780518 #G, Data from GeoPlan, 0, 65280 #V, CSV Import, 0, 33023 AA, Obsolete A flag, 1, 255 BB, B Flag, 0, 16776960 CC, C Flag, 0, 12639424
Only users with Administrator privileges can delete flags. Other users may mark flags as obsolete.
Flags can be deleted using the User Defined Flags dialog.
To delete flags
Users without Administrator privileges cannot delete data flags from the list, but can mark them as obsolete.
Flags can be marked as being obsolete by checking the Obsolete box in the User Defined Flags dialog. Data which already has an obsolete flag is still displayed with the flag, but the obsolete flag is not displayed in the list when editing a flag field. Therefore no new data items can be assigned the obsolete flag.
A default edit flag can be set that will apply to all future editing operations until the option is disabled. Only user defined flags can be selected for use as an edit flag.
The edit flag is not just applied for basic editing operations, but also for:
The edit flag option applies to all changes made on the Grid Windows or property sheets and can be enabled either from the Tools menu or from the toolbar.
To enable the edit flag option from the Tools menu
InfoAsset Manager will now apply the selected flag to all edits until the option is disabled by clicking the ToolsUse edit flag option.
To enable the edit flag option from the toolbar
It is possible to search for specific flags and replace occurrences of these flags with other flags. This functionality can be used to update the flags of an imported network that was originally created using a different flagging system to the one used in the current database.
Note that #D flags will not be available for change.
To find and replace flags