英文:
How to enable ckanext-scheming extension in CKAN
问题
我正在尝试为CKAN中的数据集创建自定义表单。
我已经安装了ckanext-scheming扩展,并将scheming插件添加到插件中,如下所示:
ckan.plugins = activity scheming_datasets
我还设置了以下内容:
scheming.dataset_schemas = ckanext.scheming:subfields.yaml
scheming.presets = ckanext.scheming:presets.json
scheming.dataset_fallback = false
我期望在访问数据集定义表单时(例如,添加数据集),能看到一个新的用户界面,但在CKAN中定义数据集的界面上仍然没有看到任何变化。
我还清除了浏览器缓存并重新启动了CKAN,但没有成功。
英文:
I am trying to have a custom form for Datasets in CKAN.
I have installed ckanext-scheming extension and added the scheming plugin to the plugins like this:
ckan.plugins = activity scheming_datasets
I have also set the following:
scheming.dataset_schemas = ckanext.scheming:subfields.yaml
scheming.presets = ckanext.scheming:presets.json
scheming.dataset_fallback = false
I expected to see a new UI when going to the Dataset definition form (e.g., Add Dataset), but still don't see any change in the UI of defining datasets in CKAN.
I also cleared the browser cache and restarted CKAN but no success.
答案1
得分: 1
我通过将CKAN
版本从2.9.8
更改为2.10.0
来修复了这个错误,而我的ckanext-scheming
版本是3.0.0
。
英文:
I fixed this error by changing the CKAN
version from 2.9.8
to 2.10.0
, and my ckanext-scheming
version is 3.0.0
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论