[ECODP-dev] adding a resource to a dataset in the web interface

Bert Van Nuffelen bert.van.nuffelen at tenforce.com
Mon Oct 14 14:03:46 UTC 2013


Hi John,


2013/10/14 John Glover <john.glover at okfn.org>

> Hi Bert,
>
>
> On 14 October 2013 15:36, Bert Van Nuffelen <
> bert.van.nuffelen at tenforce.com> wrote:
>
>> Hi John,
>>
>> Did you play the scenario?
>>
>
> Yes.
>
>
>>
>> 2013/10/14 John Glover <john.glover at okfn.org>
>>
>>> Hi Bert,
>>>
>>> Regarding the questions in this document:
>>>
>>> > Any default values?
>>>
>>> I'm not sure what you mean by this, but the only value that is set by
>>> default when the form loads is that the Resource Type is the first value in
>>> the list ("Documentation: Main"). There are no defaults in CKAN internally.
>>>
>>
>>
> because if you look at the steps you will see that all of a sudden the
>> description field has a value...
>>
>
> This is not clear at all from the slides. The slide that has a description
> value is called 'Add name and description', so I assumed that the
> description was manually added. Is this not the case? I cannot recreate the
> steps to get a description that automatically appears like this.
>

The problem are before: it is the effect we see in step 3 and step 4 which
are not self-explaining.



>
>
>
>>
>>
>>> > Is Name mandatory?
>>>
>>>
>>
>>> No, URL is the only required field.
>>>
>>
>>
>>
>>> If you do not set a name then the value 'Web Page' is displayed when the
>>> resource is viewed (but this is not stored in the database).
>>>
>>
>> Is this not a definition of a default value?
>>
>
> That depends on how you want to define it I suppose. There is nothing
> stored in the database, so to me there is no actual value (but something
> user friendly is shown at display time). But we can call it a default value
> if you prefer.
>
>

Well, the effect for the user is the same (see the difference between the
view in step 2 and step 4).

Additionally, it is always 'web page' or is it bound to the value of the
Resource Type field?

kind regards,

Bert

ps. With this it becomes much clearer what the behaviour is.



-- 
Bert Van Nuffelen

Semantic Technologies Software Architect at TenForce
www.tenforce.be

Bert.Van.Nuffelen at tenforce.com
Office: +32 (0)16 31 48 60
Mobile:+32 479 06 24 26
skype: bert.van.nuffelen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20131014/13df9a1e/attachment.html>


More information about the ecodp-dev mailing list