I’ve document and child-document. I want create dynamic link to child document, but i don’t know, how to know child id. [*parent*]-return parent ID, if it exists tag for child id?
-
☆ A M B ☆
- 24,524 Posts
No there isn’t. You’ll need Wayfinder, Ditto, or some other snippet for listing the children of a given container/document.
The problem is that a document can have several children. And the first child may vary according to the way you are sorting your menus. Is this for a menu? Or is it for something more specific?
[[Wayfinder]] will generate a <ul> list of children links and you can format the output if needed. But i am not sure of how you want to use this.