-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 7.10, 8.10, 9.3
-
Fix Version/s: 7.10, 8.10, Fast Track (FT)
-
Component/s: Developer documentation
-
Backlog priority:200
-
Sprint:nxProduct-W44
In URL https://doc.nuxeo.com/nxdoc/how-to-automatically-convert-a-document-to-pdf/ , the parameters of the Document.setBlob() operatoin are inverted:
The sample should read:
- Context.FetchDocument - Context.PushDocument - Blob.ToPDF - Context.SetInputAsVar: name: pdfblob - Context.PopDocument - Document.SetBlob: file: "@{Context[\"pdfblob\"}" save: "true" xpath: "myDocumentSchema:pdffile"
as myDocumentSchema:pdffile refers to the field to which we want to assign the PDF contained in @Context[pdfblob]