Hello!
I have created a Generic Service which properly reads and filters a Local Storage Array. I cannot, however, seem to Update an item in said Array.
I would like for the user to click a button and change a Boolean value in the Array from “false” to “true.” I’ve tried dozens of methods, from modifying the JS code in the Generic Service to adding JS in the Service Request Mapping, but have not yet been able to make it work.
The item in the Array needing to be updated is votedReturn where it equals variable clickedSong. Again, the cdata.filter works beautifully: I just can’t update the related item.
Any assistance is greatly appreciated!
Thanks,
Randy