As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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;