Extension Extra Fields (ARCHIVED)


Extension Basics

Title
Extra Fields (ARCHIVED)
Name
ckanext-extrafields
Type
Public extension
Description
Adds additional custom metadata fields to CKAN packages. Uses scheming and fluent extensions for schema definition and multilingual support.
CKAN versions
Download-Url (zip)
Last commit
7 years ago (2019-01-16 22:23:19)
Url to repo
Category
Data Management & Quality


Background Infos

Description (long)
Show details

Extra Fields Extension (ARCHIVED)

⚠️ This repository was archived on August 2, 2019 and is now read-only.

Adds additional metadata fields to CKAN using ckanext-scheming and ckanext-fluent.

Requirements

  • CKAN version 2.7
  • ckanext-scheming
  • ckanext-fluent

Features

  • Custom metadata fields for datasets/packages
  • Schema-based field definitions
  • Translation support via fluent
  • Fieldset support on dataset forms

Installation

git clone https://github.com/boykoc/ckanext-extrafields.git
cd ckanext-extrafields
python setup.py develop
pip install -r dev-requirements.txt

Configuration

# This extension needs to be before scheming in the config
ckan.plugins = extrafields

# Specify the new schema for datasets
scheming.dataset_schemas = ckanext.extrafields:ontario_theme_dataset.json
scheming.presets = ckanext.scheming:presets.json
                   ckanext.fluent:presets.json

Note

Originally developed for Ontario data portal theme. Repository is archived and no longer maintained.

Version
1.1
Version release date
2018-09-24
Contact name
Cody Boyko
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

Add ‘extrafields’ to ckan.plugins (before scheming). Requires ckanext-scheming and ckanext-fluent. Set scheming.dataset_schemas to point to schema JSON.

Plugins to configure (ckan.ini)
extrafields
CKAN Settings (ckan.ini)
scheming.dataset_schemas = ckanext.extrafields:ontario_theme_dataset.json
scheming.presets = ckanext.scheming:presets.json
                   ckanext.fluent:presets.json
DB migration to be executed
(not set)
<< back to Extensions