How to display all the properties of the selected reviewers?

cancel
Showing results for 
Search instead for 
Did you mean: 
alekseybykov
Established Member II

How to display all the properties of the selected reviewers?

Jump to solution

Consider the business process "Review and Approve (one or more reviewers) - Assign a review task to multiple reviewers".

When I choose reviewers I see only their properties cm:userName. How to display all the properties of the type cmSmiley Tongueerson?

For example:

cm:userName
cm:firstName
cm:middleName
cm:email
cm:organizationId
cm:jobtitle
cm:googleusername‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

And so on...

Instead of this container (part of the association.ftl):

...
<div id="${controlId}-currentValueDisplay" class="current-values"></div>
...‍‍‍‍‍‍‍‍‍

I would like to use table. IMHO for that I should override some parts of the Alfresco.ObjectFinder, such as:

if (this.options.displayMode == "items")
{
   Dom.get(this.id + "-currentValueDisplay").innerHTML = displayValue;
}‍‍‍‍

...etc. But how to display all the properties of the selected reviewers?

Let's say, this part:

displayValue += 
    this.options.objectRenderer.renderItem(
        item,
        16,
        "<div class='itemtype-" + $html(item.type) +
        "' style='word-wrap: break-word;'>{icon} {name}</div>"
    );

I assume that it's property is {name}

Ok, then where to find the mapping "property in object-finder : property in the person type"?..

I would be very grateful for the information. Thanks to all.

1 Solution

Accepted Solutions
alekseybykov
Established Member II

Re: How to display all the properties of the selected reviewers?

Jump to solution
1 Reply
alekseybykov
Established Member II

Re: How to display all the properties of the selected reviewers?

Jump to solution