Background and strategic fit
In order to better separate the organization and structure them, we decide to go for a hierarchical representation of organizations and their sub-departments. In HEF AgriHUB we used our own adaption of this extension, however, later CKAN itself also officially introduced an extension which works with our CKAN: https://github.com/ckan/ckanext-hierarchy
Installations and Requirements
To install ckanext-hierarchy on a production site:
Activate your CKAN virtual environment, for example:
ENV /usr/lib/ckan/default/bin/activate
Install the ckanext-hierarchy Python package into your virtual environment:
pip install -e git+https://github.com/tum-gis/ckanext-hierarchy#egg=ckanext-hierarchy
Install the rest of Python modules required by the extension:
pip install -r /usr/lib/ckan/default/src/ckanext-hierarchy/requirements.txt
- Add
hierarchy_display
andhierarchy_form
to theckan.plugins
setting in your CKAN config file Restart CKAN. For example, if you've deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload
User interaction and design
The original design is simply accepted. However, there is still a place to improve the tree structure
Questions and Answers
Below is a list of Q&A from user sides:
Question | Answers |
---|---|