08-31-2015 12:45 PM
var scontent="@\\{http\\://www.alfresco.org/model/content/1.0\\}content.mimetype:application/pdf + ";
var qnodeid="@sys\\:node-uuid:"+args.nId;
var strq=scontent+qnodeid;
var content=search.luceneSearch(strq);
// Mostrar error al no encontrar el fichero
if (content.length != 1)
{
status.code = 404;
status.message = "File not found.";
status.redirect = true;
}
model.fichero = content[0];
model.ticket = session.getTicket();
//model.nFact = args.nFact;
//model.cPro = args.cPro;
model.nId = args.nId;
model.strq = strq;
09-29-2015 01:06 AM
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.