Workout getName() only returns 15 characters

Hi all,

Through some testing I've determined that the wkt_name field in a FIT workout file can be up to 255 characters long, but the Connect IQ Workout.getName() function appears to only return the first 15 characters of this name. I assume it's the same for Routes and other PersistedContent. Am I doing something wrong, or is it only possible to get the first 15 characters of the name of the Workout / PersisedContent.

Thanks in advance!
  • I seem to recall, that when something like this is xfered to a device, only the first 15 characters of the name are used, so when creating a workout, the first part needs to be unique, but the rest can be seen when viewing them in Garmin connect for more info. 15 character may be used because it's hard to display much more on the device.

    If it was longer than 15 or so, I'd probably chop it to a size so it was easy to display, for example.