Post

1 follower Follow
0
Avatar

Use Case Prose and Hiding Empty Extensions

I'm having trouble getting the prose form of our usecases to show in a custom report.  In the place of $listProse I have also tried $Prose, $ProseDescription, and $repeatProse $Description $EndrepeatProse with no luck.  

I have also been attempting to get the Steps and Extensions sections to hide if they are blank (similar to the bit I took for your default report for pre and post conditions), but haven't had any luck with that either.

 

I have attached the UseCase portion of the report I am trying to create for reference.

Alli Davidson Answered

Please sign in to leave a comment.

2 comments

0
Avatar

Hi Alli,

In your template segment, I changed $listProse to $Prose, and was able to display the information contained on the Prose tab of my use cases. I'm not sure why $Prose didn't work for you previously. I also surrounded the steps and extensions sections with simple $if/$endif statements to display them only when that information is present.

Try generating a report, and let me know what you think. If you're still unable to show the prose text in your report, shoot an email over to support@serlio.com and we'll take a deeper look at it with you.

Permanently deleted user 0 votes
Comment actions Permalink
0
Avatar

I don't know why $prose didn't work before , but it seems to now.  Also, you used $if steps exist and I had been using $if steps <> ''  your way works and mine does not.

Alli Davidson 0 votes
Comment actions Permalink