MetaData in Report

Stimulsoft Reports.NET discussion
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

MetaData in Report

Post by Jan »

Hello John,

No problems! Now you know that I am a MAN. :)

Thank you.
johnham
Posts: 98
Joined: Fri Sep 19, 2008 2:27 pm
Location: Richland, WA, USA

MetaData in Report

Post by johnham »

Ok so I've been slowly working this metadata into my code. I have one problem.

When I save a piece of string data to a report and then save that report to an MRT file everything works fine except when I load that MRT file back in.

The meta data seems to be encoded somehow. For Example:

Code: Select all

TheReport.MetaData["Description"] = "This is a report description";
After the report template is loaded back in and I read that MetaData it looks like the following:

Code: Select all

This_x0020_is_x0020_a_x0020_report_x0020_description
Is there something I need to do to decode this data. I would like it to actually come back the way I put it in, if that is possible.

Thanks,
John Hamilton
Hamilton & Company, LLC
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

MetaData in Report

Post by Ivan »

Hello,

Problem is solved.
Patch will be available in next prerelease build from 5-Oct-2009.

Thank you.
johnham
Posts: 98
Joined: Fri Sep 19, 2008 2:27 pm
Location: Richland, WA, USA

MetaData in Report

Post by johnham »

I have one more little issue with MetaTags. If I attempt to access the StiReport.MetaTags after loading a report that had no MetaTags or was created with a version before MetaTags were introduced then I get an exception "Root Element is Missing".

Image

Thanks,
John Hamilton
Hamilton & Company, LLC
Post Reply