use embedded document to access the ID
CarstenLeue opened this issue · 0 comments
CarstenLeue commented
Instead of tokenizing the ID string from the search result, I suggest to use the ID from the embedded document.
var contentTypeId = id.substring(id.indexOf(":") + 1);