Skip to main content
1-Visitor
Apr 19, 2018 5:04 AM UTC
Question

Unable to execute addStreamEntries

I have assigned a dataShape(without a primary key) to a stream but whenever I try to edit value field to add multiple stream entries. I get a response saying "Must have a dataShape defined to add rows. "(Please find attached screenshot)

When tried with a single addEntry, it works fine.

4 replies

22-Sapphire I
Apr 19, 2018 7:50 AM UTC

It looks like you are trying to execute this within composer.

Unfortunately it looks like this is one of those services that doesn't run within composer.

You will have to do an actual service call.

Translate
chaitanya1-VisitorAuthor
1-Visitor
Apr 25, 2018 4:40 AM UTC

Hi @PaiChung,

Thanks for the response.
Do you mean to say I have to invoke this service with a REST call?
If so, what would be the json structure for sending multiple entries?

Translate