This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can I assign gear to imported activity?

I have an activity (biking) that I imported from another platform into Garmin Connect.  Everything shows up as it should, but on the activity page, it is missing the option to select the gear used for that activity.  I'd like to assign the bike I used for this ride.  

I am new to Garmin Connect, and I've got a whole bunch more of activities that I plan to import.  It is important that I'm able to assign them to my different bikes in order to keep track of mileage on each.  

Is it possible to assign the gear to these imported activities?

  • So that didn't work.  I pasted it as instructed but "Gear" is still absent from this activity page.  The activity does show on the list for that bike, but the bike is not showing on the specific activity page.  I guess it's just a bug I need to live with.  

  • A little more detail:  The problem is with activities imported from Lezyne's GPS Root website.  Files coming from Polar Flow (using SyncMyTracks) don't have this issue:  The Gear option is present on those activities with the correct bike selected.  Not sure what causes GPS Root files to delete the Gear option on Garmin Connect.  I'm exporting a .fit file from GPS Root, and then importing via drag/drop into Garmin Connect.  Everything comes through as normal, but the Gear option is missing.  However, when I look at the activity listing on that specific Gear item's page, the activity is there.  Weird.  

  • Maybe you should contact Garmin at [email protected] and let them know.

    At least you have a way to add activities to your gear, as clunky as it is. On the bright side, your mileage will be tracked properly for each bike, which I assume is important to you. (I don't cycle.)

  • Both solutions make the same POST request, so the effect is the same. If first doesn't show gear on the activity page, then second won't show it too.

    But as activity got on the activities list for the gear, probably it would be possible to somehow show gear for opened activity. Gear is checked by this link:

    https://connect.garmin.com/modern/proxy/gear-service/gear/filterGear?activityId=

    If this link shows the gear (in text form) for activities where the gear is hidden, then somebody could make style or script to display it.

  •  

    Okay, here's a bookmarklet for listing the gear for the current activity, in a pop-up dialog (just plain text):

    https://pastebin.com/pUYwDcnP

    I doubt it would be practical to show missing gear in the normal way, as I'm guessing the page elements don't exist (rather than being hidden).

  •  However, it's *possible* that the "add gear" button is just hidden for the bad activities. In that case it would be really easy to make a bookmarklet that would simulate clicking that button, and bring up the proper add gear UI (the pop-up dialog that lists the existing gear and lets you add gear normally):

    You could try this bookmarklet:

    javascript:void%20function(){jQuery(".toggle-add-gear").click()}();

    I have a feeling it won't work tho

  •  Unfortunately, it didn't work.  It DOES, however, work on activities that don't have this issue -- it opens up the Gear list, just like clicking the gear button.

  • that's what I thought :(.

    Well, you can still use the bookmarklet from the previous comment to get a boring plain text list of your gear, in a pop-up. At least while you're waiting for Garmin to fix this....