displayInActivityLaps does not work?

Former Member
Former Member
i'm trying to show values in the lap activities.

i have 1 fit contributor for the graph

<fitField id="3" displayInChart="false" sortOrder="0" precision="0"
dataLabel="@Strings.totpassi_graph_label"
unitLabel="@Strings.totpassi_units" displayInActivityLaps="true"/>


and another for the activity laps

<fitField id="0" displayInChart="true" sortOrder="0" precision="0"
chartTitle="@Strings.passi_label" dataLabel="@Strings.passi_graph_label"
unitLabel="@Strings.passi_units" fillColor="#FF0000" />


after start the session, i init a variable for the graph

mPassiField=session.createField(
"passi_label",
PASSI_FIELD_ID,
FitContributor.DATA_TYPE_UINT16,
{:mesgType=>FitContributor.MESG_TYPE_RECORD, :units=>"N"});
mPassiField.setData(0);


and another for the activity

mTotPassiField=session.createField(
"totpassi_label",
TOTPASSI_FIELD_ID,
FitContributor.DATA_TYPE_UINT16,
{:mesgType=>FitContributor.MESG_TYPE_RECORD, :units=>"N"});


when i add a value to the graph,

mPassiField.setData(stepsParz);

i add the same value to the activity

mTotPassiField.setData(stepsParz);

and then add a

session.addLap();

the result is that i see the values on the graph but i don't see values in the activity laps.

what i do wrong?

thank you

Federico community.garmin.com/.../1423936.png community.garmin.com/.../1423937.png
  • I noticed the same thing -- I think there's a bug with the GC app right now. Try the Garmin Connect website (which works for me).
  • Former Member
    Former Member over 6 years ago
    two or three GC App updates and nothing is changed ?!...
  • Former Member
    Former Member over 6 years ago
    What version of GCM are you seeing this with and are you seeing this on iOS or Android?

    Thanks,
    Kamau
  • Former Member
    Former Member over 6 years ago
    the system is Android.

    the version 4.13.5

    the version is
    What version of GCM are you seeing this with and are you seeing this on iOS or Android?

    Thanks,
    Kamau


  • Former Member
    Former Member over 6 years ago
    Thank you! We've created ticket Weretech-6257 to take a look.

    Thanks,
    Kamau
  • Former Member
    Former Member over 6 years ago
    TMFWatches, are you seeing the data on Garmin Connect web but not in Garmin Connect Mobile (to confirm) and can you please send us a fit file for the activity so we can try to reproduce this issue on our end?

    Thanks,
    Kamau
  • Former Member
    Former Member over 6 years ago
    TMFWatches, are you seeing the data on Garmin Connect web but not in Garmin Connect Mobile (to confirm) and can you please send us a fit file for the activity so we can try to reproduce this issue on our end?

    Thanks,
    Kamau


    No, on Garmin Connect web i cannot see the data too.

  • Former Member
    Former Member over 6 years ago
    TMFWatches, thank you, added this information to your ticket.

    Thanks,
    Kamau
  • Former Member
    Former Member over 6 years ago
    TMFWatches for the activity,

    mTotPassiField=session.createField(
    "totpassi_label",
    TOTPASSI_FIELD_ID,
    FitContributor.DATA_TYPE_UINT16,
    {:mesgType=>FitContributor.MESG_TYPE_RECORD, :units=>"N"});


    :mesgType try FitContributor.MESG_TYPE_LAP instead of MESG_TYPE_RECORD

    Please let us know if that fixes it.
  • Former Member
    Former Member over 6 years ago
    yes, it work now.

    thank you


    TMFWatches for the activity,

    mTotPassiField=session.createField(
    "totpassi_label",
    TOTPASSI_FIELD_ID,
    FitContributor.DATA_TYPE_UINT16,
    {:mesgType=>FitContributor.MESG_TYPE_RECORD, :units=>"N"});


    :mesgType try FitContributor.MESG_TYPE_LAP instead of MESG_TYPE_RECORD

    Please let us know if that fixes it.