I generate a PDF by formula and want to save it right away into a previousliy created Folder. I succeed in saving it to the Documents, bit it won`t get into the folder I specified. Here is my formula to create the record in Documents:
It does not work with the name "categoryId" and also not with "folder" or "DocumentFolder".
Code:
record\create( 'Document', 'type', 'myDocument', 'categoryId','67617422acca98140', //ID of the Folder 'name', 'myDocumentsName', 'fileId', $pdfId );
Comment