Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Liferay.Service how to get uuid of content page?
I'm trying to access a layout's information using this service "/layout/get-layout-by-uuid-and-group-id" via JSONWS but I'm unable to find/get the uuid of a content page. Is this possible via JavaScript, using Liferay.ThemeDisplay.getUUID()... for example.
I would like to return values of a page such as page name, page url, modified date etc. If there is another service that provides this, can you please let me know?
Hi,
You can try using " /layout/fetch-layout" service via JSONWS.
This service takes layout id and groupId as parameters, you can get it from Liferay.ThemeDisplay.getLayoutId() and Liferay.ThemeDisplay.getScopeGroupId() .
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™