Hello,
In Nuxeo 5.8 try to use the single document suggestion widget with inline javascript.
Document schema are set to "dublincore" and also my custom schema.
Nevertheless this value are not used by inline javascript because I can just see "title" and "path" as results.
function myFormatter(entry) {
var markup = entry.title + " " + entry.description + " " + entry.mycustom + " " + entry.path;
return markup;
}
Here, entry.description and all dublincore fields such as author failed...
entry.mycustom failed too.
But this fields exists on the document(s) suggested ant selected...
Why ? Is my code wrong ?
thanks