cancel
Showing results for 
Search instead for 
Did you mean: 

adding a pull-down menu as a content property

danikun
Champ in-the-making
Champ in-the-making
Hi!!

I'm triying to add a new properties for content, and I've succeded in this task creating a new custom aspect.

My question is: anyone knows how to add a pull-down menu as a property?

Any information would be helpfull.

thanks in advance.
3 REPLIES 3

nparry
Champ in-the-making
Champ in-the-making
I don't think I completely understand your question.  You want to add a property that is assigned through a pull-down menu?  Or you want to add your new custom aspect to the pull-down menu of aspects?

danikun
Champ in-the-making
Champ in-the-making
the first one, I want a property assigned through a pull-down menu.

Sorry, I'm spanish and my english is not so good.

nparry
Champ in-the-making
Champ in-the-making
Probably the best way to do that is to create a custom dialog box, and add an "Add Property" option to the list of options you can perform on a file.  The wiki pages have good tutorials on how to do this:

http://wiki.alfresco.com/wiki/Adding_a_Custom_Dialog
http://wiki.alfresco.com/wiki/Simple_Customisations#Adding_Custom_Menu_Items

Also, the "Add an Aspect" dialog example (which is very similar to what you want to do) can be found in the Alfresco SDK.

-Nick P