[ckan-discuss] Function that controls which fields to be posted
Toby Dacre
toby.okfn at gmail.com
Tue Mar 12 12:50:39 GMT 2013
@sean
maybe this is something we should get the example_datasetform to do.
A working example seems helpful and if there are issues with it makes
them easier to fix. what do you think?
toby
On 12 March 2013 12:01, Ian Ward <ian at excess.org> wrote:
> This issue sounds the same as https://github.com/okfn/ckan/issues/569
>
> This issue is blocking us right now.
>
> On Mon, Mar 11, 2013 at 11:27 PM, Yanning(Yu) Chen <cheny18 at rpi.edu> wrote:
>> Hi folks,
>>
>> I've been working on an extension to customize the field when user is registering a dataset. Unlike the example extension, I want to add a field at the 1/3 phase where user are asked to fill in some basic info. The related html should be package_basic_fields.html. I initially follow the tutorial on customizing the field and successfully stored the field added in new_package_metadata.html, but can't get the fields in the 1/3 phase stored. When I look into the _parsed_post_vars from the WSGI variables, my customized fields is not being posted.
>>
>> So my question is in which file can I configure the filter/validator on which fields to be posted and stored? I don't quite understand why it works on the "adding metadata" section but not on "adding basic data section"?
>>
>> Thanks!
>>
>> Cheers
>> Yu
>> _______________________________________________
>> ckan-discuss mailing list
>> ckan-discuss at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-discuss
>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-discuss
>
> _______________________________________________
> ckan-discuss mailing list
> ckan-discuss at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-discuss
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-discuss
More information about the ckan-discuss
mailing list