GeneXus for SAP Systems First Application

Official Content
This documentation is valid for:

The Basics of IDE

The following image shows the GeneXus IDE with an open Knowledge Base (GeneXus Project).


The IDE has several windows.

1. Main Window: Displays the object on which you are working. It provides a drag-and-drop editor for User Interface (UI) editing and allows developers to specify business logic using a declarative language.

2. Knowledge Base Navigator: Displays objects and settings of the currently open Knowledge Base (KB).

3. Toolbar: Displays an easy-to-use interface for commonly used functions in GeneXus.

4. Properties Window: Displays properties of the selected object or control.

5. Output: Displays the output of the actions performed on the knowledge base.

If no Knowledge Base is open, the main window will show the start page. The start page displays dynamic information about GeneXus and the GeneXus community (news as well as solutions posted by other developers). It shows recently opened projects with the option to reopen them and also provides an option to create a new project.

Personalizing the IDE

You can customize the IDE to suit your development style. You can change the position of the menu and toolbar. You can dock, undock, float or close any window. You can work in full-screen mode. You can also create a multi-tab layout within the main window to simultaneously open multiple objects.

Creating Applications

To develop a new application using GeneXus, you have to create a Knowledge Base (a Knowledge Base is a GeneXus project). A Knowledge Base (KB) stores the logical structure of the objects of reality and the rules according to which such objects interact. Using GeneXus, you can create responsive web applications and native mobile applications for iOS and Android devices from a single Knowledge Base.  A knowledge base also stores custom implementations.

To create a new Knowledge Base, click on File > New > Knowledge Base (Shortcut: Ctrl+Shift+N)



Click on ‘New Knowledge Base’ in the Welcome tab within the Start Page (shown below)


The following dialog box will be displayed: 


In this dialog box, you can enter a name for the Knowledge Base. The ‘Directory’ field displays the default path where the Knowledge Base will be created; you can change this directory if necessary. Prototyping environment displays the programming language (Java) in which GeneXus will generate the web application.

The Language combo box enables you to select the language in which you want GeneXus to generate automatic button captions, labels, messages for the users, etc. The default language is English.

Let's create a sample knowledge base to develop a web application and native mobile applications (iOS and Android) for a travel agency, named ‘Travel Agency’. 


When you press the ‘Create’ button, GeneXus starts the Knowledge Base creation process.


When the KB has been created, we will see that the contents of the IDE have changed:  


  • The KB (knowledge base) Explorer now displays a tree structure, which will show all the objects in the knowledge base. We can see that folders with objects are already displayed.
  • The Output window now shows a report of the actions performed and their results.

Initialize Fiori 

After you create the new KB in order to generate the UI using the Fiori design system you must initialize the resources for Fiori using the option Tools \ Fiori \ Initialize Fiori 3.0

This option will import all the needed resources to work whit the pattern Fiori.