Please elaborate a bit, Derrick. When you're talking about color formatting in your custom fields, do you mean the links and underlining for dictionary elements, IDs and actors that you can set under File / Options, or something different?
Post
FollowFormatting on custom fields in custom report
I have certain custom fields where I need the color formatting. Its now a step I have to do once I generate the custom report.
Please sign in to leave a comment.
3 comments
I'd like to add syntax highlighting to the SQL statements. We provide the SQL statement for testing a use case in our custom field. Its far easier to grok the information when it's colorized.
Thanks Derrick! It sounds like a "whole line format" in your reporting template for a single-color custom field value wouldn't work, then - which you can do - and you'd instead need to colorize different parts of the custom field value differently, a la rich text formatting in CaseComplete. (Supporting rich text in custom fields is already on the books to do.)
As a workaround, you could store the colorized SQL statements in requirements - rather than a custom field on your use cases - then reference those requirements from your use cases. That gets you the rich text you need.
Then, include referenced requirements in your report. You could even store the ID references in the original custom field and use the reference filtering feature. For example, if your custom field is called "SQL statements", you would use something like this:
$repeatReferencedRequirements where RefLocation = SQL statements
And voila! Colorized SQL statements in your reports. Shoot us an email (support@serlio.com) if you'd like more help with this.