Value of lap custom session fields displays as empty values in Connect web

hi,

I noticed that in the known issues thread it's mentioned that there are issues with displaying fit contribution data. But still asking to make sure that I'm not doing something incorrectly, because I have this issue for 6 months already... - I'm creating 2 string fields using session.createField(), and defined for these fields in the <fitContributions> section displayInActivityLaps="true". I'm setting the value of these fields once per lap, right after I start a lap (session.addLap()).
After the activity is saved, these fields do show up in the Splits section in Connect Web, however all the values are blank. In Connect Mobile, the fields show up with the correct values populated.
I also have 2 fields in the Summary section and 2 graphs, and they all display correctly both in Web and the mobile.
Is there something I could do to make the extra fields render correctly in Connect web, or is it still some known bug in Connect? Should I call setData() for these fields more frequently or is once per lap enough?

Thanks!
  • Former Member
    Former Member over 7 years ago
    eran_levi,

    Unfortunately it sounds like this is part of a bug that's already been reported. Since you are getting the data in one place and not the other, the fault is with the platform in that environment and not in your code. Thanks for running this by us and doing your own due diligence to troubleshoot and check.

    Thanks,
    - Coleman
  • hi,

    It's been like that since December for my, that's why I also suspect it's something I'm not doing correctly, unless it's not working for all 3rd party custom fields for months (could it be?). Maybe I'll also ask at the Garmin Connect web forum. If it helps, here's a sample activity generated by my app. The problematic fields are at the Splits section, in the end
    https://connect.garmin.com/modern/activity/2706334864

    Thanks!
  • Hey everyone! This is still an issue after 6 years, will this ever be corrected, or is there a workaround / solution (maybe to use specific format for custom lap fields?)

    Thanks!

  • It works for me. You need to correctly create the field to be a lap type field, it's not enough to set it in futcontribute.xml