Uploaded image for project: 'PUBLIC - Liferay Documentation'
  1. PUBLIC - Liferay Documentation
  2. LRDOCS-3759

DXP Dev. Experience - Embedding portlets in a theme using portletName

    Details

      Description

      Source: https://docs.google.com/a/liferay.com/spreadsheets/d/1aFsGlFPBhLw66LMFx99eJ7ZMfygCtCYm_1bhLenPwDE/edit?usp=sharing

      EPM Epic link: https://issues.liferay.com/browse/EPM-1003

      Context:
      In order to improve DXP Perceived quality, an Action Plan has been defined to improve DXP Developer Experience. One of the Action items is:

      Document embedding portlets in a theme using portletName, per UX training materials.
      The DXP Front End Dev training (v 7.4.1, module 03.11-embeddings-apps-into-themes, slide 5) includes notes on a second way to embed a portlet, using portletName instead of portletProviderAction + portletProviderClassName. If portletName is officially supported we should add to the docs, otherwise it should be removed from the training materials.
      https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/embedding-portlets-in-themes-and-layout-templates
      For example, you can include a specific web content instance this way.
      <@liferay_portlet["runtime"]
      defaultPreferences=default_preferences
      portletName="com_liferay_journal_content_web_portlet_JournalContentPortlet"
      />
      https://liferay.zulipchat.com/#narrow/stream/gs-consulting/subject/embedding.20web.20content.20in.20layout.20template

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                7.0.x