Freigeben über


Referenz zur Tabelle/Entität View (SavedQuery)

Hinweis

Unsicher bei Tabelle vs. Entität? Siehe Entwickler: Terminologie in Microsoft Dataverse verstehen.

Saved query against the database.

Nachrichten

Nachricht Web-API-Vorgang SDK-Klasse oder -Methode
Create POST [org URI]/api/data/v9.0/savedqueries
Weitere Informationen finden Sie unter Erstellen
CreateRequest oder
Create
Delete DELETE [org URI]/api/data/v9.0/savedqueries(savedqueryid)
Weitere Informationen finden Sie unter Löschen
DeleteRequest oder
Delete
ExecuteByIdSavedQuery Abrufen und Ausführen von vordefinierten Abfragen ExecuteByIdSavedQueryRequest
InstantiateFilters InstantiateFilters Action InstantiateFiltersRequest
Retrieve GET [org URI]/api/data/v9.0/savedqueries(savedqueryid)
Weitere Informationen finden Sie unter Abrufen
RetrieveRequest oder
Retrieve
RetrieveMultiple GET [org URI]/api/data/v9.0/savedqueries
Weitere Informationen finden Sie unter Daten abfragen
RetrieveMultipleRequest oder
RetrieveMultiple
RetrieveUnpublished RetrieveUnpublished Function RetrieveUnpublishedRequest
RetrieveUnpublishedMultiple RetrieveUnpublishedMultiple Function RetrieveUnpublishedMultipleRequest
SetState PATCH [org URI]/api/data/v9.0/savedqueries(savedqueryid)
Aktualisieren der Eigenschaften statecode und statuscode.
SetStateRequest
Update PATCH [org URI]/api/data/v9.0/savedqueries(savedqueryid)
Weitere Informationen finden Sie unter Aktualisieren
UpdateRequest oder
Update
Validate Validate Action ValidateRequest
ValidateSavedQuery ValidateSavedQuery Action ValidateSavedQueryRequest
ValidateUnpublished ValidateUnpublished Action ValidateUnpublishedRequest

Eigenschaften

Eigenschaft Wert
CollectionSchemaName SavedQueries
DisplayCollectionName Views
DisplayName View
EntitySetName savedqueries
IsBPFEntity False
LogicalCollectionName savedqueries
LogicalName savedquery
OwnershipType OrganizationOwned
PrimaryIdAttribute savedqueryid
PrimaryNameAttribute name
SchemaName SavedQuery

Schreibbare Spalten/Attribute

Diese Spalten/Attribute geben entweder für IsValidForCreate oder IsValidForUpdate (normalerweise beides) true zurück. Aufgelistet durch SchemaName.

AdvancedGroupBy

Eigenschaft Wert
Description Type the column name that will be used to group the results from the data collected across multiple records from a system view.
DisplayName Advanced Group By
FormatName TextArea
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName advancedgroupby
MaxLength 2000
RequiredLevel None
Type String

CanBeDeleted

Eigenschaft Wert
Description Tells whether the view can be deleted.
DisplayName Can Be Deleted
IsValidForForm False
IsValidForRead True
LogicalName canbedeleted
RequiredLevel SystemRequired
Type ManagedProperty

ColumnSetXml

Eigenschaft Wert
Description Contains the columns and sorting criteria for the view, stored in XML format.
DisplayName Column Set XML
Format TextArea
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName columnsetxml
MaxLength 1073741823
RequiredLevel None
Type Memo

ConditionalFormatting

Eigenschaft Wert
Description Type information about how the items in the system view are formatted.
DisplayName Conditional formatting
Format TextArea
IsLocalizable False
IsValidForCreate False
IsValidForForm False
IsValidForRead True
LogicalName conditionalformatting
MaxLength 1073741823
RequiredLevel None
Type Memo

Description

Eigenschaft Wert
Description Type additional information to describe the view, such as the filter criteria or intended results set.
DisplayName Description
Format Text
IsLocalizable True
IsValidForForm False
IsValidForRead True
LogicalName description
MaxLength 2000
RequiredLevel None
Type Memo

FetchXml

Eigenschaft Wert
Description String specifying the query in Fetch XML language.
DisplayName Fetch XML
Format TextArea
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName fetchxml
MaxLength 1073741823
RequiredLevel None
Type Memo

IntroducedVersion

Eigenschaft Wert
Description Version in which the form is introduced.
DisplayName Introduced Version
FormatName VersionNumber
IsLocalizable False
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName introducedversion
MaxLength 48
RequiredLevel None
Type String

IsCustomizable

Eigenschaft Wert
Description Tells whether the component can be customized.
DisplayName Customizable
IsValidForForm False
IsValidForRead True
LogicalName iscustomizable
RequiredLevel SystemRequired
Type ManagedProperty

IsDefault

Eigenschaft Wert
Description Tells whether the view is the default view for the specified record type (entity).
DisplayName Default
IsValidForForm False
IsValidForRead True
LogicalName isdefault
RequiredLevel SystemRequired
Type Boolean

IsDefault Auswahlen/Optionen

Wert Etikett Beschreibung
1 Yes
0 No

Standardwert: 0

IsQuickFindQuery

Eigenschaft Wert
Description Choose whether the view is compatible with Quick Find. When users search for specific items, you define the fields that are searched in.
DisplayName Quick Find Compatible
IsValidForForm False
IsValidForRead True
LogicalName isquickfindquery
RequiredLevel SystemRequired
Type Boolean

IsQuickFindQuery Auswahlen/Optionen

Wert Etikett Beschreibung
1 Yes
0 No

Standardwert: 0

LayoutJson

Eigenschaft Wert
Description Layout data in JSON format.
DisplayName Layout data in JSON format.
Format TextArea
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName layoutjson
MaxLength 1073741823
RequiredLevel None
Type Memo

LayoutXml

Eigenschaft Wert
Description For internal use only.
DisplayName Layout XML
Format TextArea
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName layoutxml
MaxLength 1073741823
RequiredLevel None
Type Memo

Name

Eigenschaft Wert
Description Type a name for the view to describe what results the view will contain. This name is visible to users in the View list.
DisplayName Name
FormatName Text
IsLocalizable True
IsValidForForm False
IsValidForRead True
LogicalName name
MaxLength 200
RequiredLevel SystemRequired
Type String

OfflineSqlQuery

Eigenschaft Wert
Description String specifying the corresponding sql query for the fetch xml specified for offline use.
DisplayName Offline SQL Query
Format TextArea
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName offlinesqlquery
MaxLength 1073741823
RequiredLevel None
Type Memo

QueryAppUsage

Eigenschaft Wert
Description For internal use only.
DisplayName Query Application Usage
Format None
IsValidForForm False
IsValidForRead True
LogicalName queryappusage
MaxValue 1000000000
MinValue 0
RequiredLevel None
Type Integer

QueryType

Eigenschaft Wert
Description Shows the type of the query.
DisplayName Query Type
Format None
IsValidForForm False
IsValidForRead True
LogicalName querytype
MaxValue 1000000000
MinValue 0
RequiredLevel SystemRequired
Type Integer

ReturnedTypeCode

Eigenschaft Wert
Description Type of entity displayed in the view.
DisplayName Entity Name
IsValidForForm False
IsValidForRead True
LogicalName returnedtypecode
RequiredLevel SystemRequired
Type EntityName

RoleDisplayConditionsXml

Hinzugefügt von: RoleBasedAccessControl-Lösung

Eigenschaft Wert
Description Contains the role display conditions for the SavedQuery.
DisplayName Role display conditions for the SavedQuery
Format Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName roledisplayconditionsxml
MaxLength 1073741823
RequiredLevel None
Type Memo

SavedQueryId

Eigenschaft Wert
Description Unique identifier of the view.
DisplayName View
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName savedqueryid
RequiredLevel SystemRequired
Type Uniqueidentifier

StateCode

Eigenschaft Wert
Description Shows the status of the view.
DisplayName Status
IsValidForCreate False
IsValidForForm True
IsValidForRead True
LogicalName statecode
RequiredLevel SystemRequired
Type State

StateCode Auswahlen/Optionen

Wert Etikett Standardstatuswert Invariante Name
0 Active 1 Active
1 Inactive 2 Inactive

StatusCode

Eigenschaft Wert
Description Shows the reason code that explains the status of the record.
DisplayName Status Reason
IsValidForForm True
IsValidForRead True
LogicalName statuscode
RequiredLevel None
Type Status

StatusCode Auswahlen/Optionen

Wert Etikett Status
1 Active 0
2 Inactive 1

Schreibgeschützt Spalten/Attribute

Diese Spalten/Attribute geben false zurück für sowohl IsValidForCreate als auch IsValidForUpdate. Aufgelistet durch SchemaName.

ComponentState

Eigenschaft Wert
Description For internal use only.
DisplayName Component State
IsValidForForm False
IsValidForRead True
LogicalName componentstate
RequiredLevel SystemRequired
Type Picklist

ComponentState Auswahlen/Optionen

Wert Etikett Beschreibung
0 Published
1 Unpublished
2 Deleted
3 Deleted Unpublished

CreatedBy

Eigenschaft Wert
Description Shows who created the record.
DisplayName Created By
IsValidForForm False
IsValidForRead True
LogicalName createdby
RequiredLevel None
Targets systemuser
Type Lookup

CreatedByName

Eigenschaft Wert
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdbyname
MaxLength 100
RequiredLevel None
Type String

CreatedByYomiName

Eigenschaft Wert
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdbyyominame
MaxLength 100
RequiredLevel None
Type String

CreatedOn

Eigenschaft Wert
DateTimeBehavior UserLocal
Description Shows the date and time when the record was created. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options.
DisplayName Created On
Format DateAndTime
IsValidForForm False
IsValidForRead True
LogicalName createdon
RequiredLevel None
Type DateTime

CreatedOnBehalfBy

Eigenschaft Wert
Description Shows who created the record on behalf of another user.
DisplayName Created By (Delegate)
IsValidForForm False
IsValidForRead True
LogicalName createdonbehalfby
RequiredLevel None
Targets systemuser
Type Lookup

CreatedOnBehalfByName

Eigenschaft Wert
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdonbehalfbyname
MaxLength 100
RequiredLevel None
Type String

CreatedOnBehalfByYomiName

Eigenschaft Wert
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdonbehalfbyyominame
MaxLength 100
RequiredLevel None
Type String

IsCustom

Eigenschaft Wert
Description Tells whether a user created the view.
DisplayName Is Custom
IsValidForForm False
IsValidForRead True
LogicalName iscustom
RequiredLevel SystemRequired
Type Boolean

IsCustom Auswahlen/Optionen

Wert Etikett Beschreibung
1 Yes
0 No

Standardwert: 1

IsManaged

Eigenschaft Wert
Description Tells whether the record is part of a managed solution.
DisplayName State
IsValidForForm False
IsValidForRead True
LogicalName ismanaged
RequiredLevel SystemRequired
Type Boolean

IsManaged Auswahlen/Optionen

Wert Etikett Beschreibung
1 Managed
0 Unmanaged

Standardwert: 0

IsPrivate

Eigenschaft Wert
Description Indicates whether or not this is viewable by the entire organization.
DisplayName Is Private
IsValidForForm False
IsValidForRead True
LogicalName isprivate
RequiredLevel SystemRequired
Type Boolean

IsPrivate Auswahlen/Optionen

Wert Etikett Beschreibung
1 Yes
0 No

Standardwert: 0

IsUserDefined

Eigenschaft Wert
Description Tells whether the view was created by a user.
DisplayName User Defined
IsValidForForm False
IsValidForRead True
LogicalName isuserdefined
RequiredLevel None
Type Boolean

IsUserDefined Auswahlen/Optionen

Wert Etikett Beschreibung
1 Yes
0 No

Standardwert: 1

ModifiedBy

Eigenschaft Wert
Description Shows who last updated the record.
DisplayName Modified By
IsValidForForm False
IsValidForRead True
LogicalName modifiedby
RequiredLevel None
Targets systemuser
Type Lookup

ModifiedByName

Eigenschaft Wert
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedbyname
MaxLength 100
RequiredLevel None
Type String

ModifiedByYomiName

Eigenschaft Wert
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedbyyominame
MaxLength 100
RequiredLevel None
Type String

ModifiedOn

Eigenschaft Wert
DateTimeBehavior UserLocal
Description Shows the date and time when the record was last updated. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options.
DisplayName Modified On
Format DateAndTime
IsValidForForm False
IsValidForRead True
LogicalName modifiedon
RequiredLevel None
Type DateTime

ModifiedOnBehalfBy

Eigenschaft Wert
Description Shows who last updated the record on behalf of another user.
DisplayName Modified By (Delegate)
IsValidForForm False
IsValidForRead True
LogicalName modifiedonbehalfby
RequiredLevel None
Targets systemuser
Type Lookup

ModifiedOnBehalfByName

Eigenschaft Wert
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedonbehalfbyname
MaxLength 100
RequiredLevel None
Type String

ModifiedOnBehalfByYomiName

Eigenschaft Wert
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedonbehalfbyyominame
MaxLength 100
RequiredLevel None
Type String

OrganizationId

Eigenschaft Wert
Description Choose the ID of the organization that the record is associated with.
DisplayName Organization
IsValidForForm False
IsValidForRead True
LogicalName organizationid
RequiredLevel SystemRequired
Targets organization
Type Lookup

OrganizationIdName

Eigenschaft Wert
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName organizationidname
MaxLength 100
RequiredLevel SystemRequired
Type String

OrganizationTabOrder

Eigenschaft Wert
Description For the organization, type the tab order to determine how users navigate through the screen using only the Tab key.
DisplayName Default Organization tab order
Format None
IsValidForForm False
IsValidForRead True
LogicalName organizationtaborder
MaxValue 2147483647
MinValue 0
RequiredLevel None
Type Integer

OverwriteTime

Eigenschaft Wert
DateTimeBehavior UserLocal
Description For internal use only.
DisplayName Record Overwrite Time
Format DateOnly
IsValidForForm False
IsValidForRead True
LogicalName overwritetime
RequiredLevel SystemRequired
Type DateTime

QueryAPI

Eigenschaft Wert
Description For internal use only.
DisplayName Query API
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName queryapi
MaxLength 100
RequiredLevel None
Type String

SavedQueryIdUnique

Eigenschaft Wert
Description For internal use only.
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName savedqueryidunique
RequiredLevel SystemRequired
Type Uniqueidentifier

SolutionId

Eigenschaft Wert
Description Unique identifier of the associated solution.
DisplayName Solution
IsValidForForm False
IsValidForRead True
LogicalName solutionid
RequiredLevel SystemRequired
Type Uniqueidentifier

SupportingSolutionId

Eigenschaft Wert
Description For internal use only.
DisplayName Solution
IsValidForForm False
IsValidForRead False
LogicalName supportingsolutionid
RequiredLevel None
Type Uniqueidentifier

VersionNumber

Eigenschaft Wert
Description Version number of the view.
DisplayName Version Number
IsValidForForm False
IsValidForRead True
LogicalName versionnumber
MaxValue 9223372036854775807
MinValue -9223372036854775808
RequiredLevel None
Type BigInt

Eins-zu-Viele-Beziehungen

Aufgelistet durch SchemaName.

SavedQuery_SyncErrors

Wie die SavedQuery_SyncErrors-Viele-zu-Eins-Beziehung für die syncerror-Tabelle/-Entität.

Eigenschaft Wert
ReferencingEntity syncerror
ReferencingAttribute regardingobjectid
IsHierarchical False
IsCustomizable True
ReferencedEntityNavigationPropertyName SavedQuery_SyncErrors
AssociatedMenuConfiguration Behavior: DoNotDisplay
Group: Details
Label:
Order:
CascadeConfiguration Assign: Cascade
Delete: Cascade
Merge: Cascade
Reparent: Cascade
Share: Cascade
Unshare: Cascade

lk_mobileofflineprofileitem_savedquery

Wie die lk_mobileofflineprofileitem_savedquery-Viele-zu-Eins-Beziehung für die mobileofflineprofileitem-Tabelle/-Entität.

Eigenschaft Wert
ReferencingEntity mobileofflineprofileitem
ReferencingAttribute profileitemrule
IsHierarchical False
IsCustomizable False
ReferencedEntityNavigationPropertyName lk_mobileofflineprofileitem_savedquery
AssociatedMenuConfiguration Behavior: DoNotDisplay
Group: Details
Label:
Order:
CascadeConfiguration Assign: NoCascade
Delete: Restrict
Merge: NoCascade
Reparent: NoCascade
Share: NoCascade
Unshare: NoCascade

SavedQuery_BulkDeleteFailures

Wie die SavedQuery_BulkDeleteFailures-Viele-zu-Eins-Beziehung für die bulkdeletefailure-Tabelle/-Entität.

Eigenschaft Wert
ReferencingEntity bulkdeletefailure
ReferencingAttribute regardingobjectid
IsHierarchical False
IsCustomizable False
ReferencedEntityNavigationPropertyName SavedQuery_BulkDeleteFailures
AssociatedMenuConfiguration Behavior: DoNotDisplay
Group: Details
Label:
Order:
CascadeConfiguration Assign: NoCascade
Delete: Cascade
Merge: NoCascade
Reparent: NoCascade
Share: NoCascade
Unshare: NoCascade

SavedQuery_AsyncOperations

Wie die SavedQuery_AsyncOperations-Viele-zu-Eins-Beziehung für die asyncoperation-Tabelle/-Entität.

Eigenschaft Wert
ReferencingEntity asyncoperation
ReferencingAttribute regardingobjectid
IsHierarchical False
IsCustomizable False
ReferencedEntityNavigationPropertyName SavedQuery_AsyncOperations
AssociatedMenuConfiguration Behavior: DoNotDisplay
Group: Details
Label:
Order:
CascadeConfiguration Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
Share: NoCascade
Unshare: NoCascade

Viele-zu-Eins-Beziehungen

Jede Viele-zu-Eins-Beziehung wird durch eine entsprechende Viele-zu-Viele-Beziehungen mit der zugehörigen Tabelle definiert. Aufgelistet durch SchemaName.

lk_savedquery_modifiedonbehalfby

Siehe die lk_savedquery_modifiedonbehalfby-Eins-zu-Viele-Beziehung für die systemuser-Tabelle/-Entität.

lk_savedquerybase_createdby

Siehe die lk_savedquerybase_createdby-Eins-zu-Viele-Beziehung für die systemuser-Tabelle/-Entität.

lk_savedquerybase_modifiedby

Siehe die lk_savedquerybase_modifiedby-Eins-zu-Viele-Beziehung für die systemuser-Tabelle/-Entität.

organization_saved_queries

Siehe die organization_saved_queries-Eins-zu-Viele-Beziehung für die organization-Tabelle/-Entität.

lk_savedquery_createdonbehalfby

Siehe die lk_savedquery_createdonbehalfby-Eins-zu-Viele-Beziehung für die systemuser-Tabelle/-Entität.

Siehe auch

Dataverse-Tabelle/-Entitätsreferenz Web-API-Referenz savedquery EntityType