Curriki Developers FAQ

This is an emerging set of useful tips and tricks for developers of Curriki platforms.

How to find the list of subjects?

The set of values of the property topics of the CurrikiCode.AssetClass is listed in the space FW_masterFramework.

As a result, you can get the list of all topics with the following code:

        xwiki.searchDocuments("where doc.web='FW_masterFramework' order by doc.name desc");

How to find the list of educational levels?

For this, no space can help but the reflection can help to introspect this. The CurrikiPlugin helps for this purpose:
        xwiki.curriki.getValues("CurrikiCode.AssetClass","educational_level"))

Tags:
Created by Paul Libbrecht on 2012/01/06 09:22
    
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 8.4.4-node2 - Documentation