Details
-
New Feature
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
Pulsar
-
Pulsar 230 - Content Feed, Pulsar 231 - Content Feed
Description
When we have non primitive fields like inner compound types, selections/taxonomy fields in a multiple or single compound type, we can append the values of the fields of inner non primitive field into the array of the compound time.
For example, we have a compound type named author and it has a multiple compound type accounts.
definitions: config: /hippo:namespaces/hap/account: /hipposysedit:nodetype: /hipposysedit:nodetype: /type: hipposysedit:type: DynamicDropdown hipposysedit:multiple: true /link: hipposysedit:type: String /hippo:namespaces/hap/author: /hipposysedit:nodetype: /hipposysedit:nodetype: /fullname: hipposysedit:type: String /accounts: hipposysedit:type: hap:account hipposysedit:multiple: true
The generated json output could be as follows. We append the values of the key and value fields into to the field array.
"attributes": { "fullname": "Hippo Author", "accounts.type": [ “key1 Github development platform ”, “key2 Twitter” ], "accounts.link": [ "https://github.com/onehippo", "https://twitter.com/onehippo" ] }
Normally DynamicDropdown field returns the json as below.
“type.selectionValues.Key": [ “key1”, “key2” ], “type.selectionValues.Label": [ “Github development platform”, “Twitter” ]
Attachments
Issue Links
- relates to
-
CMS-13177 Add selected keys/labels of selections/taxonomy fields into content feed output
- Closed