Alfresco Community 5.0.d und nicht in der Lage, Organisation von Node zu bekommen.Nicht in der Lage, Organisationsform Knoten in alfresco
File: pickerresults.lib.js Methode: createPersonResult (node)
function createPersonResult(node)
{
var personObject =
{
typeShort: node.typeShort,
isContainer: false,
properties: {},
displayPath: node.displayPath,
nodeRef: "" + node.nodeRef
}
// define properties for person
personObject.properties.userName = node.properties.userName;
// defining new property for the personObject but
// but not getting any value
personObject.properties.companyname = (node.properties["cm:organization"] ? node.properties["cm:organization"] : "");
personObject.properties.companyname = (node.properties.organization ? node.properties.organization : "");
return personObject;
}
überschreiben die pickerresults.lib.js Datei durch Kopieren zu Ort, wie unten.
/Applications/alfresco-5.0.d/tomcat/shared/classes/alfresco/extension/templates/webscripts/org/alfresco/repository/forms/pickerresults.lib.js
wie kann ich den Namen der Organisation zu bekommen? auch, wie konnte ich die Knoteneigenschaften wie logger.log debuggen ist dort, aber hier nicht funktioniert.
Danke.
ich dieses Problem behoben, aber ich bin nicht in der Lage um die Datei pickerresults.lib.js zu überschreiben. Ich habe meine Anfrage aktualisiert. Bitte sehen Sie es sich an. – nikhil84