[ckan-dev] free tags from custom fields
Nilesh Khule
nileshkhule7 at gmail.com
Thu May 7 17:30:43 UTC 2015
Sam,
You want the custom fields as free tags follow the steps as per
documentation
http://docs.ckan.org/en/latest/extensions/adding-custom-fields.html
If you want those custom fields as *free extra tags skip the template from
updations - **package_metadata_fields.html*
On Thu, May 7, 2015 at 7:43 PM, Sam Leitner <sam.leitner at gmail.com> wrote:
> Hi ckan-dev,
>
> I would like to add a custom dataset field that creates free tags. What is
> the best way to do that? Is it possible to do this with some slight change
> to _modify_package_schema() and show_package_schema() discussed in the
> plugin documentation? Something along the lines of a
> schema.update({ 'new_tag_field':
> [tk.get_converter('convert_to_free_tags')] })
> ?
>
> All I've found in the docs related to free tags is this: "To create a new
> free tag simply add the tag to a package, e.g. using the package_update()
> function." Further clarification would be hugely helpful.
>
> Thanks!
> Sam
>
> _______________________________________________
> 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/20150507/165729fe/attachment-0003.html>
More information about the ckan-dev
mailing list