[ckan-dev] [scheming] add a helper function

Jean Pommier jean.pommier at pi-geosolutions.fr
Wed Jun 12 15:07:59 UTC 2019


in the scheming extension's doc, I can read

    "If a choices list is not provided you must provide a
    |choices_helper| function that will return a list of choices in the
    same format as the |choices| list above.

    You may register your own helper function"

I'd like to do exactly that : provide my own datastore_choices_resource 
function. But how can I do it ? I mean, I suppose it must be available 
through the scheming get_helpers function, so how to register my own 
function ?

Thanks in advance,




*Jean Pommier -- pi-Geosolutions*

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp at pi-geosolutions.fr
Web : www.pi-geosolutions.fr

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

More information about the ckan-dev mailing list