I don't know if it is possible to create a relation to the "created" object since the object doesn't exists yet.

Fabian Scheepers wrote:
editwizards -> creating multiple objects

Ola,

I need a wizard to do the following:
- on creation of the 'questions' object, also create 5 new 'answers' objects
+ relations with filled in fields

=== basically this :

<action type="create">

    <object type="questions" />

    <object type="answers">
        <relation destination="..questions object just created.."
role="pollrel">
            <field name="pos">1</field><field name="score">10</field>
        </relation>
    </objects>

</action>

===

how to do this? ;-)

regards,
fabian


Reply via email to