How to get all sites or friendly URLs where the article is displayed?


  • 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) returns 0.

  • How can we achieve that?


  • DXP 7.2
  • DXP 7.3


  • This is a new feature on DXP 7.4 so you need to upgrade to that patch level first.
  • Then you can use the Layout > Classed Model to achieve this.

Additional Information