Relink SSRS report to Officewriter template - ssrs-2012

We have some SSRS reports with several tabs which have been developed in SoftArtisans Officewriter as well. We had some consultants make changes to the reports and they redeployed them without touching the Officewriter portion, thus overwriting. The reports will not render in Excel Officewriter now.
My question, is this, is there a way to relink an older copy of the Officewriter template from 9 months ago, to the newer copy of the SSRS report? I could then add any changes from the last 9 mos to the Officewriter template without starting from scratch. When I open the Officewriter addin and open the report, all of the datamarkers are available, but the spreadsheet is blank.
Although the report will not render in Excel OfficeWriter, the SSRS XML code does have some mention of OfficeWriter.
OfficeWriter v9.0.0
Excel Template
I'm not very familiar with XML or what happens behind the scenes between SSRS and Officewriter. Any help is appreciated.
Thank you!
Yannispawn

The easiest way to do this, would be to actually download and use the newest version of the OfficeWriter Designer.
Newer versions of the OfficeWriter Designer added functionality called "Import template" which can be used for this very use case.
You open the the SSRS template with the designer, and the select Import. From there you select your new Excel File. This will now replace and associate your new excel file with the existing SSRS report.

Related

odoo / OpenERP V8 - Tutorial on QWeb Reports

I am trying to start with odoo. One of the most import thing for us would be to generate different layout for sale orders.
I've started with this document: https://github.com/odoo/odoodays-2014/blob/master/v8_reporting_engine/index.rst
It is from the "odoodays 2014" and shows how to customize an existing report. This works fine. I don't understand the points under "Generic / particular report".
Now I'm lost trying to add a new report (starting with a copy of the exisiting report) with a custom template.
I've tried to add a new item in the report view in settings, but I can't add any linked qweb views (I've added a new one, but it didn't get a new ID).
I've tried to create a copy in the views directory of the addon but it didn't help.
Is there any tutorial for this ?
Is there somebody who can give me some pointers how to add a new report ?
After searching around I've come to this solution. I've translated all the menu headers from German, because I'm using Odoo in German.
reports are listed in Settings / Reporting / Reports
you can click one of the reports
if you edit one of the reports you can click on "Search for linked QWeb Views" - you can click and change these views. They are in HTML and are used for the data in the reports
New reports are typically added with a plugin.
If you would like to change the report with the website editor you can install the website builder. If you change one of the reports from PDF to HTML (in Settings / Reporting / Reports) you get a popup when you're generating the report.
In this popup you can change the report template. With this you can change the template with the website builder tools.
These reports are saved in the database in the table ir_ui_view. If you change to another database they still have the original reports (this was my big fear - that changing the reports changes them for all databases).
Header and footer are still changed in the company settings with RDL.
So basically everything from the odoodays-2014 document is working like they've showed on this website - it was just pretty hard to find out how these things worked.

Create PDF form-fillable fields from Visual studio

A bit of a Visual Studio 2010 newbie here, but I have developed a modest working knowledge of how to create report forms linked to a database, but I have come across something that I have yet to face.
I have created a report that has three tables on it. Tables 1 (equipment specs) and 2 (operation schedule) are linked to my database. Table 3 is a table (equipment performance audit) that will need to be populated by the people out in the field. They will have to populate these fields in a PDF editor (Adobe) while they are out in the field and simply save them to PDF file. I do not believe there is a plan to have them to be imported back into a database table (which I think we should, but I don't help make those decisions...yet), so we don't need to worry about that.
The problem that I am facing is that I have no idea how to generate the fillable (i.e. text box?) fields for the PDF in Visual Studio, I tried inserting text boxes, but that didn't work...
Any help would be greatly appreciated. Thank you!
Have a look at the ITextSharp library. It will allow you to create PDF files on the fly. I'm pretty sure that it is also able to create PDF forms as well.
ITextSharp is a port of the JAVA based IText PDF library. so most of the conceptual information that applies to IText will also apply to ITextsharp
Some code examples to help:
- iTextSharp — few C# examples.
- Generating PDF using ItextSharp with Footer in C#
- Create PDFs in ASP.NET- getting started with iTextSharp
- IText In Action book samples
- Answer to Fill PDF Form with Itextsharp

pages repeating while creating a report in Visual Studio 2010

Im trying to create a report template via .rdlc file, but no matter how I style this file in designer I always get as a result printed last page of the document with the content of the second last page.
Any ideas how to change it?
Or is there any best practice how to style those .rdlc report tempaltes?

Crystal Reports image loading on runtime

I have some reports with many records. Those records have images. They were coming from a .NET Dataset object.
I was initially making the approach of getting the images' contents into the records using System.Byte[] Columns, but the reports took up too much time to load.
I did time profiling. It is not the dataset construction that takes too much.
I put on the table the hypothesis of the images being slowing the process.
So I tried a different approach: Instead of having pictures directly into the tables, I have filepaths.
Following the practic described in Crystal Reports User Guide, I inserted a OLE object of "Paintbrush Picture Type" and its Image's Graphic Location was ser to a database table field. Additionally I also defined a file hyperlink to be the same field.
I tried, it didn' t show the image. But clicking the hyperlink was OK.
So I added more two OLE object items in the report for testing: the first's Graphic location and hyperlink have the filepath of the first record's image. It is a .jpg file.
I created additionally a .bmp copy of that image and set the second item's filepaths to point to this image.
Tested again, hyperlinks work Ok, but no images shown directly in report .
When I click Preview on Visual Studio 2010 Crystal Reports designer I can see the images, but not in runtime.
So, what am I missing for the images to show?
additional info:
VS 2010 premium
.Net framework 4
Windows 7 64 bits
Crystal reports is integrated on Visual Studio
Thanks in advance,
Sérgio
After some frustrating times, it seems I have found a solution in 3 easy steps:
Uninstall every component of Crystal Reports for VS 2008
Reopen Visual Studio 2010
Clean & Rebuild Solution
If you are using CR as a component, during runtime you will notice that the top bar of the component is different: the icons have different design and at right it will say "SAP CRYSTAL REPORTS"

Issues exporting an Excel file from Crystal Reports

I am having an issue exporting Crystal Reports into an excel file.
I tried both options of exporting the Excel data AND exporting as an excel file. When i export my Crystal Report as an excel file, i cannot sort any of the fields in my excel file.
When i export the report as just the excel data, when i open in Excel, the headers are really messed up. The first three headers appear at the END of all of the columns--which doesn't make any sense to me.
Does anybody know how to change export options in Visual Studio? I am using Crystal Reports on Visual Studio and have no idea how to change any of these options.
It sounds like your report has not been laid out in an optimal way for Excel export, and it's not Visual Studio or the export options that is the problem here. Depending on your version of Crystal, some tips would be :
1) Make sure all column headers are the same width and left-most position as the data they relate to.
2) Minimize gaps between column headers, and also gaps between detail rows.
Unless you're using earlier than CR8.5, it's likely you can't sort because the export has created lots of merged cells - points 1 and 2 will mitigate this substantially. Basically, if you're exporting to Excel you want your report's data to be laid out as similar to an Excel spreadsheet as possible.

Resources