10.3. Using a Checklist as a Source

You can use M2Doc to access a specific medini analyze checklist. Access the checklist hierarchically, or include .eAllContents() to access all checklist items, including subitems, as a flat list, as shown in this example.

{m:for cli | myChecklist.eAllContents(checklist::StaticCheckListItem)}...{m:endfor}

Create a variable for your checklist, then in your report configuration in medini analyze, assign the checklist to your variable. You can now access all objects in your checklist. Remember that you can start medini analyze in debug mode to identify the various attributes. See Identifying available object properties in medini analyze for more information.

You can find an example of using the checklist as a source in M2Doc in the medini analyze online support site.