CustomEvent: do I NEED to have at least one parameter?

I read somewhere that I have to send at least one paramater in the eventData dictionary. I’d like to confirm, is that true?

I have an event that I don’t really need a parameter, so I don’t know how to proceed.

That used to be true. It was a bug and it’s been fixed.

Should I put null in that field or an empty dictionary? A method overload would be nice :stuck_out_tongue:

An overload would indeed be be nice. I’ll ask about that in-house. The current API is to send null instead of the Dictionary.

[EDIT]I’ve opened a ticket to do exactly this. Can’t say if/when it will happen, but the folks I spoke with agreed it’s a very sensible change.[/EDIT]

1 Like

Goodness guys, that was 6 months ago, still not done ??!

@Fattie Sorry…should have updated this thread. It was fixed months ago. :slight_smile:

ok good one.

I think the Doco has not been updated to reflect that one can pass only the one parameter, cheers

What I really want to know is if IAP is getting any traction yet!