I'm trying to pass an array of field names as a parameter to a javascript web resource. I followed the suggestion here:
stackoverflow.com/.../dynamics-crm-2011-pass-array-as-parameter
But I get:
"There was an error with this field's customized event." Followed, usefully, by "Error: undefined"
When I try to do anything with the array (in this test case, just an alert with the length or the first item).
I can't do it as separate parameters, since I want to use this code on many different forms and the number of fields I'm passing in could be quite different fro form to form. I just want to pass in an array, then iterate through it in my javascript.
Has anyone gotten this to work in 2015 or 2016? I'm wondering if that code worked for 2011 but changes since have made that method not work anymore?