- Edit your page and click on "Add a Web Part".
- From the "Media and Content" category, select "Silverlight Web Part" and click the "Add" button.
- You will now need to enter a URL to the Silverlight XAP file. I found this location by opening the Power View editor and looking in the HTML source to see where it was loaded. In any case, it is something like this (your mileage may vary):
- You will see that SharePoint tries to load the Silverlight component, but fails. Not to worry, there are more settings to fill in before it actually works!
- First of all, you should see the Web Part's properties on the right hand side of your screen. If not, select the little drop down in the title bar of the Web Part and click on "Edit Web Part".
- I gave my Web Part a fixed width and height, but you can set it as you like.
- Chrome Type can be set to None to give a nice integrated look and feel.
- The most import settings are to be found under the heading "Other Settings".
- Click the (empty) textbox "Custom Initialization Parameters" and click on the button with the ellipsis (...).
- Here are my settings:
- ItemPath=<LINK TO RDLX file>,
ReportServerUri=http://<SHAREPOINT_SERVER>/_vti_bin/reportserver/,
ViewMode=Presentation,
ServerTraceLevel=1,
AuthenticationMode=Windows,
ReportSection=ReportSection,
Fit=True,
PreviewBar=False,
BackgroundColor=White,
Border=True,
AllowEditViewMode=False,
AllowFullScreenViewMode=False - The tricky bit is of course the url to the ItemPath, but the easiest way to find this is by opening the Power View editor, open "View Source" and search for the text: param name="InitParams"
- Right after this text is the value parameter. Its contents pretty much gives you the ItemPath you need. Be sure to translate the encoded characters such as %3A to :, %2F to /, %20 to a space, etc.
- ItemPath=<LINK TO RDLX file>,
- Finally, hit OK or Apply to make sure that it actually works!
If you would rather start with Page 2 (the second view) of your Power View report, simply change the value of the parameter ReportSection. For instance, ReportSection=ReportSection2 will show you the second view.