When viewing something published with DXA and a nested Keyword structure, is doesn’t seem that "ParentKeywords": [],
gets populated when generated using DXA Component Template Generate Dynamic Component
.
"Fields": {
"theKeyword": {
"Name": "theKeyword",
"Values": ["Little Jimmy"],
"NumericValues": [],
"DateTimeValues": [],
"LinkedComponentValues": [],
"FieldType": 3,
"CategoryName": "TestCategory",
"CategoryId": "tcm:286-27081-512",
"XPath": "tcm:Content/custom:Content/custom:theKeyword",
"KeywordValues": [{
"Description": "",
"Key": "littleJimmy",
"TaxonomyId": "tcm:286-27081-512",
"Path": "\\TestCategory\\Stuff2\\Jim\\Little Jimmy",
"ParentKeywords": [],
"MetadataFields": {},
"Id": "tcm:286-164010-1024",
"Title": "Little Jimmy"
}]
}
},
What is the purpose of "ParentKeywords": [],
and how can I get it to provide useful data?