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

Allow to specify the structure in item selector for File Entries (not only fileEntryTypeId)

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Currently, when configuring an item selector for a fragment, we allow to specify for web contents the subtype by DDMStructure key. In the case of File Entries, the subtype is specified by fileEntryType Id, like this:

       

      	{
      		"label": "embed-asset",
      		"name": "embedAsset",
      		"type": "itemSelector",
      		"typeOptions": {
      			"itemType": "com.liferay.portal.kernel.repository.model.FileEntry",
      			"itemSubtype": "274524237"
      		}
         }
      

      The goal of the task is to allow also the key for File Entries, without removing the current behaviour (so as not to break clients code).

      The user will be able to specify either the structure key or the fileEntryType in itemSubtype

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            jurgen.kappler Jürgen Kappler
            Recent user:
            Jürgen Kappler
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package