Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-69481

Add DDMTemplateKey to JSON WS Service /journal.journalarticle/get-article-content

Details

    • Feature Request
    • Status: Under Review
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Hi,

      We are using Liferay JSONWS Service to get a journal article content rendered by its default template. This works great, but we would like to be able to render the journal article using another template like it can ba done in Liferay API and Liferay Portlets.

      It seems to be missing only some little code to be able to do this as the services already exists.

      I'm currently using this signature :

      Liferay.Service(
      '/journal.journalarticle/get-article-content',

      { groupId: '20141', articleId: '35467', languageId: null, themeDisplay: null }

      ,
      function(obj)

      { console.log(obj); }
      );

      And it would be great to be able to use this signature :

      Liferay.Service(
      '/journal.journalarticle/get-article-content',
      { groupId: '20141', articleId: '35467', DDMTemplateKey: '31511', languageId: null, themeDisplay: null },
      function(obj) { console.log(obj); }

      );

      I hope this feature could be integrated in next Liferay 7 GA version.

      Thanks and regards

      Attachments

        Activity

          People

            pablo.agulla Pablo Agulla
            ljaulin Laurent Jaulin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Packages

                Version Package