Is there a way to clear search history?

For any questions and tips and tricks on how to use Basecamp for PC then please post in this section.
Post Reply
User avatar
Peobody
Subscriber
Posts: 1565
Joined: Tue Apr 20, 2021 1:33 pm
Location: North Carolina USA
Has liked: 117 times
Been liked: 348 times
United States of America

Is there a way to clear search history?

Post by Peobody »

I have just finished looking through Basecamp options and then searching this forum hoping to find a way to delete the search history in Basecamp. Mine isn't very long yet, but there is no reason for it to exist. What are the options for removing it?

If manually editing user.config is the only way, can anyone tell me whether deleting the content between <value> and </value> will work?
This attribute is under: <setting name="RecentSearches" serializeAs="String">
2008 Honda GL1800 Goldwing
1995 Kawasaki ZG1000 Concours
zūmo XT linked to Cardo Packtalk Bold and iPhone SE.
jfheath
Posts: 2807
Joined: Sat Oct 19, 2019 4:17 pm
Location: West Yorkshire, Uk
Has liked: 369 times
Been liked: 780 times
Great Britain

Re: Is there a way to clear search history?

Post by jfheath »

I'm going to be less than useless on this one.
I didn't realise that it had a search history !!
Have owned Zumo 550, 660 == Now have Zumo XT2, XT, 595, 590, Headache
Use Basecamp (mainly), MyRouteApp (sometimes), Competent with Tread for XT2, Can use Explore for XT - but it offers nothing that I want !

Links: Zumo 590/5 & BC . . . Zumo XT & BC
sussamb
Posts: 1799
Joined: Mon Apr 23, 2018 1:06 pm
Has liked: 343 times
Been liked: 368 times
Great Britain

Re: Is there a way to clear search history?

Post by sussamb »

Me neither!
User avatar
lkraus
Subscriber
Posts: 456
Joined: Mon Aug 24, 2020 2:36 pm
Location: Central Ohio
Has liked: 60 times
Been liked: 145 times
United States of America

Re: Is there a way to clear search history?

Post by lkraus »

Be brave and try it! At worst, you have to re-install Basecamp.

But the answer is yes!

Code: Select all

 <bc.FindOptions_t>
            <setting name="RecentSearches" serializeAs="String">
                <value>
                </value>
            </setting>
For any other Windows users that want to do this, I found the config file to edit in a text editor is at "BaseCamp.exe_Url_urbejbdz42c555ix3xqbitecusqt0tuj\4.7.5.0BaseCamp.exe_Url_urbejbdz42c555ix3xqbitecusqt0tuj\4.7.5.0\user.config"

The last two folder names (BaseCamp.exe_Url_urbejbdz42c555ix3xqbitecusqt0tuj\4.7.5.0) might vary depending on your software version, but a copy/paste of "C:\Users\%USERNAME%\AppData\Local\GARMIN_Corp" into File Explorer should get you close enough to find the rest.
____________________________________
2006 R1200RT
Galaxy S10<>Zumo XT<>Sena 20S
User avatar
Peobody
Subscriber
Posts: 1565
Joined: Tue Apr 20, 2021 1:33 pm
Location: North Carolina USA
Has liked: 117 times
Been liked: 348 times
United States of America

Re: Is there a way to clear search history?

Post by Peobody »

lkraus wrote: Sat Jun 08, 2024 5:31 pm Be brave and try it! At worst, you have to re-install Basecamp.
I am only brave after exhausting every attempt at avoiding it. :lol:

Your code snippet reassures me that I'm on the right track. What did you use to produce it? I have only ever looked at .xml with Notepad in which line wrapping makes it a mess.
2008 Honda GL1800 Goldwing
1995 Kawasaki ZG1000 Concours
zūmo XT linked to Cardo Packtalk Bold and iPhone SE.
User avatar
lkraus
Subscriber
Posts: 456
Joined: Mon Aug 24, 2020 2:36 pm
Location: Central Ohio
Has liked: 60 times
Been liked: 145 times
United States of America

Re: Is there a way to clear search history?

Post by lkraus »

I use Notepad++, but that .config file looks the same in the Windows default Notepad app. View>Word wrap might give you a different result.
____________________________________
2006 R1200RT
Galaxy S10<>Zumo XT<>Sena 20S
User avatar
Peobody
Subscriber
Posts: 1565
Joined: Tue Apr 20, 2021 1:33 pm
Location: North Carolina USA
Has liked: 117 times
Been liked: 348 times
United States of America

Re: Is there a way to clear search history?

Post by Peobody »

I triggered the "Reset options to default values..." function in Basecamp to see if it would create a new user.config file. It did, but, the new file contained a completely different set of recent search entries. They were ones that I had done, but over a year ago. I don't know where they came from. Regardless, this was a learning experience that revealed the behaviour of the recent search history list. It is limited to the last ten searches. Once you hit ten, each new search replaces the oldest search entry in the list. So, it is self maintaining at ten entries.

I also determined that removing all data between <value> and <\value> cleared the recent search list.

Unfortunately, I learned that some of the configuration settings in Edit > Options are not maintained in the user.config file. I had backed it up before resetting options. Restoring that backed up file did not restore all of the configuration settings. I immediately noticed differences in the Display and Activity Profile settings. These must be stored in the database, which I didn't think to backup up. Oh well! My well-oiled Basecamp needs to be re-oiled.
2008 Honda GL1800 Goldwing
1995 Kawasaki ZG1000 Concours
zūmo XT linked to Cardo Packtalk Bold and iPhone SE.
zumokaren
Posts: 6
Joined: Tue Jun 11, 2024 5:40 am
United States of America

Re: Is there a way to clear search history?

Post by zumokaren »

It's good info to know that it self-manages the search history to 10 entries.
Post Reply