Skip to content

Version 3.6

Enesys RS Data Extension offers a new statement that lets you retrieve Survey lists data in a format that is much easier for building reports. We are also offering a ready-made generic report that can be used with any Survey list.

image

For more information about reporting on survey lists, see the associated knowledge base articles on our web site, and see the “ ESQ_Survey_statement ” chapter.

Starting from the version 3.4, the sqlServerQuery statement allowed you to retrieve data from any SQL Server database. In this new version of Enesys RS Data Extension , the sqlServerQuery statement is renamed to sqlData and is extended by adding support for Oracle databases.

The behavior is similar, you just have to select between SQL Server and Oracle when you create the statement:

image

Then, enter the connection string properties:

image

You can now query the database:

image

For more information, see the “ESQD_Joining_SharePoint_lists_and_external_SQL_data” chapter , and the “ESQ_sqlData_statement” chapter.

Note

Please note that the existing sqlServerQuery statements are still valid and are converted under the hood into sqlData statements, so that you don’t have to change anything when upgrading to v3.6.

Query Designer - Great Intellisense improvements

Section titled “Query Designer - Great Intellisense improvements”

SqlQuery statement is central to Enesys RS Data Extension innovative approach to build sophisticated queries. In this version, we have made several improvements regarding the Intellisense features.

With the previous versions, only the statement name was provided for sqlData , xmlQuery and sqlQuery statements, you still had to write the field names without any support from intellisense.

In this version, Intellisense is now provided for fields resulting from any statement:

  • For example, a database queried using the sqlData statement:
image
  • Or a RSS feed queried using the xmlQuery statement:
image
  • After having joined SQL Server and SharePoint data using a sqlQuery statement, you can use Intellisense inside a second sqlQuery statement:
image

SQLite functions are listed along with their associated parameters and a brief description:

image

Parameter description is available when editing a function:

image

Real time query parsing has been much improved in order to provide contextual intellisense support:

  • No statement is selected, the fields are not available:
image
  • Only the Products statement is selected, only its fields are available:
image
  • Both statements are joined, all the fields are available:
image
  • Support for table aliases:
image

The “p” name is detected as an alias of the “Products” table; therefore, fields from the Products table are available.

image

“pc” is recognized as an alias of the “Product categories” table, its fields are available.

Two “code snippets” were added for quickly adding SQL clauses:

  • A “SELECT” code snippet for inserting a SELECT clause with a FROM clause that selects a single statement:
image image image image
  • A “JOIN” snippet for inserting a JOIN clause:
image image image

For more information on Intellisense usage, please see the “ESQD_Using_Intellisense_inside_sqlQuery_statements” chapter.

Using parameters and variables for specifying SharePoint List URL and title

Section titled “Using parameters and variables for specifying SharePoint List URL and title”

The Properties form of list , survey , mergeLists and rollUpLists statements now has a “Url and Title” tab that allows you to easily change the way you specify the list title and its relative site URL:

image

When specifying a parameter, the value is specified into the “DefaultParameterValues” query option:

image

The query now has an options statement with the value specified:

image

When Reporting Services will retrieve the list schema, it will use this default value, so that you don’t get prompted for specifying the parameter values each time you edit the query.

For more information, see the “ Using_data_source_variables ” chapter. And for more information about the options node, see the “ESQ_Options_statement” chapter.

Query Designer – User Interface Improvements

Section titled “Query Designer – User Interface Improvements”

The version 3.6 includes some improvements regarding the User Interface that will enhance your query design experience.

The dialog box for selecting a list has been completely revamped as shown in the following screenshot:

image

Key improvements:

  • Using a data source variable for specifying the relative site URL
  • Filtering lists by name, type and visibility

Similarly to the “Add list statement” dialog box, the “Add rollUpLists statement” dialog box was revamped:

image

Key improvements:

  • Improved performances by limiting the data retrieved from SharePoint
  • “ On-demand” retrieval of the sub-sites lists
  • Using a data source variable for specifying the relative site URL
  • Filtering lists by name, type and visibility

SharePoint lists may have numerous columns and it may not be easy to go through every column to look for a specific column. We have added some options to the “Columns” tab, as you can see on the following screenshot:

image

Key improvements:

  • Dynamic filter of the columns based on their internal and display name.
  • Show/hide the hidden columns with a single click
  • Select/unselect all displayed columns with a single click
  • The aListPermissions and aSitePermissions statements now use the correct enumeration for the permissions.
  • Improved Null parameter value handling within CAML queries:
    • Eq operator is transformed to IsNull if the parameter value is null.
    • Neq operator is transformed to IsNotNull if the parameter value is null.
  • Null parameter values are properly handled inside sqlData (previously named sqlServerQuery ) statements.
  • Parameters may now be used inside the title attribute of the list , mergeLists and rollUpLists statements. This allows you to dynamically change the selected list at report-time, granted that lists have the same selected fields.
  • Corrected a bug with SharePoint 2010 that caused an error to be thrown when retrieving Item Versions for the Editor column.