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

As a Fragment developer I can specify which type of content that will be selectable by page authors when using the "itemSelector" configuration field

    Details

      Description

      Context

      The "itemSelector" configuration field type can be used by fragment developers to allow page authors to choose a content to be displayed by the fragment. Currently the field will allow authors to select any content of the selected types.

      In some cases though, it is desirable to only allow the author to select specific content types, so that the fragment can expect to receive that exact type.

      Beyond the type, it is desirable to select the sub-type and (if possible) the mime type.

      Technical Note

      This could be achieved through some additional typeOptions fields such as: itemType, itemSubtype and itemMimeType

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  7.3.0 CE GA1
                  Master