Forums / Setup & design / creating a new class when publishing an article

creating a new class when publishing an article

Author Message

Hugo Siles

Thursday 06 May 2004 7:05:53 am

Hi all...
I have this problem, i don't know how to solve it, I have extended the article class and added an object relation list to it, what i want to do is create a new object in this relation list when the publish button is pressed...
So far, i have done this, but the problem is that when you press the publish button it is created a new object but with empty attributes.. is there a way to create the object but with certain values for the attributes???

I don't know if I'm being clear in this stuff, but any idea or comment would be apreciated

Thanks and regards

Hugo Siles

Bjørn Kaarstein

Tuesday 11 May 2004 6:47:42 am

Don't know if I get you right, but you could assign default values in the class setup.

Regards Bjørn