When publishing a Component with a meta field that it's a keyword, the JSON only generates the following information related with the Keyword. This is the JSON generated by the CMS, debugging with Template Builder:
"$type": "KeywordModelData[]", "$values": [
{
"Id": "610",
"SchemaId": "608"
},
{
"Id": "611",
"SchemaId": "608"
},
{
"Id": "615",
"SchemaId": "608"
},
{
"Id": "614",
"SchemaId": "608"
}
Our Component Template invokes Render Component Content
, but as we didn't get the description and key, we were changing it in Template Builder by Generate DXA R2 Entity Model
, in order to test the expandLinkDepth
parameter. We changed to -1 (infinite) and to 2, but not success. We pasted the result that we got.
UPDATE This is the debug info. I don't understand why the keyword is not expanded if the category is publishable. Any idea? Is this a new SDL Web 8 feature?