Hi there,
Seems to have issues trying to pass a List ot Text to a plugin

  1. Plugin Setting like this

  2. Data Input like this ( splitting by comma to form a list of texts )

  3. Script like this
    'function(properties, context) {
    const listA = properties.a;
    const listB = properties.b;

    const concatenatedList = listA.map((item, index) => item + listB[index]);

    return {
    c: concatenatedList
    };
    }’

  4. Got this error
    image

  5. Server Log

What am I missing???

Tks, Augusto

I’m trying to understand what you’re attempting. Do you mean to start with this:
List A
aaa
bbb
ccc

List B
xxx
yyy
zzz

Output:
List C
aaaxxx
bbbyyy
ccczzz

If so, keep in mind that “aaa,bbb,ccc” is not a list, but a single text item. So maybe change it so that the inputs are not a list?

As long as I’m spliting by comma, just before sending to the plugin, it is a list…
See STEP 2. Isn’t it?

Just trying to concanate, but as a matter of fact trying to understand how to pass List of Texts to a plugin

Oh I see: *Concatenate List is your custom script/plugin, right? I couldn’t find documentation on it, nor could I find it in the plugin marketplace. You’re right that split by should have separated your text into a list of text.

If you can somehow move or add the category of your question to the Plugin builders category, it’s more likely to be seen by Bubblers who have experience creating plugins.

This topic was automatically closed after 70 days. New replies are no longer allowed.