Forums / Developer / How to set different section when adding object location

How to set different section when adding object location

Author Message

Roberto Frascarelli

Wednesday 23 February 2005 10:00:36 am

I don't know if is it possible...I hope.
I explain my problem:
I used the mechanism of location assignment, by allowing
the creation of a "duplicate" of one object in a specified node (folder), by clicking a checkbox (adapting the "Example code of how to do limitation placement" in edit_placement.tpl).
My problem is that this placement is in a different section than Standard.
The operation result is an object with Standard section within a Folder
assigned to another section. This is a problem for me, because I need that every object
in that folder belongs to the same section.
This also could be a role policy violation if one wants to restrict object creation in a specific section.
Exsists a way to automatically assign the section in placement assignment ?