savedquery Class (CrmService)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Represents a stored database query against the logical database.

For a list of methods and messages that operate on this class, see View (savedquery) Entity Capabilities.

The savedquery class inherits from BusinessEntity. It exposes the following members.

Constructor Description
savedquery Initializes a new instance of the savedquery class.
Instance Property Description
columnsetxml Gets or sets the definition of the columns included in the view.
createdby Gets the ID of the user who created the view.
createdon Gets the date and time when the view was created.
createdonbehalfby Gets the ID of the proxy user who created the view.
customizationlevel For internal use only.
description Gets or sets the description of the view.
fetchxml Gets or sets the query in Fetch XML language.
inproduction Gets the value that indicates if the saved query (view) is in production.
iscustomizable Gets or sets the value that indicates if the saved query (view) is customizable.
isdefault Gets or sets the value that indicates if the saved query (view) is the default view.
isprivate Gets the value that indicates if the saved query (view) is private or visible to the entire organization.
isquickfindquery Gets or sets the value that indicates if the saved query (view) is searchable using the Quick Find View.
isuserdefined Gets or sets the value that indicates if the query was created by a user.
latestcolumnsetxml For internal use only.
latestdescription For internal use only.
latestfetchxml For internal use only.
latestlayoutxml For internal use only.
latestname For internal use only.
layoutxml For internal use only.
modifiedby Gets the ID of the user who last modified the view.
modifiedon Gets the date and time when the view was last modified.
modifiedonbehalfby Gets the ID of the proxy user who last modified the view.
name Gets or sets the name of the view.
organizationid Gets the ID of the organization associated with the view.
queryapi For internal use only.
queryappusage For internal use only.
querytype Gets or sets the type of the view.
returnedtypecode Gets or sets the type of entity displayed in the view.
savedqueryid Gets or sets the ID of the view.
savedqueryidunique For internal use only.

Remarks

The savedquery class also holds presentation information for the application grid controls.

This table lists only the attributes for a default system. For more information about the entities and attributes in your organization, see the Customization area of the Web application. To view this information in the Customization area, in the Navigation Pane, click Settings, click Customization, and then click Customize Entities. You can change the view to see non-customizable entities.

If you have an on-premise deployment, you can use the Metadata Browser to view the metadata for your organization. For more information, see Using the Metadata Browser.

This entity is not customizable.

Requirements

Web Service: CrmService

See Also

Concepts

Tasks

Reference

© 2010 Microsoft Corporation. All rights reserved.