Document ID

Is it possible to get a document id for the document we’re working on??

Hi @Manjila, you are able to set a unique id to the root of the document. What’s the use case?

I’m looking to get the document id so that I can store it in a database with the text nodes from the document for relationship management.
Is the unique Id you’re talking about guid?


Or you could also just use


no? […scurrying to check…]

Whoops, nope, that’s always just


Forgot. :wink: