nathanw
02/21/2020, 4:39 PMaddCustomDataSource
from the N/render
module?
.addCustomDataSource({
format: render.DataSource.OBJECT,
alias: "ITEMS",
data: items
});
I'm trying to add an Object items and I keep getting the following error.
"UNSUPPORTED_DATA_FORMAT","message":"You have supplied an invalid value for data format: JSON: The content of elements must consist of well-formed character data or markup."
Slack Conversationsuitedev
02/21/2020, 4:41 PMcreece
02/21/2020, 4:44 PMerictgrubaugh
02/21/2020, 4:45 PMtmpl.addCustomDataSource({
alias: "grants",
format: render.DataSource.JSON,
data: JSON.stringify(data)
});
I never found success with the OBJECT
formatcreece
02/21/2020, 4:46 PMmtsb
02/21/2020, 4:48 PMnathanw
02/21/2020, 4:53 PM