displayInActivitySummary does not work?

Former Member
Former Member
i have a fit field defined in this wat

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

i init the field when start the session

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

when the session stop, i put the value

mTotaleField.setData(totalePassi);

and close the session

session.stop();
session.save();

but i don't see the value in the Activity Summary section.
What i do wrong?