[Nuxeo 6.0] inline js + getFormattedPath

Hello,

In nuxeo inline js how do you get the formattedpath of a document, with the doc.title instead of doc.name ?

Could it be possible OR NOT with some kind of… this that FAILED

Seam.Component.getInstance("publishActions").getFormattedPath(doc.path.toString(),getFormattedPathCallback);  

 // CallBack from the Seam AJAX request
var result;
function getFormattedPathCallback(result) {
     alert(result);
}

and how ?

thanks

0 votes

0 answers

1190 views

ANSWER