Since version 4.1M5, RNCP records can be generated inODF . The generation of RNCP records depends on the "Generate RNCP course record" right of the training offer. The button is available in the course ribbon.
When you click on the button, you can choose the attachment category, as a course can be shared, so there may be several possible attachment categories, and the RNCP export template (docx file used as the basis for export).
The documents are not updated automatically. You have two options:
You'll need DOCX files to use as a template for generating an RNCP sheet. A suggested template is available here.
These files are stored in the CMS installation folder in WEB-INF/param/rncp.
To be able to retrieve the data for a course and its associated category, you need to have two properties:
To display a data item, you will need to concatenate theURL and the data name, for example for the route title :
{ DOCPROPERTY ParcoursURL }title
But for a better presentation of the data returned in XML format, we suggest you use this notation:
{ INCLUDETEXT "{ DOCPROPERTY ParcoursURL }title" \x /metadata \* MERGEFORMAT }
It is possible to do more complex things like displaying HTML :
{ INCLUDETEXT "{ DOCPROPERTY ParcoursURL }title" \c HTML \* MERGEFORMAT }
Or conditional display:
{ IF { INCLUDETEXT "{ DOCPROPERTY ParcoursURL }apprenticeshipOpen" \x /metadata \* MERGEFORMAT } = "true" "OUI" "NON" }
You can add as many templates as you like, but we strongly advise you to take inspiration from the document we propose in our documentation.