cancel
Showing results for 
Search instead for 
Did you mean: 

Show properties from an association

zladuric
Champ on-the-rise
Champ on-the-rise
Hello,

I have documents with some custom properties and custom associations.

Is there a way to show some of the props from the association in the metadata fields?

Specifically, I need to show who "approved" the document and when.

One way to do this is to add an aspect to the document, and apply stuff from the person object to that aspect. I'm wondering if there is another solution.
2 REPLIES 2

fstnboy
Champ on-the-rise
Champ on-the-rise
Hi,

The properties shown in the metadata fields are defined in an share config file. To extend it create a share-config-custom.xml file in tomcat/sharec/classes/alfresco/web-extension defining the properties you want to show (http://wiki.alfresco.com/wiki/Forms)

Additionally, you can create your custom controls for specific properties. To develop it, refer to Alfresco Form Developer Guide wiki page

Hope this helps.

Adei

zladuric
Champ on-the-rise
Champ on-the-rise
Well, I know that.

But you can't actually put something like
<show-property name="assocs["myco:myCustomAssoc"][0].property["myco:myCustomProp"] />
there.

Because the prop isn't loaded in the first place. Custom formatter-controller would maybe be a solution - fetch the assoc and its prop, then render it. That might work. But I still don't know how would I tell share to load something there?
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.