Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsxsl helpxsl help
Previous
 
Next
New Post
2/21/2007 1:49 AM
 
Does anyone have an example of an xsl for a report?
 
New Post
2/22/2007 4:48 AM
 

O.k., well after much searching and trial and error, I now have an xsl for my report. My report uses a stored proceedure named "MeteorlogixReportSupport" by having "Execute MeteorlogixReportSupport" in the query box. This stored proceedure is for pulling in data from a user defined table. If you wanted to use it for your own user defined table, you just need to change all of the C7.UserDefinedFieldId = 247 to the number of your id's. In this case I am using 7 columns.

The sp is :

SELECT
C5.FieldValue as 'Server Name',
C7.FieldValue as 'Server Location',
C19.FieldValue as 'System Vendor',
C20.FieldValue as 'System Type',
C21.FieldValue as 'Service Tag',
C22.FieldValue as 'Express Tag',
C23.FieldValue as 'Support'

FROM UserDefinedData
AS C5
LEFT JOIN UserDefinedData AS C7 on C5.UserDefinedRowId = C7.UserDefinedRowId and C7.UserDefinedFieldId = 247
LEFT JOIN UserDefinedData AS C19 on C5.UserDefinedRowId = C19.UserDefinedRowId and C19.UserDefinedFieldId = 258
LEFT JOIN UserDefinedData AS C20 on C5.UserDefinedRowId = C20.UserDefinedRowId and C20.UserDefinedFieldId = 259
LEFT JOIN UserDefinedData AS C21 on C5.UserDefinedRowId = C21.UserDefinedRowId and C21.UserDefinedFieldId = 260
LEFT JOIN UserDefinedData AS C22 on C5.UserDefinedRowId = C22.UserDefinedRowId and C22.UserDefinedFieldId = 261
LEFT JOIN UserDefinedData AS C23 on C5.UserDefinedRowId = C23.UserDefinedRowId and C23.UserDefinedFieldId = 262

WHERE C5.UserDefinedFieldId = 246

my xsl file looks like this :






What this does is creates a table with the column heads and then fills in the table with alternating text red and blue and background gray and white. It also puts a space in for nulls. It also has the count at the bottom. Any questions, please let me know.

P.S. - if anyone can help me take this and change it to an excel spread sheet, that is my next step on my learning journey.

[edited to fix formatting]

 
New Post
2/22/2007 7:50 AM
 
I had to edit your post, because the xml markup caused the formatting to go haywire. I placed the xsl code in a text area, that seemed to have fixed it. However, i noticed some markup is missing in line 2 probably. Maybe you can fix that...

Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
3/7/2007 10:08 PM
 
Could you give me the format you want me to put the response in? IE - how you want it in a text area
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsxsl helpxsl help


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out