Hi @mousman85 , @takolota , @ChrisPiasecki
Did any of you receive an error message when trying to update the CDS/Dataverse multi select field with multiple values? I keep getting an error message that the values I am providing are not valid integers.
To prevent the error message, I then created an array of valid integers:
This I created by using replace() to replace the labels of the user selected input from MSForm, with the corresponding multi select code (numeric) values. After using replace() to remove all the quotes and square brackets, I split the resultant output into an array of numeric codes. I then used int() to append to a second array - thus ensuring that the second array is one of only valid integers. No error messages so all looking good and the output from a test run looks clean too.
Now I have to convert this array of integers into something that Dataverse will accept for the multi select field. Have tried updating the multi select field with output from two compose functions using the integer array:
- join(integer array,',') and
- concat(integer array)
Neither of these result in output which Dataverse will accept. Here is the error message:
"The optionset values sent [948170000,948170001,948170002,948170003,948170004,948170005,948170006,948170008,948170010] are not valid integers."
Any ideas? Can't find any solutions which work on any platforms.