Re: Archetype "My Document"

<VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org> (Medur) Mon, 22 Mar 2004 09:20:05 -0600
Newsgroups gmane.org.misc.vasudeva-server.web
Message-ID <[email protected]>
Hello Dhyani

Well it may be that we may not use Archetypes right now 
but I want to have the script ready when (if) we  do.  I 
do not think it is a waste of time at all.  Tahnk you for 
the python script.  It is very thorough.  

OK I will not use the CreateObject method.

I see that you actually do use the edit() method to update 
the values.  I found that it did not recognize the custom 
field names like 'abstract' and 'bodytext'.  Is this due 
to an omission in my code ?  I found that the processForm 
method seems to be the ticket.  do you have any comments 
or suggestions?

Medur

On Mon, 22 Mar 2004 15:59:18 +0100
  <VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org> (Dhyani) wrote:
>Hi Medur,
>
>first of all you should talk to Priyadarshan ASAP because 
>in my
>understanding, we will not migrate to MyDocument right 
>now, but to Document
>and leave Archetypes for later on. This should be 
>verified by you, so that
>you don't waste time.
>
>Then, I wouldn't recommend using the CreateObject method 
>and the edit()
>method, but to follow my script
>http://www.vasudevaserver.org:7091/Dhyani/Archetypes_Programmatically 
>which
>I created for YOU, for YOU and only for YOU!!
>
>Best wishes
>Dhyani
>
>
>----- Original Message ----- 
>From: "Medur" <VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org>
>To: "Vasudeva Service" 
><VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org>
>Sent: Monday, March 22, 2004 3:06 PM
>Subject: Re: [VasudevaService] Archetype "My Document"
>
>
>> Hi Dhyani
>>
>> I have a question for you:
>>
>> I can create a MyDocument object fine no problem with 
>>the
>> CreateObject method.  What python method is used to 
>>update
>> the various new fields ( "Abstract", "bodytext" etc)?
>>  These fields are not recognized by the edit() method.
>>  This function is essential to the proper migration of 
>>the
>> existing 2G sites to the Plone format if we want to use
>> the archetype framework.
>>
>> Best Regards
>> Medur
>
>
>
>--------------------------------------------------------------------------
>This message is sent to you because you are subscribed to 
>the mailing list <VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org>.
>Vasudeva Service home: http://www.vasudevaservice.com/
>Browse list: 
>nntp://news.gmane.org/gmane.org.misc.vasudeva-server.web
>List archive: 
>https://pop.vasudevaserver.org:13031/Lists/VasudevaService/List.html
>--------------------------------------------------------------------------


--------------------------------------------------------------------------
This message is sent to you because you are subscribed to the mailing list <VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org>.