View (savedquery) Entity Capabilities

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

This class represents a saved query against the database.

The class for this entity is savedquery. For saved queries, you can use the messages listed in the following table with the Execute method.

Message Description
Create Use this message to create a saved query.

The information that is needed to create the entity instance is specified in the TargetCreateSavedQuery class.

You can also call the Create method.

Delete Use this message to delete a saved query.

The entity instance to delete is specified in the TargetDeleteSavedQuery class.

You can also call the Delete method.

ExecuteFetch Use this message to execute a query specified as a FetchXML string.

You can also call the Fetch method.

ExecuteByIdSavedQuery Use this message to execute a previously saved query specified by an ID.
Retrieve Use this message to retrieve a saved query.

The entity instance to retrieve is specified in the TargetRetrieveSavedQuery class.

You can also call the Retrieve method.

RetrieveMultiple Use this message to retrieve a collection of saved queries.

The query expression that describes the entity instances to retrieve is specified in the Query property of this request.

You can also call the RetrieveMultiple method.

Update Use this message to update a saved query.

The entity instance to update is specified in the TargetUpdateSavedQuery class.

You can also use the Update method.

ValidateSavedQuery Use this message to validate a saved query.

See Also

Concepts

  • View (savedquery) Attributes

Other Resources

© 2010 Microsoft Corporation. All rights reserved.