Skip to main content
Inspiring
Dec 19, 2017 12:12 AM UTC
Answered

Updating variables in search

I have a lot of variables in my project and when I use the search feature it usually finds results based on old variable values. How can I update the project so that the search finds results with the current variable values?

This topic is closed to new replies. Start a new post to keep the conversation going.
CN13579Correct answer
Inspiring
Dec 19, 2017 9:39 PM UTC

It looks like the variable values are stored in the individual htm files and the only way I can see to update them is to open a topic and save it. We have over a thousand topics so that's far from practical. Anyone know how to get Robohelp to open each topic and update the variables automatically?


I got it to update the topics by using the Update DHTML function.

6 replies

Captiv8r
Legend
Dec 19, 2017 4:21 AM UTC

Where exactly are you searching?

Among the source files? Or is it happening when you search output?

Cheers... Rick

Translate
CN13579Author
Inspiring
Dec 19, 2017 3:57 PM UTC

Sorry. I should have been more specific. In the source files. For example, if I have a variable called "fruit" and the initial value is "apple", but I change it to "banana", when I search for "apple" it still shows up in the search results everywhere that the variable is used. When I open the topic from the search results, though, the correct value displays. There is a disparity between the search results and the actual topics. Is there a way to update the search index or however it finds the results so that it searches with the current variable values?

Translate
CN13579Author
Inspiring
Dec 19, 2017 9:33 PM UTC

It looks like the variable values are stored in the individual htm files and the only way I can see to update them is to open a topic and save it. We have over a thousand topics so that's far from practical. Anyone know how to get Robohelp to open each topic and update the variables automatically?

Translate