Dalam tulisan kali ini, saya akan mencoba menjelaskan proses instalasi sample data yang akan digunakan menampilkan demo penggunaan KPI dan scorecard Performance Point Services 2010.
Source-nya bisa diunduh dari alamat ini : http://code.msdn.microsoft.com/pps2010SDSrcSample
Prerequiste-nya adalah :
1. Sharepoint 2010 include performance point services di applied
2. Visual Studio 2008 untuk proses build data source-nya
Tahapannya sebagai berikut :
- Setelah di ekstrak source-nya buka dengan VS 2008 file “Scorecard Data Source Sample.sln”.
- Setelah terbuka pastikan semua reference dll yang akan digunakan tidak dalam keadaan missing link.
- Build solution hingga keluar pesan “build succeded” di info bar VS 2008 di bagian kiri bawah.
- Tambahkan PerformancePoint.ScorecardDataSource.ReportView DLL ke dalam global assembly cache. By default, the DLL is located in the sample files in the path Pps2010SDSSample\PPS Scorecard Data Source Sample\SDS Subscriber ReportView\bin\x64\Debug
- Copy the SDSScripts.js file from the SDS Subscriber ReportView folder to the LAYOUTS folder in the path %ProgramFiles%\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS.
- Navigate to the PerformancePoint Services web.config file in the default path %ProgramFiles%\Microsoft Office Servers\14.0\WebServices\PpsMonitoringServer, and make a backup copy of the file.
- Paste code dibawah ini ke web.config file yang ada dalam penjelasan point sebelumnya. diantara element :
</FCODaoProviders>
<CustomFCOGroup>
--> bagian yang di copy mulai dari dibawah ini
<CustomFCO type="ReportView" subType="SDSCreator">
<Resources assemblyName="PerformancePoint.ScorecardDataSource.ReportView, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2bfee352bc76640b" resourcesName="PerformancePoint.ScorecardDataSource.SDSRV" FCOName="fcoName" FCODescription="fcoDescription" FCOTemplateIcon="icon" />
<RendererClass name="PerformancePoint.ScorecardDataSource.CustomReportView.SDSReportRenderer,PerformancePoint.ScorecardDataSource.ReportView, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2bfee352bc76640b" />
</CustomFCO>
<CustomFCO type="DataSource" subType="ScorecardDataSource">
<Resources FCOName="Scorecard Data Source" FCODescription="Tabular data source that gets data from a scorecard." />
<EditorURI uri="" />
</CustomFCO>
-- > bagian akhir dari yang di copy.
</CustomFCOGroup>
<CustomParameterDataProviders>
8. masukan code dibawah di dalam CustomDataSourceProviders element di web.config file yang sama .
<add key="ScorecardDataSource" value="PerformancePoint.ScorecardDataSource.DataSourceProvider.ScoreCardTabularDataSourceProvider, PerformancePoint.ScorecardDataSource.Provider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2bfee352bc76640b" />
9. Add the PerformancePoint.ScorecardDataSource.Thin DLL to the global assembly cache. By default, the DLL is located in the sample files in the path Pps2010SDSSample\PPS Scorecard Data Source Sample\SDS Creator Page\bin\x64\Debug.
10. Copy the SDSCreator.aspx file from the SDS Creator Page folder to the LAYOUTS folder in the path %ProgramFiles%\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS.
Configuring the Sample
1. Open PerformancePoint Dashboard Designer and create an instance of the custom Scorecard Data Source Creator report, as follows:
a. In Workspace Browser, right-click the PerformancePoint Content node, point to New, and click Report.
b. In the Select a Report Template dialog box, click Scorecard Data Source Creator, and then click OK.
Note The custom report does not use an editor, so you can ignore the error ("An editor for the selected item is not available") that appears in the Editor tab.
2. Create a dashboard page that contains a scorecard and the custom report. You do not need to connect the scorecard and report.
3. Deploy the dashboard to SharePoint Server.
4. On the dashboard page, right-click the scorecard and select Create Data Source from Scorecard.
Note The purpose of the custom report is to add a script dependency to the dashboard page. As a result, only the title of the report appears on the page.
5. In the PerformancePoint Scorecard Data Source Creator page, enter a name for the data source, and then select the location of the list to save the data source to. Then, click Create Data Source to create and save a new data source that contains the scorecard generators in its CustomData property.