Intervals.icu now supports custom fields on activities. They are displayed with the activity summary, are available as columns on the activity list view and via the API (read and update).
The activity fields are per athlete. If you are coaching someone you can easily add your own to their list. Just click the search button. Your fields will show up first. The fields that are selected for display are depend on the sport.
Hi, I don’t currently see (via API) my custom “Tags” field that I added to activities. It shows up on the website and I can add “tags”, but neither tags nor Tags is a valid field in the JSON that I get via the API (even on activities, that do have the field set to something other than an empty string)
has there been any changes? or am I just doing something wrong?
I was using the activities endpoint that gives a list, but on playing around a bit more I figured out that I missed the nullable aspect of the field, so when there are no tags defined, the field does not exist and so my json parser in rust crashed
All works as planned as long as I declare the String as nullable.
isn’t populated on the initial activity custom fields calculation? If I select Action → Reprocess File, this field is blank, but afterward Action → Analyse, will populate this field.
Is:
wellness.sportInfo[0].eftp
basically the same thing the the correct way to access this information?
Thanks, Andre
That field is calculated asynchronously after the activity has been analysed. A lot of rows need to be updated so it is done separately. The wellness.sportInfo[0].eftp field will contain old data when a new activity is analysed and is updated as part of the activity.icu_rolling_ftp calculation.
Hi, I am struggling with time units in my custom field. I would like to have a field with time in mm:ss.1 (like 02:11.3) manually entered. All I could get to is entering it in seconds and using the conversion, but that means I have to first convert my time to seconds (which is kind of annoying) and enter it in seconds - to see it converted in the end.
I couldn’t find any other way to work it around.
Any ideas?
Thank you very much! This custom fields idea are really great!
What settings for that would you recommend?
I even tried entering the value in the hh:mm:ss format (as set in the conversion) but that didn’t work (but I did expect that it wouldn’t)
I see what you want to do now. You want to enter the custom field as a Time format and display it in the same way.
Not sure how to do that. But if you enter the time in secs, the field does display that value in the correct Time format.
It should be possible to do what you want if a script can be run on the manually entered value. Parsing the values for hours, minutes, seconds.
Edit: It should equally be possible if it were possible to define the input type as a time format but at this moment only Numeric, Text or Select are available as input formats.