[ckan-dev] Set up customized schema

Hong Jing jenny.jing at nyu.edu
Fri May 6 17:44:21 UTC 2016


Hi, Timothy:



Thank you very much for your help!



If I use the Extension Scheming, I don’t need to remove the data in my
testing env.?



Best,



Jenny



*From:* ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org] *On Behalf
Of *Timothy
Giles
*Sent:* Friday, May 06, 2016 4:40 AM
*To:* CKAN Development Discussions
*Subject:* Re: [ckan-dev] Set up customized schema



Hi Jenny,



Welcome to CKAN. There are two methods. The IDatasetForm is a way to, via
python code, within an Extension, extend/alter the schema. You can also use
the Extension Scheming – this allows you to describe your schema in JSON.
It is considerably easier and less work. If you do use scheming, ensure the
json file is called dataset.json – that will make sure it is used as the
default ‘new dataset’ schema.



Good luck



Regards Timothy





*From:* ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org
<ckan-dev-bounces at lists.okfn.org>] *On Behalf Of *Hong Jing
*Sent:* den 6 maj 2016 03:59
*To:* ckan-dev at lists.okfn.org
*Subject:* [ckan-dev] Set up customized schema



Hi, All:



I'm new to CKAN and I have a question about updating the default schema in
our testing site. I found in the document "Customizing dataset and resource
metadata fields using IDatasetForm".



Is that the right documentation I should use to set up a customized schema?
Has anyone done that? Any instruction? I haven't read though the document
yet.



In addition, should I remove all the data in our testing env before I set
up the customized schema?



Thanks.



Jenny



-- 

Research Information Scientist,

Center for Urban Science + Progress, NYU

https://datahub.cusp.nyu.edu/



646-997-0519
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20160506/bce5e0e0/attachment-0003.html>


More information about the ckan-dev mailing list