SSRS 2008 Having a problem when adding Page Name - reporting-services

When modify the properties of a tablix and add anything to the 'PageName' property, it changes my
report definitions from
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
to
<Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns:cl="http://schemas.microsoft.com/sqlserver/reporting/2010/01/componentdefinition" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition">
Does anyone have a solution to this?

I think the PageName property is only supported in SSRS 2008 R2 and above so the report designer is updating the definition to that version.

Related

How can the CustomerRef field from SalesTable be added to the CustAccountStatementExt report?

In Microsoft Dynamics Ax2012 R2 I want a customization for report CustAccountStatementExt by adding the field CustomerRef from SalesTable
Location of report in the AOT :
SSRS Reports\Reports\CustAccountStatementExt
You have to open Visual studio 2010 (only supported version for AX 2012 R2) and open this repot from Application Explorer (View -> Application Explorer Ctrl+D,Enter).
MSDN:
Walkthrough: Customizing Existing Microsoft Dynamics AX Reports
How to: Customize a Report
Visual Studio Tools for AX must be installed from the AX Setup.
In addition to Matej's answer (which only covers the customization of the report layout) you also have to make the field available in the report data source. To do that you have to add a new field to table CustAccountStatementExtTmp that will hold the value of the CustomerRef field from table SalesTable.
You will also have to customize the creation of the CustAccountStatementExtTmp records which in this case is surprisingly done in the report controller class CustAccountStatementExtController (usually the report tables are filled in the data provider class). This will require some work, because you have no direct way to access the SalesTable record there. Basically you have to figure out how to determine the sales order from the CustTrans record that is available there.
After that, you still have to customize CustAccountStatementExtDP.insertNewRecords method because for some reason the records are copied from one instance of the (temporary) table CustAccountStatementExtTmp to another.
After that the new field should show up in the data set of the report in Visual Studio and you can then include it in the report layout (see Matej's answer on how to do that).
Here are the steps I followed to accomplish this:
Add field to the CustAccountStatementExtTmp table
Add code to CustAccountStatementExtController.insertCustAccountStatementExtTmp method to populate the new field.
Refresh the data source in the SSRS report, and in the report design (and then re-open the design).
Add the field to the report
At this point I also had to restart the AOS before the data would appear on the report. Apparently there was something cached in memory that prevented it from working.

Conditional DataElementName in SSRS RDL

Dear friends at stackoverflow,
I have a strange issue where I need to change DataElementName property of a textbox in RDL conditionally based on report parameter. This is important for CSV export. As far as my knowledge goes, I assume DataElementName property turns into a header when report is rendered in CSV format. But I cannot have a static value for this property. it is unfortunate that Report designer does not allow an expression for DataElementName. What are my options?
Thank you in advance.

Report Definition (RDL) Hide In Tile View

I have some subreports which I would like to have hidden from the tile view in SSRS when they're deployed.
Is there a way to have the .rdl specify this or is this particular property only available through the SSRS interface?
Whether a report is hidden or visible in Report Manager is not a property of the .rdl / report itself, and can only be set once the report is uploaded to the SSRS server.
You can set this property directly from the sql reporting server:
Update [ReportServer].[dbo].[Catalog]
Set Hidden = 1
Where <condition>

How do I set the report language in Report Builder 3.0?

I'm using Report Builder 3.0 to create some reports for an application. I'm using Report Builder because I'd like the client to be able to customize the reports as needed in the future. Now, when I edit a report in Visual Studio (that is using Business Intelligence Development Studio), I can set the properties for the report. That way I can set the language for the report which is important to ensure that all the number/date formats appear correctly, as my client is in France, and they're fussy about that sort of thing. Setting the language adds an element to the report xml as follows:
</ReportParameters>
<Language>=User!Language</Language>
<rd:ReportUnitType>Mm</rd:ReportUnitType>
<rd:ReportServerUrl>http://localhost/reportserver_sql2008r2</rd:ReportServerUrl>
<rd:ReportID>24c58c7f-2a6a-4f68-878d-d26d97bb16e8</rd:ReportID>
</Report>
How can I access the report properties, and specifically the report language in Report Builder?
Thanks,
Patrick Collins
I know this is way old, but it's a valid question. I've verified that you can do this in Report Builder 2.0 (10.0.4.4000.0) and Report Builder 3.0 (11.0.2100.60):
Go to the "View" tab of the ribbon at the top of the screen.
Check the box next to "Properties" - voila, the familiar Properties Pane appears.
Go to Localization - Language and use the dropdown to select your desired language

SSRS subfolders in Visual Studio Report Server Project

I am using SSRS 2008. Currently everything works find so long as I put all reports in the Reports folder of the Report Server Project in Visual Studio.
I attempted a work-around, which is to have multiple Report Server projects, each pointing to a different folder on the report server. This has the side effect of not letting me reference the sub report from another project.
So, is there a way of referencing a sub-report from another project and still have the ability to preview?
Is there a way to get sub-folders in Report Server project?
it's not built-in to SSRS; but there is a workaround. Simply keep the reports under one project (to allow the reference) and manualy control the deployment location per report.
If you go this route, you may want to look automating this by creating a deployment script using rs.exe
rs.exe
There are also some attempts at solving this on codeplex; but I haven't had a chance to take a look at this yet:
rsbuild
I know it's a long time since the question was first asked but, if anyone is looking for an answer these days like me here's what I was able to do.
Move all your reports into whatever folder structure you want.
Then edit your .rptproj file and find where your report item group is. It will look something like:
<ItemGroup>
<Report Include="Report1.rdl" />
<Report Include="Report2.rdl" />
</ItemGroup>
Just update those file names to be the full path like this:
<ItemGroup>
<Report Include="Folder1/Report1.rdl" />
<Report Include="Folder2/Report2.rdl" />
</ItemGroup>
Reload your report project and it works.... (well it does for me!)
So far everything seems to work for me.
When deploying your SSRS Report to SubFolders do the following:
TargetReportFolder => /Institutional Statements/Monthly Statements
Institutional Statements being the master folder for your solution
and Monthly Statements being the child folder within them.