• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Estrelica
    • Core
    • CoreConfig
    • CoreConfig.Settings
  • Estrelica.Archer.AccessControl
    • AccessControlEdit
    • AccountStatus
    • ContactSubType
    • ContactType
    • IArcherGroup
    • IArcherGroupEdit
    • IArcherRole
    • IArcherRoleEdit
    • IArcherUser
    • IArcherUserEdit
    • ISecurityParameter
    • IUserContact
    • IUserProvider
    • UserType
  • Estrelica.Archer.Content
    • ArcherContentExtensions
    • ContentFilterHelper
    • ContentReportOptions
    • ContentSearchOptions
    • ContentSource
    • ContentType
    • CurrentDateOperator
    • DatafeedHistoryStatus
    • DatafeedStatus
    • DatafeedType
    • DateOffsetOperator
    • DateValueOperator
    • DisplayFieldExtensions
    • EqualityOperator
    • FieldHistoryAuditType
    • HistoryAuditType
    • IAdvancedWorkflowAudit
    • IArcherContent
    • IArcherContentAccess
    • IArcherContentEdit
    • IArcherContentIdQuery
    • IArcherDateFieldQuery
    • IArcherDocument
    • IArcherMembershipQuery<T>
    • IArcherNumericFieldQuery
    • IArcherRecord
    • IArcherRecordQuery
    • IArcherReport
    • IArcherTextFieldQuery
    • IArcherUserGroupFieldQuery
    • IArcherValuesListQuery
    • IContentHistory
    • IContentInformation
    • IContentReport
    • IContentReportOptions
    • IContentUpdateInformation
    • ICrossReferencedRecordsSelectionEdit
    • IDatafeed
    • IDatafeedHistory
    • IDatafeedHistoryMessage
    • IDatafeedRecordCount
    • IDateValueEdit
    • IDisplayField
    • IDocumentSelectionEdit
    • IEditableField
    • IExternalLink
    • IExternalLinkEdit
    • IExternalLinksSelectionEdit
    • IFieldAudit
    • IFieldHistory
    • IFieldHistoryEx
    • IFieldQuery
    • IFieldValueEdit<T>
    • IHistoryAudit
    • INumericValueEdit
    • IObjectValue
    • IReferencedRecordsSelection
    • IReferencedRecordsSelectionEdit
    • ISearchDisplayFieldOptions
    • ISearchOptions
    • ISignatureAudit
    • IStatisticsReport
    • ISubEditableField
    • ISystemUpdateInformation
    • ITextValueEdit
    • IUserGroupListSelection
    • IUserGroupListSelectionEdit
    • IValuesListBaseSelection
    • IValuesListBaseSelectionEdit
    • IValuesListSelection
    • IValuesListSelectionEdit
    • IValuesListSingleSelection
    • IValuesListSingleSelectionEdit
    • IWorkflowAction
    • IWorkflowNode
    • LastUpdatedPreference
    • NumericRangeOperator
    • RecordCountType
    • RecordStatus
    • ReportSource
    • SortField
    • SortType
    • ValueOperator
    • ValuesOperator
    • WorkflowAuditActionType
  • Estrelica.Archer.Entity
    • ArcherEntityExtensions
    • ASOStatus
    • EntityType
    • IArcherAliasableEntity
    • IArcherAliasedEntity
    • IArcherASOEntity
    • IArcherASONamedEntity
    • IArcherBase
    • IArcherContentUpdateInfoEntity
    • IArcherDescribableEntity
    • IArcherDescribedEntity
    • IArcherEntity
    • IArcherEntityBase
    • IArcherGuidEntity
    • IArcherNameableEntity
    • IArcherNamedEntity
    • IArcherUpdateInfoEntity
    • IEditableArcherEntity
    • IUpdateInformation
    • SourceAttribute
    • UpstreamPropertyAttribute
  • Estrelica.Archer.Events
    • EventActionLayoutType
    • EventActionType
    • EventDateActionType
    • EventItemActionType
    • EventSectionActionType
    • IEventAction
    • IEventRule
    • ISetDateOption
  • Estrelica.Archer.Layouts
    • ILayout
    • ILayoutEntity
    • ILayoutItem
    • ILayoutSection
    • ILayoutTab
    • LayoutItemType
    • LayoutMemberType
    • LayoutSectionType
    • LayoutTabType
  • Estrelica.Archer.Metadata
    • ArcherMetadataExtensions
    • FilterConditionType
    • FilterCriteriaOperatorType
    • IArcherApplication
    • IArcherLevel
    • IArcherModule
    • IArcherQuestionnaire
    • IArcherSolution
    • IArcherSubForm
    • IArcherValuesList
    • IArcherValuesListValue
    • IFilterCondition
    • IFilterCriteria
    • ILevelFilter
    • ILevelFilterValue
    • IModuleOwner
    • IModuleOwnerGroup
    • IModuleOwnerUser
    • IModuleReference
    • INumericRange
    • INumericRangeValue
    • IQuestionnaireRule
    • ModuleClass
    • ModuleStatus
    • ModuleType
    • QuestionnaireRuleType
    • ReportType
    • Timezone
    • ValuesListType
    • ValueSortType
  • Estrelica.Archer.Metadata.Field
    • ArcherFieldExtensions
    • DefaultDateType
    • ExternalLinkProtocol
    • FieldEncryptionState
    • FieldType
    • IArcherField
    • IAssetResponsibilitiesField
    • IAttachmentField
    • IAvailableUserGroupSelections
    • IBaseDateField
    • ICalculatedValuesListField
    • IContentAccessHistoryField
    • ICrossApplicationStatusTrackingField
    • ICrossModuleStatusTrackingField
    • ICrossReferenceField
    • IDateField
    • IDiscussionField
    • IDocumentField
    • IExternalLinksField
    • IFirstPublishedField
    • IGroupPermission
    • IHistoryLogField
    • IImageField
    • IIPAddressField
    • ILastUpdatedField
    • IMatrixField
    • ImplementsAPIKey
    • ImplementsFieldTypeAttribute
    • IMultipleReferenceDisplayField
    • INumericField
    • IPermissionInheritance
    • IQuestionnaireReferenceField
    • IRecordStatusField
    • IReferenceField
    • IRelatedRecordsField
    • IRiskAssessmentField
    • ISchedulerField
    • ISubformField
    • ITechnologiesListField
    • ITechnologyVersionsListField
    • ITextField
    • ITrackingIDField
    • IUserGroupListField
    • IUserPermission
    • IValuesListField
    • IVotingField
    • SystemFieldType
    • UserGroupType
    • VotingType
  • Estrelica.Archer.Metadata.Field.Properties
    • DisplayControl
    • FieldLayoutFormat
    • IAdvancedDisplayOption
    • IAdvancedDisplayProperty
    • IAllowLookupProperty
    • IAllowSortingProperty
    • IColumnCountProperty
    • IDisplayControlProperty
    • IDisplayInHeaderProperty
    • IEncryptionStateProperty
    • IFieldValidationTypeProperty
    • IHeightWidthProperty
    • IIncludeTimeInformationProperty
    • IIncludeUserInformationProperty
    • IIsAuditEnabledProperty
    • IIsBulkCreateEnabledProperty
    • IIsBulkUpdateEnabledProperty
    • IIsCalculatedProperty
    • IIsEditableGridDisplayProperty
    • IIsEditableInSearchProperty
    • IIsEncryptedProperty
    • IIsFindEnabledProperty
    • IIsKeyProperty
    • IIsQuestionProperty
    • IIsRequiredProperty
    • IIsRestrictedToLevelProperty
    • IIsSupressedProperty
    • IIsTrendingEnabledProperty
    • IIsUniqueProperty
    • ILinkProperty
    • ILookupReportProperty
    • IMaxAttachmentsAllowedProperty
    • IMaxFileSizeProperty
    • IMaximumSelectionProperty
    • IMaxIntValueProperty
    • IMaxLongValueProperty
    • IMinAttachmentsAllowedProperty
    • IMinimumSelectionProperty
    • IMinIntValueProperty
    • IMinLongValueProperty
    • IMinMaxSelectionProperty
    • IPrefixProperty
    • ISuffixProperty
    • ITrendingDurationProperty
    • ITrendingDurationTypeProperty
    • MatrixAxis
    • NegativeDisplayType
  • Estrelica.Archer.Metadata.Properties
    • IIsDeprecatedProperty
    • IIsDirectToEditEnabledProperty
    • IIsMobileEnabledProperty
    • IIsNotificationProperty
    • IIsTaskManagementEnabledProperty
    • IIsWaveEnabledProperty
    • IKeepLicensedProperty
    • ISearchViewProperty
  • Estrelica.Archer.Utility
    • APIExceptionExtensions
    • APIPreference
    • APISource
    • ArcherAPIException
    • ArcherEntitySerializer
    • BaseDataWrapper<K>
    • CachedResolver
    • DictionaryDataWrapper<K>
    • DomainFormat
    • EditUtilities
    • ExtensionsUnavailableException
    • FilterCriteriaHelper
    • IAccessResolver
    • IAPIFacade
    • IArcherRestAPI
    • IArcherSoapAPI
    • IArcherUndocumentedAPI
    • ICastleHillExtendedAPI
    • IContentResolver
    • ILayoutResolver
    • IMetadataResolver
    • IReportResolver
    • IValueAccessor
    • ObjectDataWrapper<T, K>
    • ObjectKeyAttribute
    • ValuesListChangeEvent
    • ValuesListChangeEventArgs
  • Estrelica.Interfaces
    • IArcherAuthProvider
    • ICacheProvider
    • IClearable
    • IDatabaseAuthProvider
    • IEditable
    • IEditable<V>
    • IEditableCollection<V>
    • IEditableEnumerable<V>
    • IEditableFieldSelection<V>
    • IEditableInterface<I>
    • IEntityResolver
    • IExtendedAPIAuthProvider
    • IHttpClientAccessor
    • ILogCleanup
    • ILogSubscriber
    • InvalidateEntity<K>
    • InvalidateEntityEventArgs<K>
    • IRecordAccess
    • IRecordAccess<T>
    • IResolverProvider
    • ISessionProvider
    • ISystemUpdateable
    • ITrafficCounter
    • LogLevel
  • Estrelica.Logging
    • BaseLogger
    • ConsoleLogger
    • FileLogger
    • FileLogger.TimestampFormat
    • Logger
    • TraceLogger
  • Estrelica.Utility
    • Arguments
    • BaseRecordAccess
    • DataReaderExtensions
    • DateTimeExtensions
    • Debouncer
    • DebugLog
    • DeferEnumerable<T>
    • DeferValue<V>
    • DictionaryExtensions
    • EnumHelper
    • ExceptionExtensions
    • GuidUtility
    • HandledException
    • HashSetExtensions
    • ICacheHandler
    • ICollectionExtensions
    • IDeferrable
    • IDeferredValue
    • IEnumerableExtensions
    • IgnoreDefaultValuesDictionary<K, V>
    • JsonDictionary<V>
    • OperationExtensions
    • Resource
    • SqlConnectionExtensions
    • SqlUtilities
    • StreamExtensions
    • StringExtensions
    • TableMapper
    • TimeoutDictionary<K, V>
    • TypeExtensions
    • XElementExtensions

Interface IValuesListSelectionEdit

Allows the selected values and "other" text for a given record's Values List field to be modified.

Inherited Members
IValuesListBaseSelectionEdit.NeedsOtherText
IValuesListBaseSelectionEdit.OtherText
IValuesListBaseSelectionEdit.ValuesList
IEditableField.Field
IEditableField.GetErrors()
IEditableField.HasValue
IEditableField.IgnoreReadOnly
IEditable.IsModified
IEditable.CanEdit
IClearable.Clear()
Namespace: Estrelica.Archer.Content
Assembly: Estrelica.Interfaces.dll
Syntax
[StayPublic]
[DoNotObfuscateType]
public interface IValuesListSelectionEdit : IValuesListBaseSelectionEdit, IEditableField, IEditable, IClearable

Properties

ValueIds

Returns the integer value Ids for all selected Values List Values

Declaration
IEnumerable<int> ValueIds { get; set; }
Property Value
IEnumerable<int>

Values

Returns the IArcherValuesListValue references for all selected Values List Values

Declaration
IEnumerable<IArcherValuesListValue> Values { get; set; }
Property Value
IEnumerable<IArcherValuesListValue>

Methods

Add(IArcherValuesListValue)

Adds the specified IArcherValuesListValue reference to the current selection

Declaration
bool Add(IArcherValuesListValue value)
Parameters
IArcherValuesListValue value

Returns
bool

Add(int)

Adds the IArcherValuesListValue from the related Values List having the specified integer Id

Declaration
bool Add(int valueId)
Parameters
int valueId

Returns
bool

True if the add was successful, false if not (i.e. if the value already exists on the field)

Add(string, bool, bool)

Adds the IArcherValuesListValue from the related Values List having the specified name

Declaration
bool Add(string name, bool ignoreCase = true, bool addUnknownValues = false)
Parameters
string name

bool ignoreCase

If false, the name must match exactly. If true (the default) a case-insensitive match will be used.

bool addUnknownValues

If false, valueNames which don't already exist in the Values List will raise an exception. If true, they will be added to the Values List (behaving similar to the "Add unknown source values to the target values list" option in the Data Feed Manager).

Returns
bool

True if the add was successful, false if not (i.e. if the value already exists on the field)

Remarks

Archer values must be unique, regardless of case, within their parent list. Therefore, if addUnknownValues = true, case will be ignored during the name resolution regardless of what is passed in ignoreCase.

Remove(IArcherValuesListValue)

Removes the specified IArcherValuesListValue from the selection

Declaration
bool Remove(IArcherValuesListValue value)
Parameters
IArcherValuesListValue value

Returns
bool

True if the removal was successful, false if not (i.e. if the value did not already exist on the field)

Remove(int)

Removes the IArcherValuesListValue having the specified integer Id from the selection

Declaration
bool Remove(int valueId)
Parameters
int valueId

Returns
bool

True if the removal was successful, false if not (i.e. if the value did not already exist on the field)

Remove(string, bool)

Removes the IArcherValuesListValue having the specified name from the selection

Declaration
bool Remove(string name, bool ignoreCase = true)
Parameters
string name

bool ignoreCase

If false, the name must match exactly. If true (the default) a case-insensitive match will be used.

Returns
bool

True if the removal was successful, false if not (i.e. if the value did not already exist on the field)

Set(IArcherValuesListValue)

Sets the selection to a single IArcherValuesListValue reference

Declaration
void Set(IArcherValuesListValue value)
Parameters
IArcherValuesListValue value

Set(params IArcherValuesListValue[])

Sets the selection to one or more IArcherValuesListValue references as a params array

Declaration
void Set(params IArcherValuesListValue[] values)
Parameters
IArcherValuesListValue[] values

Set(IEnumerable<IArcherValuesListValue>)

Sets the selection to an enumerable of IArcherValuesListValue references

Declaration
void Set(IEnumerable<IArcherValuesListValue> values)
Parameters
IEnumerable<IArcherValuesListValue> values

Set(IEnumerable<int>)

Sets the selection to the values in the related Values List having the specified integer Ids in the IEnumerable<int> parameter.

Declaration
void Set(IEnumerable<int> valueIds)
Parameters
IEnumerable<int> valueIds

Set(IEnumerable<string>, bool, bool)

Sets the selection to the values in the related Values List having the specified names.

Declaration
void Set(IEnumerable<string> valueNames, bool ignoreCase = true, bool addUnknownValues = false)
Parameters
IEnumerable<string> valueNames

The names of the values to be selected

bool ignoreCase

If false, the value names must match the case of the valueNames values exactly. If true (the default) case-insensitive matching will be applied.

bool addUnknownValues

If false, valueNames which don't already exist in the Values List will raise an exception. If true, they will be added to the Values List (behaving similar to the "Add unknown source values to the target values list" option in the Data Feed Manager).

Remarks

Archer values must be unique, regardless of case, within their parent list. Therefore, if addUnknownValues = true, case will be ignored during the name resolution regardless of what is passed in ignoreCase.

Set(int)

Sets the selection to the single value in the related Values List having the specified integer Id

Declaration
void Set(int valueId)
Parameters
int valueId

Set(params int[])

Sets the selection to the values in the related Values List having the specified integer Ids in the int[] params array.

Declaration
void Set(params int[] valueIds)
Parameters
int[] valueIds

Set(string, bool, bool)

Sets the selection to a single value in the related Values List having the specified name.

Declaration
void Set(string valueName, bool ignoreCase = true, bool addUnknownValues = false)
Parameters
string valueName

The name of the value to be selected

bool ignoreCase

If false, the value names must match the case of the valueNames values exactly. If true (the default) case-insensitive matching will be applied.

bool addUnknownValues

If false, valueNames which don't already exist in the Values List will raise an exception. If true, they will be added to the Values List (behaving similar to the "Add unknown source values to the target values list" option in the Data Feed Manager).

Remarks

Archer values must be unique, regardless of case, within their parent list. Therefore, if addUnknownValues = true, case will be ignored during the name resolution regardless of what is passed in ignoreCase.

Set(params string[])

Sets the selection to the values in the related Values List having the names specified in the string params array

Declaration
void Set(params string[] valueNames)
Parameters
string[] valueNames

Remarks

The names will be resolved in a case-insensitive manner, and any unresolved names will result in an exception. If you need case sensistivity or the automatic addition of unknown values, use one of the overrides with ignoreCase = false or addUnknownValues = true

Extension Methods

EnumHelper.In<TEnum>(TEnum, params TEnum[])
IEnumerableExtensions.ToEnumerable<T>(T)
StringExtensions.AssertNotNull<T>(T, string)
TypeExtensions.WithDispose<T, V>(T, Func<T, V>)
EnumHelper.CastNullable<TEnum>(object)
TypeExtensions.ConvertTo<V>(object)
TypeExtensions.TryConvert<V>(object, out V)
Back to top Copyright 2019-2023 by CastleHill Software LLC