[Zope-CMF] Re: Create new portal property with a Python script

Hans Schou hans at mmmanager.org
Wed Feb 15 09:07:24 EST 2006


suresh wrote:

> Hans Schou wrote:
>
>> pom.Ewire = pom.EwireIDURL[0]    # I get an error here on this line
>
>
> You should use manage_changeProperties() for this.

Yes, thanks, it was:
pom.manage_changeProperties(Ewire=pom.EwireIDURL[0])

Some day I even might understand why there is a different syntax 
sometimes...

/hans



More information about the Zope-CMF mailing list