SpreadsheetLauncher.IqyImportEnabled Method

Applies to: SharePoint Foundation 2010

Returns a Boolean value indicating whether the control supports importing or exporting of Web query (.iqy) files.

expression.IqyImportEnabled()

Parameters

expression

An expression that returns a SpreadsheetLauncher object.

Return Value

true if the control supports importing or exporting of Web query (.iqy) files; otherwise false.

Remarks

The onclick attribute of an <A> tag that would call the ExportList function contains a URL such as the following, which uses the Query.iqy file for processing the query:

javaScript:ExportList('http://STSServer1/_vti_bin/owssvr.dll?CS=109&Using=
_layouts/query.iqy&List=Contacts&View=&CacheControl=1');javascript:return false;