PicklistAttrs Enumeration |
Attributes affecting
Picklist behaviour.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax [FlagsAttribute]
public enum PicklistAttrs
<FlagsAttribute>
Public Enumeration PicklistAttrs
Members
| Member name | Value | Description |
---|
| Cache | 1 | This list should be cached. Note that caching is not tenant-specific unless SupportsVocabText is also set. |
| HasDiscrim | 2 | This list uses a discriminator to break items into sets. |
| LimitToList | 4 | This list has at least 2 columns and the values must come from the list. |
| HideUnknownItems | 8 | The list should hide unknown items. |
| MarkUnknownItems | 16 | The list should mark unknown items. |
| StoreAltText | 32 | The list stores the item's Alternate Key Text column in the DB and uses it as it's ID. |
| StoreAltInt | 64 | The list stores the item's Alternate Key Int column in the DB and uses it as it's ID. |
| StoreItemName | 128 | The list stores the item's Name column in the DB and uses it as it's ID. |
| NoNullEntry | 256 | The list does not need to provide a null entry. |
| SortByText | 512 | List should be sorted by the display text. |
| SortDesc | 1024 | List should be sorted in DESC order. (Standard Picklists only) |
| SortByKey | 2048 | List should be sorted by the stored key. |
| AllowUserAdd | 4096 | Obsolete.
Deprecated - Users can add new items to this list (providing they have Configuration permission).
This attribute has been deprecated and may be repurposed in the future.
|
| AllowUserDelete | 8192 | Obsolete.
Deprecated - Users can remove items from this list (providing they have Configuration permission).
This attribute has been deprecated and may be repurposed in the future.
|
| AllowUserUpdate | 16384 | Obsolete.
Deprecated - Users can update items in this list (providing they have Configuration permission).
This attribute has been deprecated and may be repurposed in the future.
|
| BitFlags | 32768 |
Each individual picklist item is represented in the database by a single bit in an integer value.
Multiple items may be represented by ORing the bits together.
Data stored in this manner is natural with Enum picklists based on enumerations marked with the FlagsAttribute attribute.
Note, however, that localization is not really supported on Enum picklists.
|
| Disabled | 65536 | The picklist is disabled. |
| IgnoreWhitespace | 131072 | Ignore leading and trailing whitespace when matching values. |
| GroupByFirstChar | 262144 | Group items by the first letter of text. Requires installation of OptionGroupAdapter. |
| GroupByTextPrefix | 524288 | Group items by the initial text enclosed in square brackets ('[]'). The brackets and contained text will be removed from the item's text string. |
| KeySameAsText | 1048576 | For each item, its key and text are the same. |
| NoOptimization | 2097152 | Do not optimize this picklist. Typically set on picklists with complex SQL that the platform may parse incorrectly. |
| Volatile | 4194304 | The mapper should refresh this picklist whenever it performs an insert/update/delete. |
| TipInText | 8388608 | The item's text includes text and tooltip which are delimited by a vertical pipe character ('|'). |
| GroupingDisabled | 16777216 | Do not apply any grouping to this picklist. |
| HideDisabledIndicator | 33554432 | Do not apply -- Disabled! suffix to disabled items. |
| SupportsVocabText | 67108864 | This pickist supports tenant specific vocabulary as display text. When Cache is also set, this forces caching to be tenant-specific. |
| ImageInText | 134217728 | This pickist is an image picklist. The path to the image is stored in the caption, as the 3rd element delimited by the pipe '|' character. |
| ResolveEmbedded | 268435456 | This pickist has embedded functions (NOT field expressions) in the text that should be resolved. |
| RoleSpecificContent | 536870912 | If this picklist is cached, then the picklist should cache the picklist with respect to the roles of the user. |
See Also