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

LPS: Document automatic propagation mode for fragment entries

    Details

      Description

      Document automatic propagation mode for fragment entries.

      Story https://issues.liferay.com/browse/LPS-96650 introduces new feature for the Fragments developers - automatic propagation of fragment changes.

      For example, when we have a Fragment with HTML "<h1>Header 1</h1" and some content pages using this fragment, by default there is no changes propagation and any changes in the fragment code don't affect content pages automatically. There is a manual way to propagate changes for any particular usage using "View Usages" action in the fragments administration.

      Using this new feature a web developer can enable automatic propagation for the fragment changes using Company-scope property(disabled by default):

      When enabled, a web developer can see corresponding info message in the Fragments Editor:

      And when web developer publishes Fragment Entry, changes apply immediately to all the usages (on Content Pages, Content Page Templates and Display Pages) overwriting existing fragments code. Automatic propagation works only for HTML, CSS and JS code of fragment, not the editable values.

       

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support

                    Packages

                    Version Package
                    7.2.x