Top Method Summary
Options Name Purpose
LOGICAL ContainsTag (CharacterList, character) Returns if a list of tags contains a tag value
CHARACTER GetDelimiter (character) Returns the delimiter of a tags field, defaulting to a single space
Consultingwerk.Framework.Collections.CharacterList GetTags (character) Retrieves a list of tags for a context
SaveTags (character, character, character, handle, handle) Saves any new tags based on an updated temp-table field
SaveTags (character, character, handle, handle) Saves any new tags based on an updated temp-table field
SaveTags (character, CharacterList) Saves a list of tags for a context
Consultingwerk.Framework.Collections.CharacterList SplitTags (character, character) Splits a delimited list of tag values into a list of tags


Method Detail
Top

LOGICAL ContainsTag (CharacterList, character)

Purpose: Returns if a list of tags contains a tag value
Notes: The comparison is case-insensitive, matching the unique index
of the SmartTag table

Parameters:
poTags Consultingwerk.Framework.Collections.CharacterList
The CharacterList with the tag values
pcTag CHARACTER
The tag value to look for
Returns LOGICAL
Logical value indicating if the list contains the tag value
Top

CHARACTER GetDelimiter (character)

Purpose: Returns the delimiter of a tags field, defaulting to a single
space
Notes: Used for the DELIMITER attribute of the MetaTagsEditor object
type. Trailing blanks are ignored in comparisons, so a blank
delimiter compares equal to the empty string - the length is
tested instead

Parameters:
pcDelimiter CHARACTER
The configured delimiter, may be empty or unknown
Returns CHARACTER
The delimiter to use
Top

Consultingwerk.Framework.Collections.CharacterList GetTags (character)

Purpose: Retrieves a list of tags for a context
Notes:

Parameters:
pcContext CHARACTER
The context for the tag values
Returns Consultingwerk.Framework.Collections.CharacterList
A list of tag values
Top

SaveTags (character, character, character, handle, handle)

Purpose: Saves any new tags based on an updated temp-table field
Notes: To be called from the CommitChanges or SaveChanges method of the
DataAccess class of the entity carrying the tags field, so that
the new tag values are created within the same database
transaction as the record. Values are trimmed, empty values are
ignored and values already contained in the before image are
skipped (case-insensitive)

Parameters:
pcContext CHARACTER
The context for the tag values
pcFieldName CHARACTER
The field name containing tag values
pcDelimiter CHARACTER
The delimiter of the tag values in the field, a single space when empty
phBuffer HANDLE
The 'after' buffer
phBeforeBuffer HANDLE
The before buffer
Top

SaveTags (character, character, handle, handle)

Purpose: Saves any new tags based on an updated temp-table field
Notes:

Parameters:
pcContext CHARACTER
The context for the tag values
pcFieldName CHARACTER
The field name containing tag values
phBuffer HANDLE
The 'after' buffer
phBeforeBuffer HANDLE
The before buffer
Top

SaveTags (character, CharacterList)

Purpose: Saves a list of tags for a context
Notes: If an empty list is passed in, the method simply returns.

Parameters:
pcContext CHARACTER
The context for the tag values
poTags Consultingwerk.Framework.Collections.CharacterList
A list of tags to save
Top

Consultingwerk.Framework.Collections.CharacterList SplitTags (character, character)

Purpose: Splits a delimited list of tag values into a list of tags
Notes: Values are trimmed, empty values are ignored and duplicates
(case-insensitive) are only returned once

Parameters:
pcTags CHARACTER
The delimited list of tag values
pcDelimiter CHARACTER
The delimiter of the tag values, a single space when empty
Returns Consultingwerk.Framework.Collections.CharacterList
The CharacterList with the tag values


Temp-Table Detail


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.11.2026 08:14:03