Tutorial Android Studio - Preview
Tutorial Android Studio - Preview
Document #: 11.0.02016093001
Last Modified: 1/10/2018
Aras Innovator 11
Microsoft Reporting Services Guide
Copyright Information
Copyright © 2018 Aras Corporation. All Rights Reserved.
Aras Corporation
300 Brickstone Square
Suite 700
Andover, MA 01810
Phone: 978-691-8900
Fax: 978-794-9826
E-mail: [email protected]
Website: http://www.aras.com
Notice of Rights
Copyright © 2018 by Aras Corporation. This material may be distributed only subject to the terms and conditions set forth in the
Open Publication License, V1.0 or later (the latest version is presently available at http://www.opencontent.org/openpub/).
Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder.
Distribution of the work or derivative of the work in any standard (paper) book form for commercial purposes is prohibited unless
prior permission is obtained from the copyright holder.
Aras Innovator, Aras, and the Aras Corp "A" logo are registered trademarks of Aras Corporation in the United States and other
countries.
All other trademarks referenced herein are the property of their respective owners.
Notice of Liability
The information contained in this document is distributed on an "As Is" basis, without warranty of any kind, express or implied,
including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose or a warranty of non-
infringement. Aras shall have no liability to any person or entity with respect to any loss or damage caused or alleged to be caused
directly or indirectly by the information contained in this document or by the software or hardware products described herein.
Table of Contents
Send Us Your Comments ............................................................................................. 5
Document Conventions ................................................................................................ 6
1 Introduction .............................................................................................................. 7
2 Installing Reporting Services ................................................................................. 8
2.1 Installation is a component of SQL Server 2016.......................................................................... 8
2.1.1 Default Instance ............................................................................................................. 9
2.1.2 Service account Setup ................................................................................................. 10
2.1.3 Database Engine Configuration and Authentication Mode ......................................... 11
2.1.4 Analysis Services Configuration .................................................................................. 12
2.1.5 Reporting Services Options ......................................................................................... 13
2.1.6 Remaining Selections .................................................................................................. 13
7 Report Manager...................................................................................................... 44
7.1 Opening the Report Manager page ........................................................................................... 44
7.2 Export the RDL ........................................................................................................................... 45
7.3 Import the RDL ........................................................................................................................... 46
7.4 Select the Shared Data Source.................................................................................................. 49
If you find any errors or have any other suggestions for improvement, indicate the document title, and the
chapter, section, and page number (if available).
If you would like a reply, provide your name, email address, address, and telephone number.
Document Conventions
The following table highlights the document conventions used in the document:
Document Conventions
Convention Description
Yellow highlight Red color text with yellow highlight is used to indicate the
with red text code parameter that needs to be changed or replaced.
Successive menu Successive menu choices may appear with a greater than
choices sign (-->) between the items that you will select
consecutively.
Example: Navigate to File --> Save --> OK.
1 Introduction
Aras Innovator’s Report ItemType includes support for Microsoft’s ‘Reporting Services’ in addition to
supporting the existing XSLT based reports.
Reporting Services is an integral component of SQL Server 2016, and any customer with a SQL Server
2016 license can install Reporting Services. (See installation instructions below).
Usage of this release is recommended only for those with advanced Aras Innovator and SQL training.
Primary benefits to switching from stylesheet driven reports to Report Server:
Query building is in SQL, and is graphical (same as in Enterprise Manager).
Report definitions are transportable, you can develop on your laptop, and then deploy to a
production server.
Report layout is more drag-n-drop and has more powerful formatting tools.
The resulting reports are paginated.
The end-user can easily print, PDF, or export to Excel the report output.
Excel like Charts and graphs can be produced
Planned enhancements are a tighter integration of the authentication / permissions model, and finding an
alternative to Visual Studio for end-use report layout.
To learn more about Microsoft Reporting Services visit: Microsoft SQL Server: Reporting
Figure 1.
In addition to selecting the Reporting Services option, you can select ‘Analysis Services’ which provides
graphing and charting functionality.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6.
Figure 7.
Figure 8.
4. Set up the Database
Figure 9.
Figure 10.
Figure 11.
2. Click +, then Folder.
Figure 12.
Note: If you use a folder named something other than ‘Innovator Reports’, you need to change the
‘Report Server Folder’ variable in the database as well in Administration\Variables in the TOC.
The default value for this is ‘Innovator Reports’ but can be customized for each database. For the
purposes of these instructions, we assume the default value is used.
Figure 13.
The New Data Source dialog appears.
Figure 14.
2. Enter innovator_regular for the Data Source Name.
Note: By using this same name for both the development and production servers,
exporting/importing Reports becomes simpler because there is no need to reassign the
Data Source for the Reports you import.
3. Enter the following for the ‘Connection String’ replacing the values for the two parameters with the
actual server name where SQL Server is installed as well as the actual database name.
data source=<SQLServerName>;initial catalog=<InnovatorDatabase>
e.g.
data source=MyServer\MSSQLSERVER2016;initial catalog=InnovatorSolutions
4. Select the Using the following credential choice for the Connect Using Field and enter the DB
Client Login credentials for your database.
5. Click Create to deploy the shared Data Source.
The administrator for the server where Microsoft Reporting Services is installed must add a new Windows
User Account named ‘Reporting’. Once the User Account is created you can configure Aras Innovator by
setting the user name and password in the InnovatorServerConfig.xml configuration file:
<ReportingServices>
<ReportServer>http://localhost/ReportServer/</ReportServer>
<User>Reporting</User>
<Password>reporting</Password>
<Domain>Domain for the above User</Domain>
</ReportingServices>
Optional node, <Domain>, should contain the domain name you want to use to connect to Reporting
services.
The Reporting User Account must next be mapped as a Role in Reporting Services enabling this account
Browser privileges.
1. Create a user on the Server named “Reporting”
2. Click on the ‘Site Settings’ link in the upper right hand corner of the Report Manager page.
Figure 15.
3. Click on the ‘Security’ tab.
Figure 16.
4. Click ‘Add group or user’ to map the Reporting User Account as a Reporting Services Role.
Figure 17.
5. Enter the User Account name Reporting and check the System checkbox and click OK to create
the new Role.
Figure 18.
6. Click on the Browse link in the upper left corner on the page
Figure 19.
7. Click on Manage Folder link
Figure 20.
Figure 21.
9. Enter Reporting in the Group or User field and check the Browser checkbox. Click OK to create
a new Role Assignment for the Innovator Reports folder.
Figure 22.
Figure 23.
Figure 24.
Figure 25.
1. Select or enter the ‘Sever name’ for the machine SQL Server is installed.
2. Select the ‘Use a specific user name and password’ option and enter the login credentials for
the database and check the Save My password option.
3. Select or enter the ‘Database name’.
Figure 26.
Figure 27.
By default, the name of the Shared Data Source is the name of the Database you selected above. You
can rename this if you want. Finally, you need to deploy this new Shared Data Source.
Figure 28.
Figure 29.
Figure 30.
Figure 31.
Note: It is possible to pass Named Parameters into the query such as:
SELECT * FROM [PROJECT] WHERE id=@ID
The ‘Edit…’ button opens a Query Builder interface, which is covered later in more detail.
Figure 32.
Figure 33.
Figure 34.
Figure 35.
Figure 36.
Once the Report is opened in the Layout Tab you can make further changes as required.
Figure 37.
Figure 38.
Note: If you are using Firefox, you have to manually enter a stylesheet under the Stylesheet tab.
9. Test the Report by clicking on the Reports main menu bar choice and you should see the new
‘User Report’ choice. Click on the menu choice and you should see a new window open with the
‘User Directory’ Report.
As step 4 describes in the section 3.1, Report Server Variable, the value of the Innovator Report Item
Property report_query is appended to the ReportServer URL providing additional parameters to
control the ReportServer.
For example, the ID of the Item can be passed as the Named Parameter @ID for the SQL Select for
the Reporting Services Report as in this example:
SELECT * FROM [PROJECT] WHERE id=@ID
To pass the ID for the context Item (the selected Item) on the URL to the ReportServer, the Innovator
Report Item report_query Property would look like this:
np:id=<xsl:value-of select="@id"/>
This is actually an XSLT stylesheet fragment and is the directive for Innovator to add the string
&id=ACBDEF0123456789ACBDEF0123456789 to the end of the ReportServer URL (but the actual
ID value is used).
In this case the Innovator Report is of type Generic so no ID is required but perhaps we want the
Reporting Services Report to be returned in PDF or Excel format. We can control the ReportServer
by adding the following parameter as the report_query value for the ‘User Directory’ Report:
rs:Format=PDF
Figure 39.
Note: If you need to include more than one parameter for the report_query value, you need to use the
Entity & rather than the actual & symbol to delimit the parameters. Recall that the
report_query value is eventually part of the query_string for the URL to the ReportServer but is
actually an XSLT stylesheet fragment and so the special symbols like <, >, and & need to be
protected in XML need to be entered as Entities < > and & respectively.
For example, to pass the Named Parameter ID and also the Format PDF in the same report_query the
value would look like this:
np:id=<xsl:value-of select=”@id”/>&rs:Format=PDF
6.5 Zoom
Control the zoom:
rc:Zoom=100
rc:Zoom=% zoom as integer
rc:Zoom=Page Width
rc:Zoom=Whole Page
7 Report Manager
The Reporting Services ReportServer comes with a Report Manager page to administer the Reports,
Folders, Data Sources, and so on. This page has been integrated into Aras Innovator client via an
Innovator Report that opens the Report Manager page (see section 2 Configuring Aras Innovator for more
information about this Report Item).
Reports that are created and tested on the development machine can be moved to a production
ReportServer by exporting the RDL file for the Report from your local development machine and then
importing it into the production machine.
The process of exporting a Report and importing it into another ReportServer and enabling the Report in
Aras Innovator is a four step process:
1. Export the RDL file via the Report Manager page.
2. Import the RDL file via the Report Manager page.
3. Reassign the Data Source to the imported Report.
4. Add an Innovator Report Item to call the Reporting Services Report.
Figure 40.
Note: This same page can be opened from your browser with the URL http://localhost:80/Reports
Figure 41.
Figure 42.
Figure 43.
Click on the ‘Innovator Reports’ Folder and you see a list of Reports and Shared Data Sources. Click
‘Upload’ in the middle of the screen.
Figure 44.
Figure 45.
This opens the File Selection dialog for you to select the RDL file to upload.
Select the RDL file and click Open. The RDL file is uploaded to the target ReportServer and deployed.
You should see the new Report in the Folder now.
Figure 46.
Select the ‘Data Sources’ navigation link. The first choice ‘A shared data source’ should be selected.
Figure 47.
If the named Shared Data Source is incorrect for this ReportServer click ‘…’ to open the Shared Data
Source page. Navigate the Folders to locate the desired Shared Data Source, select it, and click ‘OK’.
Figure 48.
from innovator.Document
Would be written as
select item_number, innovator.ConvertToLocal(created_on,DEFAULT) as
CreadtedOn
from innovator.Document
Or
select item_number, innovator.ConvertToLocal(created_on,'Eastern Standard
Time') as CreadtedOn
from innovator.Document
To convert DateTime values from a specific time zone to UTC, use the function
ConvertFromLocal({value},{Time Zone}). The time zone should be specified according to the registry key
name of the time zone desired. (Refer to Aras Innovator - Configuring Internationalization) To use the
DEFAULT parameter for {Time Zone}, it is required that a value be set for CorporateTimeZone.
Example:
update innovator.Documnet
from innovator.Document