acoustic-content-samples/sample-article-create

use embedded document to access the ID

CarstenLeue opened this issue · 0 comments

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);