This is the second article of a series of articles about M2Doc as a new technology to generate Word reports out of medini models. You can find additional extensions (beta status) for 2022 R1 and 2022 R2 in our extension area on the online support page. An official release is planned for 2023 R1. All samples posted here are for 2022 R2. Main intention is to make you aware of the new technology but also to get any kind of feedback.
The second sample is about basic services that are offered by m2doc or by medini to access attributes or other data. Similar to medini scripting there is API to directly access attributes but also to call methods on objects or results of other expressions. The required m2doc expressions are again very simple. Access to an attribute for example may look like:
{ m:myRequirementsModel.name }There is also a service to evaluate any arbitrary JS script expression! Check it out. See the first article of this series for instructions.
Happy Reporting
Jan