Imagine Think Create Share

Office | SharePoint | Search | Architecture | Stuff
  • Imagine Think Create Share

    What's going on with RDL?

    • 0 Comments

    I was thinking right now how was going on the different development around tools that generate RDL. Perhaps in the next Trivial Pursuit will appear Who designed Report Definition Language? and you should know it [:)]

    It is nice to see several projects/companies involved in this type of development, as the platform (RS) is so extensible.

    Some examples could be:

    But you can always write you own after checking the doc :

    You know that you can comment about any other resources available. For sure!!

    RDL, RS

    [Updated 26/01/2006]

  • Imagine Think Create Share

    WordML in Reporting Services

    • 3 Comments

    Although Reporting Services is almost 22 months old, I haven't found any pure render extension yet (please comment on this[:-*]). Many people ask me 'how can I export reports in Microsoft Word format?', and I usually redirect them to our BOL. But after looking up in the RS documentation, I realized that it is not as straighforward as expected, so I will try to simplify it.

    ReportingService.Render Method

    You can find easily this method in the documentation , it explain how to render a built report programmatically. In our sample the most important parameters are:

    • Format, Reporting Services allows you to export the report from the IF to any format configure as rendering extension. So w can export by default to: XML, CSV, IMAGE (Different image format here), PDF, HTML4.0, HTML3.2, MHTML, EXCEL and HTMLOWC. We will choose XML.
    • DeviceInfo, it is a XML string that contains the necessary information for the rendering extension chosen above.

    Then we can take a closer look to the XML Device Information Settings.

    Here we have (XSLT, MIMEType, UseFormattedValues, Indented, OmitSchema, Encoding, FileExtension, Schema), I will comment the first one XSLT. It will be the path in the report server namespace of an XSLT to apply to the XML file. This means that you can upload a XSL file, and include its path here.

    The approach I'm following to create Microsoft Word Format, is based on WordML Format, and you can use:

    1. Microsoft Office Word 2003
    2. Word Viewer 2003 (standalone application)
    3. Word 2003: XML Viewer (Internet Explorer)
    4. Any other application that consumes WordML.

    to see the final doc.

    Is there an easy way?

    Well, you can follow the sample and create an application that creates a WordML file....or you can use Reporting Services URL Access and do it in  a simple way.

    So we follow these steps:

    1. Create a report based on AdventureWorks2000 database, with Data Source (Check it).
    2. Deploy them to the ReportServer
    3. Create the XSLT to convert from XML (RS rendering) format to WordML format (Check it).
    4. Uploaded the file transform01.xsl to MyXSLT folder
    5. Create a URL Access with all the information:
      1. http://localhost/ReportServer?
      2. /RSDemos/AdW2KProducts
      3. &rs:Format=XML&rs:Command=Render
      4. &rc:XSLT=/MyXSLT/transform01.xsl
      5. &rc:FileExtension=doc  (you may try &rc:FileExtension=xml too due to the Word PI)
      6. &Category=22
    6. Access the URL (Check it).

    And that's it, we have our WordML report.

    We could create RTF documents following the same pattern.

    What about better documentation

    Yes, I know BOL RS could be better (Eyerthing can improve!), and that is the reason we heard from customers and improve the documentation (and improve the searching [;)])!

    Check the MSDN / MSDN2 docs:

    HTML Report

    WordML Report

    BOL, RS, WordML, XSLT, URL, IF, RTF, XML, PDF, CSV, MSDN

    [Updated links MSDN / MSDN2 18-Oct-2005]

    [Updated text and transform01 22-Mar-2006]

  • Imagine Think Create Share

    Starting again

    • 2 Comments

    Hi,

    Let's try to write about what I read, see or think. First, I work at IW MCS Team at Spain, so I'll write about Office development and RS, although I love many other stuff.

    I was searching time ago apps/tools in order to manage Word documents at the server, as you perhaps know Microsoft Office were not intended to be use at the server (more later on this). But I have been in several projects were this was a requirement. So which alternatives we have?

    Searching through several solutions you can find:

    and solutions around WordML with CambridgeDocs or the transformation with RenderX at MSDN

    And usually customer start her own solution. In this path VSTO, is really improving in the next release (November), so you should take a closer look in new Server-Side functionality, as the ServerDocument Class.

    The Office XML Formats for Codenamed Office "12" will be important too, so check Brian Jones blog

    It would be great if you give us your opinion about those products, if you have tested them. Or solutions you have made and problems you have faced.

    About Office on the server, you may have read about our future new services as Excel Services or Forms Server so I think we are going to have a new interested year :)

    P.S.

    IW, MCS, RS, MSDN, VSTO

Page 1 of 1 (3 items)