AnsweredAssumed Answered

Custom picker

Question asked by pylady on Jan 15, 2014
Latest reply on Jan 21, 2014 by ermannorusso
I have to customize picker on the Edit metadata page to pick nodes from a folder in a repository.
I wanted to use the association.ftl control, but I have a problem because I have an aspect with a property of type d:text (not with an association), so it doesn't let me select my items.
I solved my problem by creating customAssociation.ftl and changing 
itemType: "${field.endpointType}"
to
itemType: "my:nameType"
where "my:nameType"
is the type of nodes I want to select. In that way they become selectable.
Is it a right way to do that?
Now, I have a problem to save changes (I pick my item and save change, but on the page Show details I still have an old value), so I'm not sure that I'm on the right track.
Does anyone have any suggestions?

Best regards

Outcomes