Hello,
Am making an API call to my application , it returned e an error “Error processing option list , Make sure the dinal dataset is an array”
How to sort out this ?
Hello,
Am making an API call to my application , it returned e an error “Error processing option list , Make sure the dinal dataset is an array”
How to sort out this ?
You have to translate the data to return as name/value pairs. Request and Translation scripts are written in JS. A good starting point is using this as your translation and modifying to return the correct results:
for(var x=0;x < data.length; x++) {
results.push({name: data[x].name,value:data[x].id});
}
Check out this site for a bit more details:
https://docs.morpheusdata.com/en/latest/library/options/option_lists.html