Official Content

When developing in any environment, we frequently need contextual information that is often not included in the documentation. 
 
For example, suppose that we need to read about how Data Providers work so we can look this up in the Help documentation, in GXSearch or even in Google to find out if someone's blog has examples of how to use them. 
 
GeneXus has four search engines: GXSearch, Google, Windows Live and Yahoo! GXSearch is the default search engine, but users can add their own engines.

Adding Search Engines

To add another search engine, select Options from the Tools menu. A window similar to the one below will be displayed:
 
Options-SearchEngines 

Create new Tab

In this tab, new engines are added by entering their names and Search URLs. Follow the steps shown below the Add button to add a new search engine. 
 
AddSearchEngine     SearchEngineAdded                      
 
For example, suppose that we want to add the Altavista search engine. First we will enter this name in the Name field and the address obtained in the test indicated, as shown above. Next, press Add. If everything is correct, GeneXus will display a success message. 

From file Tab

This tab provides another way for adding search engines. It is done by providing an OpenSearch Description Document, which is an XML file that identifies and describes a search engine. These files can be obtained from sites that list this kind of documents (for example, www.searchplugins.net), or they can be manually created by following the specification found in the OpenSearch official website.

Activating the Default Engine

To indicate what search engine should be active when the search is performed, select the General option in the Search tree. Next, in the Default External Search Engine property select the desired engine, as shown below. 
 
ChooseDefaultSearchEngine 
 
You can also indicate whether or not you want search results to be displayed on a new browser window through the Open Results in New Window property. 

Searching

The image below shows the search window.
 
 SearchEngineSearch







Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant