ĐÀO TẠO DOANH NGHIỆP : SỞ KHOA HỌC CÔNG NGHỆ TỈNH ĐỒNG NAI

ENTERPRISE TRAINING: DONG NAI DEPARTMENT OF SCIENCE AND TECHNOLOGY.

HÌNH ẢNH TẬP HUẤN LỚP SHAREPOINT WORKFLOW VÀ KIẾN TRÚC SHAREPOINT

PHOTOS OF SHAREPOINT WORKFLOW AND ARCHITECTURE CLASS.

HÌNH ẢNH TẬP HUẤN LỚP SHAREPOINT WORKFLOW VÀ KIẾN TRÚC SHAREPOINT

PHOTOS OF SHAREPOINT WORKFLOW AND ARCHITECTURE CLASS.

Showing posts with label Reporting Services to Share Point 2010 (SSRS). Show all posts
Showing posts with label Reporting Services to Share Point 2010 (SSRS). Show all posts

Monday, May 21, 2012

Using Caml Query in Reporting services with sharepoint


Using Caml Query in Reporting services with sharepoint

Create new Report server

Download project at here

Open your Site Collection and create new Custom List name CallCenter follow as, you can download CallCenter at here
Open SQL Server business Intelligence Developer Studio | New Project | input name: MSTechSharing_CallCenter
Project structure follows as
Right click Reports | Add New Report
Check to “New data source” radio button:
Name: CallCenterDataSource.
Type: Microsoft Sharepoint List.
Connection string: your site collection
Check to “make this a shared data source”
Then click next

Click to Query Builder …

Choose CallCenter List
Click to Add Filter
Change Field name to filter then check to parameter
You can continue add filter
After filter click to “Run Query” icon
Results as under
Click to Edit as Text to change the query
This is Caml Query
You can Edit or write new Caml Query from “U2U Caml Query Builder” then click “Run” icon
Dialog Query Parameter appear (in the caml query which have parameter. Therefore, dialog Query Parameter appear) Input Parameter Value then click OK
Results as under
If you don’t want to save changes, click to “Edit as Text” then click Yes button on dialog
If you want to save changes, click to OK button
Click Next
Choose “Tabular” type
Add Title to Group.
Add FullName, Age, Email, Gender… to Details>
Then click Next
Choose Stepped radio button:
Check to Include subtotals (apply to all fields with types is Number)
Check to Enable drilldown to expand or collapse group
Then click Next
Choose Table Style then click Next
Input Report name: CallCenter1, check to Preview report then click Finish
Report run successful, input parameter then click “View Report” button, result as under
Right click to CallCenter1.rdl | view code
You can see caml query, QueryParameters, and DataSourceName to get data from sharepoint list
If you want to publish this report to sharepoint you must:
Delete <DataSourceReference>CallCentarDataSource</DataSourceReference>
And insert below  <DataSource …> tag
<ConnectionProperties>
<DataProvider>SHAREPOINTLIST</DataProvider>
<ConnectString>http://devsharepoint:90</ConnectString>
<IntegratedSecurity>true</IntegratedSecurity>
</ConnectionProperties>
Result as under
Open site collection and upload “CallCenter1.rdl” to Documents(option) library
Edit any page then add webpart reporting services then input URL to CallCenter1.rdl
Result as under (image 33)

Create Report server from Report server existing

Right click Reports | Add New Report | click to Shared data source radio button then choose “CallCenterDataSouce”
Click to “Query Builder…” button
Click to “Import…” icon
Choose CallCenter1.rdl which was created before
Click Import
Click to OK
Click Next
Choose Tabular type then click Next
Design the table as under
Check to “Enable drilldown” then click next
Choose Table Style then click Next
Input Report name: CallCenter2 and check to Review report then click Finish
Result as under

Friday, March 2, 2012

Lesson 01: How to Setup SQL Server integrated Reporting Services - configure SQL and Sharepoint


In this article, we will know how to setup and configure SQL Server 2008 R2.

Run file setup SQL Server R2 | click link “Installation” | click link “New Installation or add features to an existing installation”
Set default | click Next
Check to “I accept the license terms” and click Next
Click Install
Click Next
Set default and click Next
Click button Select All then click Next
Click Next
Choose radio button “Named Instance” and enter Sharepoint then click Next
Click Next
Click button “Use the same account for all SQL Server services”
Dialog box appear, Enter account name and password then click ok and click Next
Click button Add Current User
Click radio button “Install the Sharepoint integrated mode default configuration” (Important)
Click Next
Click Next
Click Install
Wait processing
After setup finish, click Close
Continue configure SQL Reporting Services in SQL Server and Central Admin.


Click start | Expand Microsoft SQL Server 2008 R2 | Reporting Services Configuration Manager
Dialog box appear, click Connect
Click “Web Service URL” link, then you can change port number to your web application and click apply (should set default)
Result is connect successfully
Click to your URLs  link
Result below, you copy link above address bar
Open Central Admin | Click to “General Application Setting” link
In categories Reporting Services | click to “Reporting Services Integration” link
Paste address which you copied above to textbox, and choose Windows Authentication in Dropdownlist then click OK
Result Reporting Services is Actived
Go you web site | click Site Actions | Edit Page
Click tab Insert | click Web Part
In categories | choose SQL Server Repoting…|SQL Server Repoting Services Report then click Add
Result below is successful