HTML with JSON data

Hi,

I'm trying to create HTML using "Create HTML from template" with JSON data but I'm getting an error message "Unable to cast object of type ‘System.Object[]’ to type ‘System.Collections.Generic.IDictionary`2[System.String,System.Object]"

Can you please let me know where I have it wrong?

TEMPLATE DATA:
[{"Title":"Column1"},{"Title":"Column2"},{"Title":"Column3"},{"Title":"Column4"},{"Title":"Column5"},{"Title":"Column6"}]

SOURCE HTML:
1

Hello @Arman,

  1. Please try to add whole HTML code with html and other tags, like this:
    image

  2. If it doesn't help share with me another part of the flow where you create this array Headers1.

Best regards,
Petr Bushuev
Plumsail Team

Hi @Petr, thanks but I managed to get it working already. It was the name of the collection.

1 Like