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:
Clicking on it opens a html page containing metrics about your CodeFluent Entities project:
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:
Once you’re there, you can now edit the content of your report template to display whatever you want, the way you want it