Forums / Developer / Limiting allowed classes for object relations attributes
Kedar Deshpande
Wednesday 06 January 2010 10:49:12 am
In my content structure I have 10 folders at the root level, each containing content objects of type 'person'. I'm creating a new content class and adding a object relations attribute in which I want to limit the selection to only the 'person' class. This is not a problem but what if I wanted to limit the 'person' objects to those contained in 3 particular folders instead of from all 10? Is there a way I can limit from where ez pulls these objects to select from?
Jérôme Vieilledent
Wednesday 06 January 2010 1:53:18 pm
Hi Kedar
As far as I know object relations datatype, this is not possible... Sorry ! :|
Nicolas Pastorino
Monday 01 February 2010 9:14:09 am
Hi Kedar,
An option could be to create a new datatype, based on the built-in one 'ezobjectrelationlist', which would implement the features you are missing.
Cheers,
-- Nicolas Pastorino Director Community - eZ Member of the Community Project Board eZ Publish Community on twitter: http://twitter.com/ezcommunity t : http://twitter.com/jeanvoye G+ : http://plus.tl/jeanvoye