Forum Archive

uuid for document

Bricoleur

is there a way to extract (or create if one does not exist within Editorial ) a uuid for editorial document?

ccc

What kind of document are we talking about? (e.g. .txt, .html, .md, .pdf, .doc, etc.) Would the uuid be stored in the text of the document or in some sort of document metadata?

Creating a new uuid... From the Editorial docs: http://omz-software.com/editorial/docs/library/uuid.html

You would need to add a Python Script task to your workflow and then call one of these uuid functions in that task and return the newly created uuid as the output.

Bricoleur

Thanks for the pointers.
I was hoping it might already be in metadata (created when document created) and that it could be extracted and recorded in document or posted to other applications as useful.

If not in the metadata then creating and storing in the text of the document would be a suitable hack for me: I'll see what I can do with the reference you point to...