Hello, If this code is in a DTML-method <dtml-var id> then the id of the folder will be returned. If it's in a DTML-document, the id of document is returned. How can I programmatically get the id of a DTML-method within in the same DTML-method? Sorry if this is obvious. Much thanks in advance. Eliot Scull