How to map addon to value of array?

Options

I Need to map addon to participant ID

My addon works for single item mapping. For array I try this:

But as a result, I don't have either an addon nor an ID in the array.

What is the correct way to map addon in this case?

Best Answer

  • Anna Sho
    Anna Sho Member
    Answer ✓
    Options

    Thank you for the answer. Issue resolved.

    It happens that when creating new addon and selecting "query all records where userId = id" and then response should be "single item" from that query, it doesnt work.

    For addon you should do "Get single record" not the Query .

    With GET single item it works and maps to array.

Answers