[ckan-dev] extending the metadata schema

Thomas Heetderks - MSU thomas.heetderks at montana.edu
Fri Nov 4 22:09:29 UTC 2016


Thanks Ian -

This is quite helpful.

- Thomas


On 11/4/16 2:56 PM, Ian Ward wrote:
> If you're extending your dataset schema and validation just for API
> use then IDatasetForm is all you need. If you're planning to use your
> new fields in CKAN's dataset forms and HTML display then
> ckanext-scheming is likely to save you some time.
>
> IDatasetForm is lower level. It lets you define validation and
> customize form and dataset display templates, but you have to do each
> of those things separately. Scheming comes with a bunch of common form
> fields and validation rules and lets you extend them if they don't
> match your needs.
>
> Scheming doesn't come with the same calibre of documentation that CKAN
> has, though, so that tutorial you asked about doesn't exist yet. It's
> been suggested that we merge Scheming into core CKAN since a number of
> users seem to like it. Maybe better docs will come when someone
> contributes that change :-)
>
> Ian
>
> On Thu, Nov 3, 2016 at 8:44 PM, Thomas Heetderks - MSU
> <thomas.heetderks at montana.edu> wrote:
>> Hi -
>>
>> I have seen two ways of extending the CKAN metadata schema:
>>
>> ckanext-scheming
>>
>> or setting up your own extension with IDatasetForm
>>
>> can someone recommend the best way to do this (either of these
>> or another way)? Of course a tutorial resource would also be great!
>>
>> Thanks much!
>> - Thomas Heetderks
>>
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20161104/4a7e1893/attachment-0003.html>


More information about the ckan-dev mailing list