Reply
 
LinkBack Thread Tools Display Modes
Old 09-26-2007, 06:51 PM   #1 (permalink)
RickC
Guest
 
Posts: n/a
Default ReportUtilities API

Guys,

Here's a link to a zip file that contains two CHM files for the ReportUtilities helper class that many of the reports rely on.

Report Utilities

It covers all of the methods, what they are designed to do, and any constraints that there may be (required to iterate of certain sections of the XML, etc.).

The primary CHM is called ReportUtilities.chm and this documents the helper class. The second CHM (Item.CHM) documents the "Item" class which is simply an entity that represents the "Item" Nodes in the XML. I included this as some of the helper methods return an object of type "Item".

Some of the methods have been tweaked a bit to be more flexible in the next SP. Currently, you may run into methods that fail unless your report is iterating over the items. I think "TotalProjectPrice" is one of them. This is corrected in the next SP.

As always, this is "As Is". We built the ReportUtilities class in order to help simplify repetitive tasks in the script and to make life a bit easier from an internal perspective. It wasn't done with an eye toward covering everything, but should help. That said, all the methods are consumable in custom reports so feel free to use them.

Given they were designed primarily for internal use, there may be instances where methods have to change in order to deal bug fixes, etc. The potential for behavior change exists, but we hope to mimimize type of thing if at all possible.

FYI, you may run into a function or two in the CHM file that are not yet available. I went through the methods today and tried to add a description to everything and exclude anything that is not yet available (I think there is only 1), but in an effort to make good on my "next day or two for a rough cut" gaff from last week, I wanted to get make this available ASAP.

Hope this helps.

-R
  Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
updated member listing for ReportUtilities. aantrim Reports and Reporting Center 5 08-13-2009 06:09 AM
Reports: ReportUtilities Needs TotalProjectEquipment CrystalHacker Suggestions and Feature Requests 1 07-13-2009 11:49 PM


All times are GMT. The time now is 01:52 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0
D-Tools, Inc.