Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Search Infrastructure
    • Labels:
      None

      Description

      Revisit whether these (or other) entities can still be selected in Blueprints.

      • com.liferay.portal.kernel.model.Organization*
      • com.liferay.portal.kernel.model.Role*
      • com.liferay.portal.kernel.model.Team
      • com.liferay.portal.kernel.model.Group
      • com.liferay.portal.kernel.model.User
      • com.liferay.portal.kernel.model.UserGroup*

       

      To test out the itemSelector:
      Element TemplateJSON:
      {{{ "category": "match", "clauses": [ { "context": "query", "occur": "must", "query": { "query": { "multi_match": { "group": "${configuration.group_ids}", "org": "${configuration.organization_ids}", "role": "${configuration.role_id}", "team": "${configuration.team_ids}", "user": "${configuration.user_ids}", "user-group": "${configuration.userGroup_ids}" } } }, "type": "wrapper" } ], "conditions": [], "description": {}, "enabled": true, "icon": "picture", "title": { "en_US": "ItemSelector Element" } }}}

      UI ConfigurationJSON:
      {{{ "fieldSets": [ { "fields": [ { "typeOptions":

      { "itemType": "com.liferay.portal.kernel.model.Group" }

      , "helpText": "Select group", "name": "group_ids", "label": "Group", "type": "itemSelector" }, { "typeOptions":

      { "itemType": "com.liferay.portal.kernel.model.Organization" }

      , "helpText": "Select organization", "name": "organization_ids", "label": "Organization", "type": "itemSelector" }, { "typeOptions":

      { "itemType": "com.liferay.portal.kernel.model.Role" }

      , "helpText": "Select role", "name": "role_id", "label": "Role", "type": "itemSelector" }, { "typeOptions":

      { "itemType": "com.liferay.portal.kernel.model.Team" }

      , "helpText": "Select team", "name": "team_ids", "label": "Team", "type": "itemSelector" }, { "typeOptions":

      { "itemType": "com.liferay.portal.kernel.model.User" }

      , "helpText": "Select user", "name": "user_ids", "label": "User", "type": "itemSelector" }, { "typeOptions":

      { "itemType": "com.liferay.portal.kernel.model.UserGroup" }

      , "helpText": "Select user group", "name": "userGroup_ids", "label": "User Group", "type": "itemSelector" } ] } ] }}}

       

        Attachments

          Activity

            People

            Assignee:
            kevin.tan Kevin Tan
            Reporter:
            olivia.yu Olivia Yu
            Engineering Assignee:
            Olivia Yu
            Recent user:
            Kevin Tan
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Development End Date:
              Development Start Date:

                Packages

                Version Package