# next\_in

Source: https://zotonic.com/docs/3197/next_in

URI: https://zotonic.com/id/3197

Language: en



Return the next page in a menu or collection: `{{ id|next_in:container_id }}`.

Visits the container itself, then menu children and ordered `haspart` descendants in depth-first order. Invisible subtrees and repeated resources are skipped. Returns `undefined` at the boundary or when the page is not in the container.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/3197?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/3197?language=en>)
