CLI Reference > Workflows and Documents Commands > im viewquery
  
im viewquery
displays the properties of an existing Windchill RV&S query
Synopsis
im viewquery [--[no]showHistory] [--[no]showReferences] [--hostname=value] [--port=value] [--password=value] [--user=value] [--height=value] [--width=value] [-x value] [-y value] [(-?|--usage)] [(-g|--gui)] [(-F value|--selectionFile=value)] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=value] [--forceConfirm=[yes|no]] [user:]query...
Description
im viewquery displays the properties of a Windchill RV&S query. The properties of a Windchill RV&S query are: name, who created the query, description, image type, users and groups shared with, query definition, associated column set, and last modified date.
Options
This command takes the universal options available to im commands, as well as some general options. See the options reference page for descriptions.
--[no]showHistory
specifies whether to display a read-only log of all changes to the query.
--[no]showReferences
specifies whether to display all system provided and user objects that reference the query.
[user:]query...
specifies the name of the user who the query belongs to and the query name, for example, jhoyt:Cosmos Critical Defects. If you want to view queries that have the same name, but different users, you must specify [user:]query. The query name is mandatory.
* 
Windchill RV&S initially assumes that text before the colon (:) is a user name and text after it is a query name. If Windchill RV&S fails to find a matching user name and query name, it searches for a query name matching the exact text. For example, if you type jhoyt:CosmosDefects, Windchill RV&S searches for the CosmosDefects query created by jhoyt. If Windchill RV&S cannot find the query and/or user, it searches for the jhoyt:CosmosDefects query created by any user.
See Also
Commands: im copyquery, im createquery, im deletequery, im editquery, im queries
Miscellaneous: options