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

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

  • How can we achieve that?

Environment

  • DXP 7.2
  • DXP 7.3

Resolution

  • 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

 

この記事は役に立ちましたか?
0人中0人がこの記事が役に立ったと言っています