Closed kd-ods closed 1 year ago
@kd-ods This does work if the additional data is valid json, specifically the comma at the end of "hasPublicListing": true,
needs to be removed: "hasPublicListing": true
specifically the comma at the end of "hasPublicListing": true, needs to be removed: "hasPublicListing": true
Ah. Yes. That would help! Thanks, @Lathrisk. I've edited my initial post to take out my error and report the issue accurately.
At the moment, this json renders as expected with a standard company icon:
However, when the following is added, the node is given the PLC icon.
"publicListing": {}
It is also given the PLC icon if this is added:
The expected behaviour is that the node icon should be set by the entityType and subType properties. And only if publicListing.hasPublicListing is true should that icon be replaced by the PLC icon. (If publicListing.hasPublicListing is non-existent or false then the entityType (and subtype) should determine the icon.)
[This post was edited on 2022-05-31 following an initial error]