Forum Discussion

augustindelaf's avatar
augustindelaf
Impactful Individual
6 years ago
Solved

Data mapping and visual update not working

Hi, I have another problem with the data mapping. When I drag and drop data fields (three fields), the visual does not update and I do not understand why. I have drawings which do not depend on th...
  • dm-p's avatar
    6 years ago

    Hi augustindelaf,

    You can confirm the dataViewMapping looks as expected by checking the raw data for the developer visual, e.g.:

    If the table shown under the visual looks as you might expect, then it is likely to be something in your visual's update method rather than the dataViewMapping. If there's no error handling set up (e.g. using try ... catch) in your update method then visuals often just seem to be doing nothing when they're actually failing at a point you might not expect.

    Are you able to share your code (including all of capabilities.json, and package.json if you're using a particular node package) so that I can try and replicate and see where it might be getting stuck?

    Thanks!

    Daniel