Issue
-
We are searching for a way to obtain where one article is displayed; based on the
articleId.
I did not find any clear way to achieve our goal in Documentation. -
The list should contain a list of friendly URLs or a list of siteIDs.
journalArticle.getFriendlyURLMap()returns basic information.JournalContentSearchLocalServiceUtil.getLayoutIdsCount(articleId)returns0. -
How can we achieve that?
Environment
- DXP 7.2
- DXP 7.3
Resolution
- journalArticle.getFriendlyURLMap()
- JournalContentSearchLocalServiceUtil.getLayoutIdsCount(articleId)
- This is a new feature on DXP 7.4 so you need to upgrade to that version first.
- Then you can use the
Layout>Classed Modelto achieve this.