Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines a storage suggestion criterion with filter logic, thresholds, and cached estimation results.
Messages
The following table lists the messages for the Policy Criterion (policycriterion) table. Messages represent operations that can be performed on the table. They may also be events.
| Name Is Event? |
Web API Operation | SDK for .NET |
|---|---|---|
AssociateEvent: True |
Associate records | Associate records |
CreateEvent: True |
POST /policycriteriaSee Create |
Create records |
CreateMultipleEvent: True |
CreateMultiple | CreateMultipleRequest |
DeleteEvent: True |
DELETE /policycriteria(policycriterionid)See Delete |
Delete records |
DisassociateEvent: True |
Disassociate records | Disassociate records |
IsValidStateTransitionEvent: False |
IsValidStateTransition | IsValidStateTransitionRequest |
RetrieveEvent: True |
GET /policycriteria(policycriterionid)See Retrieve |
Retrieve records |
RetrieveMultipleEvent: True |
GET /policycriteriaSee Query data |
Query data |
SetStateEvent: True |
PATCH /policycriteria(policycriterionid)Update the statecode and statuscode properties. |
SetStateRequest |
UpdateEvent: True |
PATCH /policycriteria(policycriterionid)See Update |
Update records |
UpdateMultipleEvent: True |
UpdateMultiple | UpdateMultipleRequest |
UpsertEvent: False |
PATCH /policycriteria(policycriterionid)See Upsert a table row |
UpsertRequest |
UpsertMultipleEvent: False |
UpsertMultiple | UpsertMultipleRequest |
Properties
The following table lists selected properties for the Policy Criterion (policycriterion) table.
| Property | Value |
|---|---|
| DisplayName | Policy Criterion |
| DisplayCollectionName | Policy Criteria |
| SchemaName | policycriterion |
| CollectionSchemaName | policycriterions |
| EntitySetName | policycriteria |
| LogicalName | policycriterion |
| LogicalCollectionName | policycriterions |
| PrimaryIdAttribute | policycriterionid |
| PrimaryNameAttribute | name |
| TableType | Standard |
| OwnershipType | OrganizationOwned |
Writable columns/attributes
These columns/attributes return true for either IsValidForCreate or IsValidForUpdate (usually both). Listed by SchemaName.
- CriteriaDisplayText
- Criterion
- CriterionId
- EntityId
- ImportSequenceNumber
- IsEnabled
- IsSystemGenerated
- Name
- OrderedQuerySetXml
- OverriddenCreatedOn
- policycriterionId
- Priority
- statecode
- statuscode
- TimeZoneRuleVersionNumber
- UniqueName
- UTCConversionTimeZoneCode
CriteriaDisplayText
| Property | Value |
|---|---|
| Description | JSON array of human-readable filter clause descriptions surfaced by the recommendation API. |
| DisplayName | Criteria Display Text |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | criteriadisplaytext |
| RequiredLevel | None |
| Type | Memo |
| Format | Text |
| FormatName | Text |
| ImeMode | Auto |
| IsLocalizable | False |
| MaxLength | 2000 |
Criterion
| Property | Value |
|---|---|
| Description | Entity-independent JSON criterion (filter spec) compiled to FetchXML at evaluation time. |
| DisplayName | Criterion |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | criterion |
| RequiredLevel | None |
| Type | Memo |
| Format | Text |
| FormatName | Text |
| ImeMode | Auto |
| IsLocalizable | False |
| MaxLength | 1048575 |
CriterionId
| Property | Value |
|---|---|
| Description | Stable identifier used to look up the criterion (e.g. CR_INACTIVE). |
| DisplayName | Criterion ID |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | criterionid |
| RequiredLevel | None |
| Type | String |
| Format | Text |
| FormatName | Text |
| ImeMode | Auto |
| IsLocalizable | False |
| MaxLength | 100 |
EntityId
| Property | Value |
|---|---|
| Description | MetadataId of the entity this criterion targets. |
| DisplayName | Entity Id |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | entityid |
| RequiredLevel | None |
| Type | Uniqueidentifier |
ImportSequenceNumber
| Property | Value |
|---|---|
| Description | Sequence number of the import that created this record. |
| DisplayName | Import Sequence Number |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | importsequencenumber |
| RequiredLevel | None |
| Type | Integer |
| MaxValue | 2147483647 |
| MinValue | -2147483648 |
IsEnabled
| Property | Value |
|---|---|
| Description | Whether this criterion is active for suggestion generation. |
| DisplayName | Is Enabled |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | isenabled |
| RequiredLevel | None |
| Type | Boolean |
| GlobalChoiceName | _policycriterion_isenabled |
| DefaultValue | True |
| True Label | |
| False Label |
IsSystemGenerated
| Property | Value |
|---|---|
| Description | True for platform-seeded built-in criteria; false for user-created criteria. |
| DisplayName | Is System Generated |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | issystemgenerated |
| RequiredLevel | None |
| Type | Boolean |
| GlobalChoiceName | _policycriterion_issystemgenerated |
| DefaultValue | True |
| True Label | |
| False Label |
Name
| Property | Value |
|---|---|
| Description | Display name for the policy criterion record. |
| DisplayName | Name |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | name |
| RequiredLevel | None |
| Type | String |
| Format | Text |
| FormatName | Text |
| ImeMode | Auto |
| IsLocalizable | False |
| MaxLength | 256 |
OrderedQuerySetXml
| Property | Value |
|---|---|
| Description | FetchXML for the ordered query set or filter applied when evaluating this criterion. |
| DisplayName | Ordered Query Set Xml |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | orderedquerysetxml |
| RequiredLevel | None |
| Type | String |
| Format | Text |
| FormatName | Text |
| ImeMode | Auto |
| IsLocalizable | False |
| MaxLength | 1073741823 |
OverriddenCreatedOn
| Property | Value |
|---|---|
| Description | Date and time that the record was migrated. |
| DisplayName | Record Created On |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | overriddencreatedon |
| RequiredLevel | None |
| Type | DateTime |
| CanChangeDateTimeBehavior | False |
| DateTimeBehavior | UserLocal |
| Format | DateOnly |
| ImeMode | Inactive |
| SourceTypeMask | 0 |
policycriterionId
| Property | Value |
|---|---|
| Description | Unique identifier for the policy criterion record. |
| DisplayName | Policy Criterion |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | policycriterionid |
| RequiredLevel | SystemRequired |
| Type | Uniqueidentifier |
Priority
| Property | Value |
|---|---|
| Description | Suggestion priority ranking. |
| DisplayName | Priority |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | priority |
| RequiredLevel | None |
| Type | Picklist |
| DefaultFormValue | 1 |
| GlobalChoiceName | policycriterion_priority |
Priority Choices/Options
| Value | Label |
|---|---|
| 0 | High |
| 1 | Medium |
| 2 | Low |
statecode
| Property | Value |
|---|---|
| Description | Status of the policy criterion. |
| DisplayName | Status |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | statecode |
| RequiredLevel | SystemRequired |
| Type | State |
| DefaultFormValue | |
| GlobalChoiceName | policycriterion_statecode |
statecode Choices/Options
| Value | Details |
|---|---|
| 0 | Label: Active DefaultStatus: 1 InvariantName: Active |
| 1 | Label: Inactive DefaultStatus: 2 InvariantName: Inactive |
statuscode
| Property | Value |
|---|---|
| Description | Reason for the status of the policy criterion. |
| DisplayName | Status Reason |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | statuscode |
| RequiredLevel | None |
| Type | Status |
| DefaultFormValue | |
| GlobalChoiceName | policycriterion_statuscode |
statuscode Choices/Options
| Value | Details |
|---|---|
| 1 | Label: Active State:0 TransitionData: None |
| 2 | Label: Inactive State:1 TransitionData: None |
TimeZoneRuleVersionNumber
| Property | Value |
|---|---|
| Description | For internal use only. |
| DisplayName | Time Zone Rule Version Number |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | timezoneruleversionnumber |
| RequiredLevel | None |
| Type | Integer |
| MaxValue | 2147483647 |
| MinValue | -1 |
UniqueName
| Property | Value |
|---|---|
| Description | Namespaced unique name (e.g. msft_InactiveRecords). |
| DisplayName | Unique Name |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | uniquename |
| RequiredLevel | None |
| Type | String |
| Format | Text |
| FormatName | Text |
| ImeMode | Auto |
| IsLocalizable | False |
| MaxLength | 100 |
UTCConversionTimeZoneCode
| Property | Value |
|---|---|
| Description | Time zone code that was in use when the record was created. |
| DisplayName | UTC Conversion Time Zone Code |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | utcconversiontimezonecode |
| RequiredLevel | None |
| Type | Integer |
| MaxValue | 2147483647 |
| MinValue | -1 |
Read-only columns/attributes
These columns/attributes return false for both IsValidForCreate and IsValidForUpdate. Listed by SchemaName.
- CreatedBy
- CreatedOn
- CreatedOnBehalfBy
- ModifiedBy
- ModifiedOn
- ModifiedOnBehalfBy
- OrganizationId
- VersionNumber
CreatedBy
| Property | Value |
|---|---|
| Description | Unique identifier of the user who created the record. |
| DisplayName | Created By |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | createdby |
| RequiredLevel | None |
| Type | Lookup |
| Targets | systemuser |
CreatedOn
| Property | Value |
|---|---|
| Description | Date and time when the record was created. |
| DisplayName | Created On |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | createdon |
| RequiredLevel | None |
| Type | DateTime |
| CanChangeDateTimeBehavior | False |
| DateTimeBehavior | UserLocal |
| Format | DateAndTime |
| ImeMode | Inactive |
| SourceTypeMask | 0 |
CreatedOnBehalfBy
| Property | Value |
|---|---|
| Description | Unique identifier of the delegate user who created the record. |
| DisplayName | Created By (Delegate) |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | createdonbehalfby |
| RequiredLevel | None |
| Type | Lookup |
| Targets | systemuser |
ModifiedBy
| Property | Value |
|---|---|
| Description | Unique identifier of the user who modified the record. |
| DisplayName | Modified By |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | modifiedby |
| RequiredLevel | None |
| Type | Lookup |
| Targets | systemuser |
ModifiedOn
| Property | Value |
|---|---|
| Description | Date and time when the record was modified. |
| DisplayName | Modified On |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | modifiedon |
| RequiredLevel | None |
| Type | DateTime |
| CanChangeDateTimeBehavior | False |
| DateTimeBehavior | UserLocal |
| Format | DateAndTime |
| ImeMode | Inactive |
| SourceTypeMask | 0 |
ModifiedOnBehalfBy
| Property | Value |
|---|---|
| Description | Unique identifier of the delegate user who modified the record. |
| DisplayName | Modified By (Delegate) |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | modifiedonbehalfby |
| RequiredLevel | None |
| Type | Lookup |
| Targets | systemuser |
OrganizationId
| Property | Value |
|---|---|
| Description | Unique identifier for the organization |
| DisplayName | Organization Id |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | organizationid |
| RequiredLevel | None |
| Type | Lookup |
| Targets | organization |
VersionNumber
| Property | Value |
|---|---|
| Description | Version Number |
| DisplayName | Version Number |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | versionnumber |
| RequiredLevel | None |
| Type | BigInt |
| MaxValue | 9223372036854775807 |
| MinValue | -9223372036854775808 |
Many-to-One relationships
These relationships are many-to-one. Listed by SchemaName.
- lk_policycriterion_createdby
- lk_policycriterion_createdonbehalfby
- lk_policycriterion_modifiedby
- lk_policycriterion_modifiedonbehalfby
- organization_policycriterion
lk_policycriterion_createdby
One-To-Many Relationship: systemuser lk_policycriterion_createdby
| Property | Value |
|---|---|
| ReferencedEntity | systemuser |
| ReferencedAttribute | systemuserid |
| ReferencingAttribute | createdby |
| ReferencingEntityNavigationPropertyName | createdby |
| IsHierarchical | |
| CascadeConfiguration | Archive: NoCascadeAssign: NoCascadeDelete: NoCascadeMerge: NoCascadeReparent: NoCascadeRollupView: NoCascadeShare: NoCascadeUnshare: NoCascade |
lk_policycriterion_createdonbehalfby
One-To-Many Relationship: systemuser lk_policycriterion_createdonbehalfby
| Property | Value |
|---|---|
| ReferencedEntity | systemuser |
| ReferencedAttribute | systemuserid |
| ReferencingAttribute | createdonbehalfby |
| ReferencingEntityNavigationPropertyName | createdonbehalfby |
| IsHierarchical | |
| CascadeConfiguration | Archive: NoCascadeAssign: NoCascadeDelete: NoCascadeMerge: NoCascadeReparent: NoCascadeRollupView: NoCascadeShare: NoCascadeUnshare: NoCascade |
lk_policycriterion_modifiedby
One-To-Many Relationship: systemuser lk_policycriterion_modifiedby
| Property | Value |
|---|---|
| ReferencedEntity | systemuser |
| ReferencedAttribute | systemuserid |
| ReferencingAttribute | modifiedby |
| ReferencingEntityNavigationPropertyName | modifiedby |
| IsHierarchical | |
| CascadeConfiguration | Archive: NoCascadeAssign: NoCascadeDelete: NoCascadeMerge: NoCascadeReparent: NoCascadeRollupView: NoCascadeShare: NoCascadeUnshare: NoCascade |
lk_policycriterion_modifiedonbehalfby
One-To-Many Relationship: systemuser lk_policycriterion_modifiedonbehalfby
| Property | Value |
|---|---|
| ReferencedEntity | systemuser |
| ReferencedAttribute | systemuserid |
| ReferencingAttribute | modifiedonbehalfby |
| ReferencingEntityNavigationPropertyName | modifiedonbehalfby |
| IsHierarchical | |
| CascadeConfiguration | Archive: NoCascadeAssign: NoCascadeDelete: NoCascadeMerge: NoCascadeReparent: NoCascadeRollupView: NoCascadeShare: NoCascadeUnshare: NoCascade |
organization_policycriterion
One-To-Many Relationship: organization organization_policycriterion
| Property | Value |
|---|---|
| ReferencedEntity | organization |
| ReferencedAttribute | organizationid |
| ReferencingAttribute | organizationid |
| ReferencingEntityNavigationPropertyName | organizationid |
| IsHierarchical | |
| CascadeConfiguration | Archive: NoCascadeAssign: NoCascadeDelete: NoCascadeMerge: NoCascadeReparent: NoCascadeRollupView: NoCascadeShare: NoCascadeUnshare: NoCascade |
One-to-Many relationships
These relationships are one-to-many. Listed by SchemaName.
- policycriterion_AsyncOperations
- policycriterion_BulkDeleteFailures
- policycriterion_DuplicateBaseRecord
- policycriterion_DuplicateMatchingRecord
- policycriterion_entitystorageprofile_PolicyCriterionId
- policycriterion_MailboxTrackingFolders
- policycriterion_PrincipalObjectAttributeAccesses
- policycriterion_ProcessSession
- policycriterion_SyncErrors
policycriterion_AsyncOperations
Many-To-One Relationship: asyncoperation policycriterion_AsyncOperations
| Property | Value |
|---|---|
| ReferencingEntity | asyncoperation |
| ReferencingAttribute | regardingobjectid |
| ReferencedEntityNavigationPropertyName | policycriterion_AsyncOperations |
| IsCustomizable | True |
| AssociatedMenuConfiguration | AvailableOffline: True Behavior: DoNotDisplayGroup: DetailsLabel: MenuId: null Order: QueryApi: null ViewId: 00000000-0000-0000-0000-000000000000 |
policycriterion_BulkDeleteFailures
Many-To-One Relationship: bulkdeletefailure policycriterion_BulkDeleteFailures
| Property | Value |
|---|---|
| ReferencingEntity | bulkdeletefailure |
| ReferencingAttribute | regardingobjectid |
| ReferencedEntityNavigationPropertyName | policycriterion_BulkDeleteFailures |
| IsCustomizable | True |
| AssociatedMenuConfiguration | AvailableOffline: True Behavior: DoNotDisplayGroup: DetailsLabel: MenuId: null Order: QueryApi: null ViewId: 00000000-0000-0000-0000-000000000000 |
policycriterion_DuplicateBaseRecord
Many-To-One Relationship: duplicaterecord policycriterion_DuplicateBaseRecord
| Property | Value |
|---|---|
| ReferencingEntity | duplicaterecord |
| ReferencingAttribute | baserecordid |
| ReferencedEntityNavigationPropertyName | policycriterion_DuplicateBaseRecord |
| IsCustomizable | True |
| AssociatedMenuConfiguration | AvailableOffline: True Behavior: DoNotDisplayGroup: DetailsLabel: MenuId: null Order: QueryApi: null ViewId: 00000000-0000-0000-0000-000000000000 |
policycriterion_DuplicateMatchingRecord
Many-To-One Relationship: duplicaterecord policycriterion_DuplicateMatchingRecord
| Property | Value |
|---|---|
| ReferencingEntity | duplicaterecord |
| ReferencingAttribute | duplicaterecordid |
| ReferencedEntityNavigationPropertyName | policycriterion_DuplicateMatchingRecord |
| IsCustomizable | True |
| AssociatedMenuConfiguration | AvailableOffline: True Behavior: DoNotDisplayGroup: DetailsLabel: MenuId: null Order: QueryApi: null ViewId: 00000000-0000-0000-0000-000000000000 |
policycriterion_entitystorageprofile_PolicyCriterionId
Many-To-One Relationship: entitystorageprofile policycriterion_entitystorageprofile_PolicyCriterionId
| Property | Value |
|---|---|
| ReferencingEntity | entitystorageprofile |
| ReferencingAttribute | policycriterionid |
| ReferencedEntityNavigationPropertyName | policycriterion_entitystorageprofile_PolicyCriterionId |
| IsCustomizable | False |
| AssociatedMenuConfiguration | AvailableOffline: True Behavior: UseCollectionNameGroup: DetailsLabel: MenuId: null Order: 10000 QueryApi: null ViewId: 00000000-0000-0000-0000-000000000000 |
policycriterion_MailboxTrackingFolders
Many-To-One Relationship: mailboxtrackingfolder policycriterion_MailboxTrackingFolders
| Property | Value |
|---|---|
| ReferencingEntity | mailboxtrackingfolder |
| ReferencingAttribute | regardingobjectid |
| ReferencedEntityNavigationPropertyName | policycriterion_MailboxTrackingFolders |
| IsCustomizable | True |
| AssociatedMenuConfiguration | AvailableOffline: True Behavior: DoNotDisplayGroup: DetailsLabel: MenuId: null Order: QueryApi: null ViewId: 00000000-0000-0000-0000-000000000000 |
policycriterion_PrincipalObjectAttributeAccesses
Many-To-One Relationship: principalobjectattributeaccess policycriterion_PrincipalObjectAttributeAccesses
| Property | Value |
|---|---|
| ReferencingEntity | principalobjectattributeaccess |
| ReferencingAttribute | objectid |
| ReferencedEntityNavigationPropertyName | policycriterion_PrincipalObjectAttributeAccesses |
| IsCustomizable | True |
| AssociatedMenuConfiguration | AvailableOffline: True Behavior: DoNotDisplayGroup: DetailsLabel: MenuId: null Order: QueryApi: null ViewId: 00000000-0000-0000-0000-000000000000 |
policycriterion_ProcessSession
Many-To-One Relationship: processsession policycriterion_ProcessSession
| Property | Value |
|---|---|
| ReferencingEntity | processsession |
| ReferencingAttribute | regardingobjectid |
| ReferencedEntityNavigationPropertyName | policycriterion_ProcessSession |
| IsCustomizable | True |
| AssociatedMenuConfiguration | AvailableOffline: True Behavior: DoNotDisplayGroup: DetailsLabel: MenuId: null Order: QueryApi: null ViewId: 00000000-0000-0000-0000-000000000000 |
policycriterion_SyncErrors
Many-To-One Relationship: syncerror policycriterion_SyncErrors
| Property | Value |
|---|---|
| ReferencingEntity | syncerror |
| ReferencingAttribute | regardingobjectid |
| ReferencedEntityNavigationPropertyName | policycriterion_SyncErrors |
| IsCustomizable | True |
| AssociatedMenuConfiguration | AvailableOffline: True Behavior: DoNotDisplayGroup: DetailsLabel: MenuId: null Order: QueryApi: null ViewId: 00000000-0000-0000-0000-000000000000 |
See also
Dataverse table/entity reference
Dataverse Web API Reference