Home > Developing Using CodeFluent Entities > Custom Model Reports

Custom Model Reports


Doing a right-click on your CodeFluent Entities project in the solution explorer opens a context menu with a Reports section.

The content of the Reports context menu corresponds to file names from the %ProgramFiles(x86)%\SoftFluent\CodeFluent\Modeler\Templates\Reports directory.

As of today, a single report named Summary is provided out-of-the-box:

SummaryReportMenu

Clicking on it opens a html page containing metrics about your CodeFluent Entities project:

SummaryReport

Reports are in fact CodeFluent Entities templates so you can write your own according to your needs (we actually discussed templates and CodeFluent’s Text Template engine in this previous post).

Since items of the Reports menu come from the Reports folder, to access your custom reports in the Modeler, all you need to do is to place your custom report in this directory.

For instance, let’s copy the Summary.htm template and rename it “My Report.htm”. Here’s what we get when navigating to the Reports menu again:

MyReport

Once you’re there, you can now edit the content of your report template to display whatever you want, the way you want it Smile

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s