TechSpoken
"Any ideas?" is the most frequently-asked question in technical forums. My answer is: yes.

Introducing XMLRSDocs and RDLDocumenter

August 3, 2007 07:04 by LSN

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...  


Comments

April 19. 2009 01:52

Custom research paper

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

Custom research paper

May 3. 2009 03:17

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

May 3. 2009 03:18

Healthy Living

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

Healthy Living

May 5. 2009 21:51

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

June 9. 2009 01:27

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

July 1. 2009 14:49

Wicker

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

Wicker

July 1. 2009 15:04

>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<

September 17. 2009 00:17

HSA

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

HSA

December 3. 2009 14:24

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

January 21. 2010 06:40

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

January 25. 2010 14:50

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

January 28. 2010 22:05

Pä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

February 1. 2010 15:51

garden hammock

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

garden hammock

February 3. 2010 14:06

business opportunities from home

Appreciate the info, it’s good to know.

business opportunities from home

February 3. 2010 16:48

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

February 4. 2010 01:44

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

February 5. 2010 06:14

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

February 11. 2010 09:32

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

February 11. 2010 20:01

Aquamarine Engagement Rings

Good stuff, been looking forward to it.

Aquamarine Engagement Rings

February 23. 2010 11:51

Hair Wigs

Thanks for the heads up.

Hair Wigs

February 27. 2010 09:07

pool cover

I agree with what you say…

pool cover

March 7. 2010 15:44

Cabling Company New York

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

Cabling Company New York

March 8. 2010 03:38

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

March 16. 2010 05:11

eskisehir web

Woov.. Good ideas..I hhink like that

eskisehir web

March 26. 2010 02:08

Research Paper Service

Thanks for great materials!

Research Paper Service

June 3. 2010 04:06

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

June 23. 2010 20:43

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

July 29. 2010 14:34

hammocks swings

Visit http://hammocksswings.net for the absolute best deals on the internet on hammocks and swings. They sale at wholesale and are offering free shipping right now. I'm not sure they will offer the free shipping at these prices so you better get them while the getting is good.

hammocks swings

August 4. 2010 07:51

Araba Oyunlari

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

Araba Oyunlari

August 4. 2010 07:51

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

August 4. 2010 07:52

Bakugan Games


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

Bakugan Games

August 4. 2010 07:53

3D OYUNLAR

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

3D OYUNLAR

August 13. 2010 14:13

oyunlar

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

oyunlar

August 16. 2010 04:43

remedies for zits

that's very good info
i think i will put some my own blog Laughing
cheers
http://zoodiscounts.net
http://tvdump.net

remedies for zits

August 18. 2010 09:51

Jackie

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

Jackie

August 18. 2010 14:23

Hossohbot

that's very good info

Hossohbot

August 20. 2010 03:34

ezmoz

Good piece of post; keep it up.

ezmoz

August 23. 2010 12:59

a line skirt

PDF Power Redux, "Redacted", and reduced>> Thank you for taking the time to write this blog post. Much appreciated, very valuable information.

a line skirt

August 26. 2010 21:24

Online Business Directory

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

Online Business Directory

August 27. 2010 01:11

Watch The Town Online

yeah me too

Watch The Town Online

August 27. 2010 01:12

Download FIFA 2011 Free

that's very good info
i think i will put some my own blog Laughing

Download FIFA 2011 Free

August 27. 2010 05:14

wheel loader manufacturers

I understand your meaning.

wheel loader manufacturers

August 28. 2010 07:27

loan software

most of the terms sound greek for me.but i know i may need this in future.like to back in this site,since this a place of knowledge.keep doing your great work

loan software

August 29. 2010 07:26

bakugan oyna

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

bakugan oyna

August 29. 2010 07:27

bakugan izle

I understand your meaning.

bakugan izle

August 29. 2010 07:29

bakugan izle

yeah me too

bakugan izle

August 29. 2010 07:31

engin çaglayan

that's very good info
i think i will put some my own blog

engin çaglayan

August 31. 2010 02:55

John Breganze

Now a days these mobile spy software are very demanded in the market. But the question is how much effective they are in real time scenario?

Wow this spy phone stuff is crazy. I didn't know that people could actually do this.

John Breganze

September 1. 2010 03:08

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

Add comment


(Will show your Gravatar icon)

  Country flag

Click to change captcha

biuquote
  • Comment
  • Preview
Loading