cancel
Showing results for 
Search instead for 
Did you mean: 

Property dropdown to choose from space content

kosmipt
Champ in-the-making
Champ in-the-making
I'd like to add couple of properties to a content type which need to be linked to the record names from other spaces.

Let's say I'd like to add a Vendor property to a content type Purchase order. This property has to dynamically lookup through the space Vendors (dropdown list), where directory of all vendors are maintained - and to let me choose from the names of all vendors.
Is it possible?

I don't want to use Categories because there is no additional metadata in category (simply the name and description, so i cant add vendors address, tel number etc).
3 REPLIES 3

invictus9
Champ in-the-making
Champ in-the-making
I saw a method while reading blogs about Alfresco. The author created a custom Constraint type that, when given a space identifier, would constrain the values of a field to only the names of spaces inside the given space. It is a very neat solution, although I got lost in his discussion of the implementation.

I will try to search for it some more. . . Stay tuned.

invictus9
Champ in-the-making
Champ in-the-making
Got it!

Jeff Potts of Optaros regular publishes tutorials. He has a link to just what you are asking for:

http://ecmarchitect.com/archives/2008/08/13/845

kosmipt
Champ in-the-making
Champ in-the-making
Thanks a lot!