Introducing XMLRSDocs and RDLDocumenter

by Lisa Nicholls Fri, August 03 2007 08:04

I mentioned that I've been working on a SQL Server Reporting Services utility... I've now posted the docs for this tool as a Spacefold article. They're not done, but they're copiously illustrated and give a good idea of what it is and does.

So what is it, anyway?

  • XMLRSDocs is an idea: documentation for reports should be done the same way, as much as possible, and with the same facility, as developers have when creating documentation for class libraries and other application components.

I started with XML Comments as a model:

You ought to be able to extract some standard documentation into a usable XML schema, from any RDL or RDLC, and you ought to be able to use XML to decorate any RDL or RDLC with custom documentation elements, to be extracted at the same time if they are present.  It would be pretty easy to put the extraction process into a standard post-build step for reports, similar to how XML Comments are extracted when you build your class libraries.

Then I added to this idea, in a way that ought to be applicable to class libraries, so other people are probably doing it:

The extracted XML documentation should be easy to insert into a SQL database, so you could Do More Stuff to it.

Then I added a bit more, in a way particularly nice for reports:

Once you have your Reporting Services documentation data in database form... you should be able to get your documentation out as Reporting Services reports, as a base output format. (Duh, right?)

  • RDLDocumenter is an implementation of the idea: it's a lot of SQL Server and .NET technologies, used together, to make this possible.

You can use RDLDocumenterDesigner, the ReportDesigner add-on part of RDLDocumenter, to add notes to your report and its elements while you're working on it.  That seemed to be the make-or-break requirement to allow folks to document reports with ease. It wouldn't do to have them run the RDL or RDLC through a separate process, like a form or a wizard in which you could see the various elements of the RDL exposed and have a chance to add notes to them.  Such a form interface would allow a more elaborate UI, but it wasn't a fluent way of working. Besides, discovering more about this process was a significant motivation for working on RDLDocumenter in the first place.  As explained in my earlier post, I was trying to show how certain tasks were pretty standard when writing the design-time and run-time components of a reporting tool, no matter what the toolset.

But it turns out that, at least in the current state of the art, there are also some critical limitations in creating a ReportDesigner add-on that are worth discussing, too (and I hope to do that soon).  Plus, a design-time tool for a single report just wasn't clarifying the end-to-end documentation process that one would want.  Suppose you created some sort of processing hook that would run when the report was saved or closed in the Designer; how did this material get put together with documentation for other reports? And so on.

I ended up creating an external form as a prototype for and demonstration of the end-to-end process, and an SSIS package for a demonstration of using it in a production mode.  The various tasks in the process are also broken out as simple VBS scripts you could chain together or incorporate in some other form of processing, if you like.

While creating these external pieces, I faced a bunch of interesting challenges related to RS reporting in general. I'm hoping that the code in these pieces will serve as illustration of a whole bunch of FAQs one sees on RS forums: how do you switch between report definitions in a ReportViewer control? how do you bind datasources to a report dynamically for a ReportViewer.LocalReport? what kind of code is good for downloading a report  from a Reporting Services instance, without user interface? and so on.

We'll see how it goes...  

Tags: , , , , ,

Reporting | SQL Server | XML/XSLT | xmlRSDocs

Comments (48) -

4/19/2009 2:52:54 AM #

Custom research paper

well i am learning and currently handling some XML projects this one is quite interesting share.

Custom research paper United States

5/3/2009 4:17:31 AM #

Luxury Travel Destinations

That is excellent stuff indeed, even though im on my first stage of XML learning but still its would be really handy.

Luxury Travel Destinations United States

5/3/2009 4:18:51 AM #

Healthy Living

Extremely good stuff guys, thanks for sharing great information regarding xml.

Healthy Living United States

5/5/2009 10:51:02 PM #

latest hindi movies

Im actively involved with XML projects so this was really helpful for me!

thank you guys for the excellent resource!

latest hindi movies United States

6/9/2009 2:27:48 AM #

how to sleep less

Este tipo de correo que contengan realmente apreciada y que puede dar idea y el conocimiento para hacerlo .. gracias por compartir este tipo de correo.

how to sleep less Thailand

7/1/2009 3:49:12 PM #

Wicker

I cant figure out how it works, i was trying to work out with xml feeds but with no luck. Anyway...

Wicker Italy

7/1/2009 4:04:09 PM #

>L<

Hi there,

I haven't upgraded RDL Documenter to RS 2008 -- could that be your problem?  Not for lack of interest -- just lack of time <sigh>.

>L<

9/17/2009 1:17:42 AM #

HSA

I am an XML novice but I think I understand this. Thanks

HSA United States

12/3/2009 3:24:43 PM #

Trinity Brenton

Thanks for another informative entry. Where else could anyone get that kind of info in such a easy to understand way of writing.

Trinity Brenton United States

1/21/2010 7:40:33 AM #

Shannon Yeaman

I am not an expert on this matter, but after learning your article, my understanding has developed considerably. I googled it about this matter and I guess many people will agree with your blog. I don’t know what to say except that I have enjoyed reading. I need to bookmark this web site so I can comeback and read more posts. Keep up the good work.

Shannon Yeaman United States

1/25/2010 3:50:50 PM #

bratz

Aw, this was a really quality post. In theory I'd like to write like this too - taking time and real effort to make a good article... but what can I say... I procrastinate alot and never seem to get anything done

bratz United States

1/28/2010 11:05:01 PM #

P&#228;rmar

And I believed I knew everything there was to know about this issue...well, now I do - good post. Best regards, Alma Barnet ~ parmar

Pärmar

2/1/2010 4:51:14 PM #

garden hammock

Good post as always. Thanks for sharing. I really envy your writing skills.

garden hammock

2/3/2010 3:06:56 PM #

business opportunities from home

Appreciate the info, it’s good to know.

business opportunities from home United Kingdom

2/3/2010 5:48:15 PM #

Dana Keate

This was a wonderful post to read! I really enjoyed it. Maybe when I get a chance to return I'll read some more.

Dana Keate New Zealand

2/4/2010 2:44:24 AM #

tinnitus relief

I really enjoyed reading your wisdom, apparently you understand what are you talking about! Your site is so simple to use too, I’ve bookmarked all of it in my folder :-D

tinnitus relief

2/5/2010 7:14:51 AM #

john piano

A blog well-done! It has always been a joy reading your posts. I honestly think you have a talent and creativity in blogging. You make my day! ^^

john piano United States

2/11/2010 10:32:28 AM #

Zippy

Thanks for the post! A little hard to read for a novice like me. <a href="http://www.poolsaboveground.com">Above Ground Swimming Pools</a>

Zippy United States

2/11/2010 9:01:24 PM #

Aquamarine Engagement Rings

Good stuff, been looking forward to it.

Aquamarine Engagement Rings United States

2/23/2010 12:51:57 PM #

Hair Wigs

Thanks for the heads up.

Hair Wigs United States

2/27/2010 10:07:47 AM #

pool cover

I agree with what you say…

pool cover United States

3/7/2010 4:44:53 PM #

Cabling Company New York

Thanks for the info.  It was even helpful for a beginner to XML.

Cabling Company New York United States

3/8/2010 4:38:50 AM #

vincere al gioco del Blackjack

I am having a question about document map on SQL Server 2005 Reporting Services. I found one problem with the values retrived for the document level. That is, the values are not distinct, they are duplicate for the document level.  Is it possible for us to get the distinct values for a particular document level? Hope my question is clear for your help.Thank you very much in advance for your help and advices. I am looking forward to hearing from you.

vincere al gioco del Blackjack Serbia

3/16/2010 6:11:37 AM #

eskisehir web

Woov.. Good ideas..I hhink like that

eskisehir web Turkey

3/26/2010 3:08:23 AM #

Research Paper Service

Thanks for great materials!

Research Paper Service United States

6/3/2010 5:06:07 AM #

Escorts in London

Hi, I discovered your site while browsing looking for something entertaining to read. Suffice to say, I've found it! I'll definitely return to read more. Thanks again for taking the effort to write all this

Escorts in London United States

6/23/2010 9:43:23 PM #

Home to buy

I need to bookmark this web site so I can comeback and read more posts. Keep up the good work.

Home to buy United States

8/4/2010 8:51:28 AM #

Araba Oyunlari

I think this site has been opened for only half, what a beautiful hell.

Araba Oyunlari Macedonia (FYROM)

8/4/2010 8:51:53 AM #

Oyunlar

Hi, I really liked your site. I would come across in a very high quality paper, I hope it will always add such a beautiful article. The Buddha is my end game content related to: None Laughing

Oyunlar Macedonia (FYROM)

8/4/2010 8:52:33 AM #

Bakugan Games


I was looking for a long time. I came across while browsing the site Smile

Bakugan Games Jordan

8/4/2010 8:53:10 AM #

3D OYUNLAR

@Bakugan Games : If you follow this site often you'll encounter a very nice article.

3D OYUNLAR Jordan

8/18/2010 10:51:05 AM #

Jackie

This was really helpful for me. Saved me time. Thanks.

Jackie United States

8/18/2010 3:23:53 PM #

Hossohbot

that's very good info

Hossohbot Turkey

8/26/2010 10:24:43 PM #

Online Business Directory

ya very informative post, waiting for new post.......

Online Business Directory India

8/27/2010 2:11:31 AM #

Watch The Town Online

yeah me too

Watch The Town Online United States

8/27/2010 6:14:08 AM #

wheel loader manufacturers

I understand your meaning.

wheel loader manufacturers Switzerland

9/1/2010 4:08:19 AM #

Myrtle Beach Condo

After reading your post I really feel glad because generally on the internet you will find posts with filler content but in your post there was no filler content. I really like your post and I am looking forward for the posts written by you in the future.

Myrtle Beach Condo United States

9/14/2010 8:06:19 AM #

3D Yaris Oyunlari

good article thank admin.

3D Yaris Oyunlari United States

9/27/2010 7:56:50 PM #

3D Savas Oyunlari

good article thakns.

3D Savas Oyunlari United States

9/30/2010 4:24:49 AM #

flowers store

nice blog,This is very detailed and informative article.

flowers store United Kingdom

10/7/2010 8:57:12 PM #

1st birthday dress

I still remember the first time I tried to understand XML back in the university, it took me quite a while, and now I'm using it all around in projects in .NET

1st birthday dress United States

10/10/2010 7:55:22 AM #

Ryan

Great post here on Spacefold again! Keep the great content coming.Smile

Ryan United Kingdom

10/29/2010 5:55:57 AM #

professional writing services

Thanks for the useful information, I really like it and think it’s a good info..

professional writing services United States

10/30/2010 2:33:38 PM #

Camisetas

This article gives the light in which we can observe the reality. You got a definitely helpful blog I’ve been right here reading for about an hour.I have saved this web page so ideally I will discover a lot more on this subject in the future!

Camisetas Brazil

10/31/2010 1:59:22 AM #

Best deck stain

SA There is no tolerance for doing the same mistake over and over again. They would better take off the hands and say sorry, lol

Best deck stain United States

11/3/2010 4:21:00 PM #

Infant Snowsuit

Anything to standardize the reporting process is excellent, especially for technical people. It's the content that matters, so when the design is already taken care of then it's one less thing to consider.

Infant Snowsuit Canada

11/8/2010 7:07:16 AM #

 Towing Edina

Really useful article.. Thank you..

Towing Edina United States

11/9/2010 6:42:01 AM #

babykleding outlet

XML is something that can help you with your website.

babykleding outlet Netherlands

Add comment




  Country flag
biuquote
  • Comment
  • Preview
Loading