Page 2 of 2

MetaData in Report

Posted: Wed Aug 12, 2009 2:16 pm
by Jan
Hello John,

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

Thank you.

MetaData in Report

Posted: Tue Sep 29, 2009 4:07 pm
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.


MetaData in Report

Posted: Wed Sep 30, 2009 3:09 am
by Ivan
Hello,

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

Thank you.

MetaData in Report

Posted: Thu Oct 01, 2009 11:40 am
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