Compartir a través de


Referencia de tabla o entidad Saved View (UserQuery)

Nota

¿No está seguro de tabla frente a entidad? Vea Desarrolladores: comprender la terminología en Microsoft Dataverse.

Saved database query that is owned by a user.

Mensajes

Mensaje Operación de API web Método o clase de SDK
Assign PATCH [org URI]/api/data/v9.0/userqueries(userqueryid)
Actualizar propiedad ownerid.
AssignRequest
Create POST [org URI]/api/data/v9.0/userqueries
Vea Crear
CreateRequest o
Create
Delete DELETE [org URI]/api/data/v9.0/userqueries(userqueryid)
Vea Eliminar
DeleteRequest o
Delete
ExecuteByIdUserQuery Recuperar y ejecutar consultas predefinidas ExecuteByIdUserQueryRequest
GrantAccess GrantAccess Action GrantAccessRequest
ModifyAccess ModifyAccess Action ModifyAccessRequest
Retrieve GET [org URI]/api/data/v9.0/userqueries(userqueryid)
Vea Recuperar
RetrieveRequest o
Retrieve
RetrieveMultiple GET [org URI]/api/data/v9.0/userqueries
Vea Consultar datos
RetrieveMultipleRequest o
RetrieveMultiple
RetrievePrincipalAccess RetrievePrincipalAccess Function RetrievePrincipalAccessRequest
RetrieveSharedPrincipalsAndAccess RetrieveSharedPrincipalsAndAccess Function RetrieveSharedPrincipalsAndAccessRequest
RevokeAccess RevokeAccess Action RevokeAccessRequest
SetState PATCH [org URI]/api/data/v9.0/userqueries(userqueryid)
Actualizar propiedades statecode y statuscode.
SetStateRequest
Update PATCH [org URI]/api/data/v9.0/userqueries(userqueryid)
Vea Actualizar
UpdateRequest o
Update

Propiedades

Propiedad Valor
CollectionSchemaName UserQueries
DisplayCollectionName Saved Views
DisplayName Saved View
EntitySetName userqueries
IsBPFEntity False
LogicalCollectionName userqueries
LogicalName userquery
OwnershipType UserOwned
PrimaryIdAttribute userqueryid
PrimaryNameAttribute name
SchemaName UserQuery

Columnas/atributos que se pueden escribir

Estas columnas o atributos devuelven true para IsValidForCreate o IsValidForUpdate (generalmente ambos). Listado por SchemaName.

AdvancedGroupBy

Propiedad Valor
Description Type the column name that will be used to group the results from the data collected across multiple records from a user view.
DisplayName Advanced Group By
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName advancedgroupby
MaxLength 20
RequiredLevel None
Type String

ColumnSetXml

Propiedad Valor
Description Shows the columns and sorting criteria for the saved 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

Propiedad Valor
Description Type information about how the items in the user view are formatted.
DisplayName User Group By
Format TextArea
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName conditionalformatting
MaxLength 1073741823
RequiredLevel None
Type Memo

Description

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

FetchXml

Propiedad Valor
Description Contains the Fetch XML query that defines the entities and attributes included in the saved view.
DisplayName Fetch XML
Format TextArea
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName fetchxml
MaxLength 1073741823
RequiredLevel SystemRequired
Type Memo

LayoutJson

Propiedad Valor
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

Propiedad Valor
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

Propiedad Valor
Description Type a descriptive name for the saved view.
DisplayName Name
FormatName Text
IsLocalizable False
IsValidForForm True
IsValidForRead True
LogicalName name
MaxLength 200
RequiredLevel SystemRequired
Type String

OfflineSqlQuery

Propiedad Valor
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

OwnerId

Propiedad Valor
Description Enter the user or team who is assigned to manage the record. This field is updated every time the record is assigned to a different user.
DisplayName Owner
IsValidForForm True
IsValidForRead True
LogicalName ownerid
RequiredLevel SystemRequired
Targets systemuser,team
Type Owner

OwnerIdType

Propiedad Valor
Description Type of the owner of the saved view, such as user, team, or business unit.
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName owneridtype
RequiredLevel SystemRequired
Type EntityName

ParentQueryId

Propiedad Valor
Description Choose the ID of the saved query that the record was created from.
DisplayName Parent Query
IsValidForForm True
IsValidForRead True
LogicalName parentqueryid
RequiredLevel None
Targets
Type Lookup

QueryType

Propiedad Valor
Description Shows the code for the query type to indicate whether the saved view is an address book filter, advanced search, or other view.
DisplayName Query Type
Format None
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName querytype
MaxValue 1000000000
MinValue 0
RequiredLevel SystemRequired
Type Integer

ReturnedTypeCode

Propiedad Valor
Description Type of entity that the saved view displays.
DisplayName Returned Type
IsValidForForm False
IsValidForRead True
LogicalName returnedtypecode
RequiredLevel SystemRequired
Type EntityName

StateCode

Propiedad Valor
Description Shows whether the saved view is active or inactive.
DisplayName Status
IsValidForCreate False
IsValidForForm True
IsValidForRead True
LogicalName statecode
RequiredLevel SystemRequired
Type State

Elecciones/opciones de StateCode

Valor Etiqueta Estado predeterminado Nombre invariable
0 Active 1 Active
1 Inactive 2 Inactive

StatusCode

Propiedad Valor
Description Select the item's status.
DisplayName Status Reason
IsValidForCreate False
IsValidForForm True
IsValidForRead True
LogicalName statuscode
RequiredLevel None
Type Status

Elecciones/opciones de StatusCode

Valor Etiqueta Estado
1 Active 0
2 Inactive 1
3 All 0

UserQueryId

Propiedad Valor
Description Unique identifier of the saved view.
DisplayName User Query
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName userqueryid
RequiredLevel SystemRequired
Type Uniqueidentifier

Columnas/atributos de sólo lectura

Estas columnas o atributos devuelven false tanto para IsValidForCreate como para IsValidForUpdate. Listado por SchemaName.

CreatedBy

Propiedad Valor
Description Shows who created the record.
DisplayName Created By
IsValidForForm False
IsValidForRead True
LogicalName createdby
RequiredLevel SystemRequired
Targets systemuser
Type Lookup

CreatedByName

Propiedad Valor
Description Name of the user who created the saved view.
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdbyname
MaxLength 100
RequiredLevel None
Type String

CreatedByYomiName

Propiedad Valor
Description YomiName of the user who created the saved view.
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdbyyominame
MaxLength 100
RequiredLevel None
Type String

CreatedOn

Propiedad Valor
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 SystemRequired
Type DateTime

CreatedOnBehalfBy

Propiedad Valor
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

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

CreatedOnBehalfByYomiName

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

ModifiedBy

Propiedad Valor
Description Shows who last updated the record.
DisplayName Modified By
IsValidForForm True
IsValidForRead True
LogicalName modifiedby
RequiredLevel SystemRequired
Targets systemuser
Type Lookup

ModifiedByName

Propiedad Valor
Description Name of the user who last modified the saved view.
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedbyname
MaxLength 100
RequiredLevel None
Type String

ModifiedByYomiName

Propiedad Valor
Description YomiName of the user who last modified the saved view.
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedbyyominame
MaxLength 100
RequiredLevel None
Type String

ModifiedOn

Propiedad Valor
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 Last Modified
Format DateAndTime
IsValidForForm True
IsValidForRead True
LogicalName modifiedon
RequiredLevel SystemRequired
Type DateTime

ModifiedOnBehalfBy

Propiedad Valor
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

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

ModifiedOnBehalfByYomiName

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

OwnerIdName

Propiedad Valor
Description Name of the owner of the saved view.
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName owneridname
MaxLength 100
RequiredLevel SystemRequired
Type String

OwnerIdYomiName

Propiedad Valor
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName owneridyominame
MaxLength 100
RequiredLevel SystemRequired
Type String

OwningBusinessUnit

Propiedad Valor
Description Shows the business unit that the record owner belongs to.
DisplayName Owning Business Unit
IsValidForForm True
IsValidForRead True
LogicalName owningbusinessunit
RequiredLevel None
Targets businessunit
Type Lookup

OwningBusinessUnitName

Propiedad Valor
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName owningbusinessunitname
MaxLength 160
RequiredLevel None
Type String

OwningTeam

Propiedad Valor
Description Unique identifier of the team who owns this saved view.
DisplayName Owning Team
IsValidForForm False
IsValidForRead True
LogicalName owningteam
RequiredLevel None
Targets team
Type Lookup

OwningUser

Propiedad Valor
Description Unique identifier of the user who owns this saved view.
DisplayName Owning User
IsValidForForm False
IsValidForRead True
LogicalName owninguser
RequiredLevel None
Targets systemuser
Type Lookup

VersionNumber

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

Relaciones de uno a varios

Listado por SchemaName.

UserQuery_BulkDeleteFailures

Igual que la relación de varios a uno UserQuery_BulkDeleteFailures de la tabla bulkdeletefailure.

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

UserQuery_SyncErrors

Igual que la relación de varios a uno UserQuery_SyncErrors de la tabla syncerror.

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

UserQuery_AsyncOperations

Igual que la relación de varios a uno UserQuery_AsyncOperations de la tabla asyncoperation.

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

Relaciones de varios a uno

Cada relación de varios a uno se define mediante una relación de uno a varios correspondiente con la tabla relacionada. Listado por SchemaName.

lk_userquery_modifiedonbehalfby

Consulte la relación de uno a varios lk_userquery_modifiedonbehalfby de la tabla systemuser.

business_unit_userquery

Consulte la relación de uno a varios business_unit_userquery de la tabla businessunit.

user_userquery

Consulte la relación de uno a varios user_userquery de la tabla systemuser.

team_userquery

Consulte la relación de uno a varios team_userquery de la tabla team.

lk_userquery_modifiedby

Consulte la relación de uno a varios lk_userquery_modifiedby de la tabla systemuser.

lk_userquery_createdby

Consulte la relación de uno a varios lk_userquery_createdby de la tabla systemuser.

lk_userquery_createdonbehalfby

Consulte la relación de uno a varios lk_userquery_createdonbehalfby de la tabla systemuser.

Consultar también

Referencia de tabla o entidad de Dataverse Referencia de la API web userquery EntityType