fit session field value not displayed in the total raw on the lap data in Garmin Connect

Not sure if it's a Garmin Connect bug or I am doing something wrong:

In my DF I create my fields in pairs: one for lap, one for session, with the same name:

        name = "avg_" + heart_rate;
        mLapAverageHRField     = dataField.createField(name,          AVG_LAP_HR_FIELD_ID,   uint8, lap_bpm_options);
        mSessionAverageHRField = dataField.createField(name,          AVG_HR_FIELD_ID,       uint8, session_bpm_options);

note they both have the same name.

Then I call setData on them according to the common logic.

I can see the session data in the stats tab in Garmin Connect (pic1)

I can see the lap data in the laps tab (pic2)

But the last raw (total) doesn't display anything in the laps tab (pic2). I thought that because I use the same name for the field it would be understood by Garmin and the session field's value displayed in the total raw.

  • hmmm. I have a feeling that I am stupid.... I have the displayInActivityLaps="false" for the session fields. I'll try to see if setting it to true fixes this. 

  • Ok, so it's not caused by displayInActivityLaps. When I set it to true, it doesn't display the session (aka total) value in the total raw, instead it adds additional columns (with the same name), but no data at all in either rows of the new columns.

    So the original question is still valid: how can I cause my session Max ANT HR value to be displayed in the Total line of the Max ANT HR column?

  • What version of GCM are you running?  With GCM5, based on what I see on the forums, some people aren't updating and there's threads about how to move back to GCM4.  Even if you are on GCM5, it's something I'd keep in mind if a user reports an issue.

  • 5.1 android. People are talking about downgrading because they don't like the new home screen. I don't care about that that much, as long as other things work... I'm honestly not sure if this is supposed to work at all. Maybe it's some tweaking in the fitcontributor.xml, maybe tis just not supposed to work as I imagine.

  • When I tested it I had to count the the values for lap/session myself and then save them separately, nothing was made auto

  • As I wrote the calculation is correct, and the data is in the fit file, even Garmin displays it in the stats tab. Just not in the total row in the laps table

  • As I wrote the calculation is correct, and the data is in the fit file, even Garmin displays it in the stats tab. Just not in the total row in the laps table

    Unfortunately I don’t think it’s ever worked the way you’d like it to. Other devs have reported the same thing in the forums.

    It seems that only native fields can have values displayed in the total/avg row in the lap table.

    I thought that because I use the same name for the field it would be understood by Garmin and the session field's value displayed in the total raw.

    Yeah, this would be cool but I don’t think it’s ever worked this way.

    Just check it up to yet another case of missing functionality in CIQ vs native code.