{"action":"created","issue":{"url":"https://api.github.com/repos/akeneo-labs/CustomEntityBundle/issues/117","repository_url":"https://api.github.com/repos/akeneo-labs/CustomEntityBundle","labels_url":"https://api.github.com/repos/akeneo-labs/CustomEntityBundle/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/akeneo-labs/CustomEntityBundle/issues/117/comments","events_url":"https://api.github.com/repos/akeneo-labs/CustomEntityBundle/issues/117/events","html_url":"https://github.com/akeneo-labs/CustomEntityBundle/pull/117","id":274449363,"number":117,"title":"Added a custom-entity dropdown list for single and multi select","user":{"login":"kevinrademan","id":6704740,"avatar_url":"https://avatars3.githubusercontent.com/u/6704740?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinrademan","html_url":"https://github.com/kevinrademan","followers_url":"https://api.github.com/users/kevinrademan/followers","following_url":"https://api.github.com/users/kevinrademan/following{/other_user}","gists_url":"https://api.github.com/users/kevinrademan/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinrademan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinrademan/subscriptions","organizations_url":"https://api.github.com/users/kevinrademan/orgs","repos_url":"https://api.github.com/users/kevinrademan/repos","events_url":"https://api.github.com/users/kevinrademan/events{/privacy}","received_events_url":"https://api.github.com/users/kevinrademan/received_events","type":"User","site_admin":false},"labels":[{"id":85852974,"url":"https://api.github.com/repos/akeneo-labs/CustomEntityBundle/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"jmleroux","id":1516770,"avatar_url":"https://avatars1.githubusercontent.com/u/1516770?v=4","gravatar_id":"","url":"https://api.github.com/users/jmleroux","html_url":"https://github.com/jmleroux","followers_url":"https://api.github.com/users/jmleroux/followers","following_url":"https://api.github.com/users/jmleroux/following{/other_user}","gists_url":"https://api.github.com/users/jmleroux/gists{/gist_id}","starred_url":"https://api.github.com/users/jmleroux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmleroux/subscriptions","organizations_url":"https://api.github.com/users/jmleroux/orgs","repos_url":"https://api.github.com/users/jmleroux/repos","events_url":"https://api.github.com/users/jmleroux/events{/privacy}","received_events_url":"https://api.github.com/users/jmleroux/received_events","type":"User","site_admin":false},"assignees":[{"login":"jmleroux","id":1516770,"avatar_url":"https://avatars1.githubusercontent.com/u/1516770?v=4","gravatar_id":"","url":"https://api.github.com/users/jmleroux","html_url":"https://github.com/jmleroux","followers_url":"https://api.github.com/users/jmleroux/followers","following_url":"https://api.github.com/users/jmleroux/following{/other_user}","gists_url":"https://api.github.com/users/jmleroux/gists{/gist_id}","starred_url":"https://api.github.com/users/jmleroux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmleroux/subscriptions","organizations_url":"https://api.github.com/users/jmleroux/orgs","repos_url":"https://api.github.com/users/jmleroux/repos","events_url":"https://api.github.com/users/jmleroux/events{/privacy}","received_events_url":"https://api.github.com/users/jmleroux/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-11-16T09:34:59Z","updated_at":"2017-11-16T10:41:40Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/akeneo-labs/CustomEntityBundle/pulls/117","html_url":"https://github.com/akeneo-labs/CustomEntityBundle/pull/117","diff_url":"https://github.com/akeneo-labs/CustomEntityBundle/pull/117.diff","patch_url":"https://github.com/akeneo-labs/CustomEntityBundle/pull/117.patch"},"body":"* NEW: GetAllAction which can load a list of custom entities\r\n* NEW: custom-entity-select javascript module for the custom dropdown (see usage below)\r\n* IMPROVEMENT: Extended the custom_entity-fetcher.js to allow loading custom entities by type\r\n* IMPROVEMENT: Extended the Updater.php to support  collection value association\r\n\r\nNew component case by used by adding a form extensions using the xml below\r\n\r\nCustom entity that supports single select\r\n```\r\npim-retailer-edit-form-properties-association:\r\n        module: custom_entity/field/custom-entity-select\r\n        parent: pim-retailer-edit-form-properties-common\r\n        targetZone: content\r\n        position: 270\r\n        config:\r\n            fieldName: association\r\n            choiceNameField: code\r\n            choiceValueField: name\r\n            isCustomEntity: true\r\n            entityName: association\r\n            required: false\r\n```\r\nCustom entity that supports multi select\r\n```\r\npim-retailer-edit-form-properties-paymenttypes:\r\n        module: custom_entity/field/custom-entity-select\r\n        parent: pim-retailer-edit-form-properties-common\r\n        targetZone: content\r\n        position: 280\r\n        config:\r\n            fieldName: paymentTypes\r\n            choiceNameField: code\r\n            choiceValueField: name\r\n            isCustomEntity: true\r\n            entityName: paymenttype\r\n            required: false\r\n            isMultiple: true\r\n```\r\n\r\nField on a custom entity that refers to a built in akeneo type (special usecase for us)\r\n```\r\npim-entity-edit-form-properties-attribute:\r\n        module: custom_entity/field/custom-entity-select\r\n        parent: pim-entity-edit-form-properties-common\r\n        targetZone: content\r\n        position: 270\r\n        config:\r\n            fieldName: attribute\r\n            choiceNameField: code\r\n            choiceValueField: name\r\n            isCustomEntity: false\r\n            entityName: attribute\r\n            required: false\r\n```"},"comment":{"url":"https://api.github.com/repos/akeneo-labs/CustomEntityBundle/issues/comments/344884483","html_url":"https://github.com/akeneo-labs/CustomEntityBundle/pull/117#issuecomment-344884483","issue_url":"https://api.github.com/repos/akeneo-labs/CustomEntityBundle/issues/117","id":344884483,"user":{"login":"jmleroux","id":1516770,"avatar_url":"https://avatars1.githubusercontent.com/u/1516770?v=4","gravatar_id":"","url":"https://api.github.com/users/jmleroux","html_url":"https://github.com/jmleroux","followers_url":"https://api.github.com/users/jmleroux/followers","following_url":"https://api.github.com/users/jmleroux/following{/other_user}","gists_url":"https://api.github.com/users/jmleroux/gists{/gist_id}","starred_url":"https://api.github.com/users/jmleroux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmleroux/subscriptions","organizations_url":"https://api.github.com/users/jmleroux/orgs","repos_url":"https://api.github.com/users/jmleroux/repos","events_url":"https://api.github.com/users/jmleroux/events{/privacy}","received_events_url":"https://api.github.com/users/jmleroux/received_events","type":"User","site_admin":false},"created_at":"2017-11-16T10:41:40Z","updated_at":"2017-11-16T10:41:40Z","author_association":"CONTRIBUTOR","body":"And btw, big thank you for this very valuable PR!"}}
{"actor":{"display_login":"jmleroux"}}