How to get the PATH by ID to a page?

Enonic version: 6.4.2
OS: Ubuntu

Use lib-content’s “get” that accepts id or path as “key” param:!/module-lib_xp_content.html#.get

Returns a content object with all you need.

Or do you mean URL? Then use lib-portal’s pageUrl:!/module-lib_xp_portal.html#.pageUrl

If all else fails, the good old query can get anything with a custom where param.

ok, I’ll give it a try :slight_smile: