The purpose of this section is to allow users to manage the GeneXus Server license. If there is no Internet connection or if there is any issue when connecting to the Licenses Server, the user must send the Uninstall code to its local distributor by e-mail. By default, only Admin role has this permission. If you are requesting a license extension from GeneXus Server X Evolution 2 U2 and lower versions, you will need to update your installation with the following compatibility fix.
|Published (Last):||15 December 2008|
|PDF File Size:||7.59 Mb|
|ePub File Size:||4.13 Mb|
|Price:||Free* [*Free Regsitration Required]|
Artech Consultores S. All rights reserved. This document cannot be reproduced in any media without the explicit consent of Artech Consultores S. The information contained in this document is solely for personal use. Any other trademarks mentioned in this document are the property of their respective owners. Preliminary notes This material contains the practical exercises that GeneXus course students will have to work with and solve as they attend the lecture classes.
These exercises will allow students to become familiar with the GeneXus tool, its environment, menus, toolbar, and other elements, and as they do, they will be putting into practice key concepts under the guidance of the course instructor. Once students have finished this practical section of the course, they will have acquired enough skills to analyze a simple real world scenario and to model it using GeneXus. With the support of an instructor, they will have completed a full learning module that is essential to begin developing their own applications.
Since the aim of this course is to understand the logic of GeneXus, its essence, independent of the platform in which the application is to be implemented, students will have learned to build prototypes in any of the platforms supported by GeneXus. At the beginning of the practical section of the course, the instructor will give students the specifications of the platform chosen for the course, so that they can use that information to configure the environment.
After some of the exercises, students will find notes that will help them reflect on what they have done so far. Also included are suggestions which present the same exercise with variations for students to try out if they want. Take a few minutes to familiarize yourself with the IDE.
You will see that the domains are already initialized, as are some objects and images, among other elements. Suggestion: Keep the properties window open F4 , as you will be using it continuously. Transaction exercises You will now be asked to define a number of transactions in the knowledge base you just created.
For each transaction, an image of the Web Form is shown together with a list of the attributes to be included in its structure you may, however, need to include other attributes. The exercises will cover various features of the transactions including defining rules, formulas, etc.
Remember that there are several ways to create an object:? What happened? Web Form:? You cannot allow countries without a name to be entered. Look at the Text Blocks that appear in the form to the left of the attributes. Figure out the default value that GeneXus gives the property mentioned.
You will later use them in the transactions, when you define the attributes based on these domains. When the CustomerName attribute has been defined, observe what GeneXus suggests automatically as its data type. Associate them directly in this transaction. What are they indicating?
Web form: Overview:? Define CustomerGender so that it is displayed in all forms as a Radio Button control. You have to do this by modifying the properties of the CustomerGender attribute in the structure.
Note that after saving, the form is updated to show the radio button. As you have modified these properties associated to the attribute, every time you add CustomerGender in a form of any GeneXus object, it will appear by default as a Radio Button.
If the properties associated to the control are configured in the form instead, this will only apply for that CustomerGender control in this form in particular, and not in any other form where it is inserted. No customers without a name can be entered.
Notify the user when no address is entered. To do so you will have to implement the application in a given platform. Remember that the system implementation information is stored in the Environment.
To execute the application, press F5. When you do this, a screen will open up where you must configure the name of the database where the tables of your application will be created, along with the DBMS server of that DB, and the user and password to log into the database it must have DBCreator permissions.
See the appendix for information on how to do this. Carefully examine the information provided in the report, for each of the tables. After running the Database creation program, the system will begin generating the programs corresponding to the two objects created, in the language defined when the KB was created. When the program generation is completed, a window in your Internet browser will be opened automatically while the application is running. That window tells you everything that was done to have all those programs running.
Enter some countries and customers. Try entering a country without giving a value to the Identifier. Is the autonumber feature working? Try entering a country without a name. Try using the navigation buttons to browse the countries entered. Try selecting a country from the existing countries, using the Select button. What object is opened when you do this? Did you program it? Go to your KB and look for it in the list of objects. Try leaving the field corresponding to country name blank, and then try to confirm the changes.
Try editing an existing country and deleting it. Try entering a new customer, typing in the identifier of a non-existing country for that customer, or leaving the country blank. What index was used to validate that the country existed? Click on the image shown next to CountryId and select one of the existing countries.
Try eliminating a country for which you have at least one customer associated. What index was used to validate that the country had at least one associated customer, and to prevent it from being deleted?
Enter 2 customers with the same name. We will now see how to prevent this from happening. Candidate key If in your real case scenario you cannot have two customers with the same name, that is, if CustomerName cannot have duplicate values, how do you implement this so that it will be checked automatically? You may go ahead with the reorganization, but if your case fits the case described in the warning, the reorganization will be canceled.
Go back to GeneXus and press F5 again. Now you will be able to execute the reorganization: a unique index by CustomerName will be created in the CUSTOMER table, and it will validate that no customers with the same names can be entered. So for each FK, GeneXus controls that a valid value is entered that is, a value that exists as PK in the referenced table ; and it also controls by default that no FKs are left with a null value that is, without a given valid value being specified.
Because of this, until now you have not been allowed to enter a customer without associating a country to it, and instead, it has been mandatory to associate a valid country code for every customer. After changing the value, save and press F5. Note that the DB has to be reorganized.
Then try leaving a customer without a country, and you will see how this is now possible. Web form: Click on the different controls in the form to see how what is shown on the bar changes. Edit it and observe the controls hierarchy tree. If an existing item is being modified, no product stock can be accepted; only allow product stock entries if a product is being inserted.
When entering a new product, stock cannot be allowed to be left with an empty value. We suggest the second option. Remember that you can move an attribute from the level it is in to the parent level, right clicking over the attribute and Unindent.
The opposite operation is performed with Indent. Try moving attributes up and down within the same level, by selecting the attribute or attributes and then right clicking and selecting Move Items up or Move Items Down.
Save the transaction you defined. Observe the attributes that appear in each. The primary key of the table corresponding to the second level is formed by two attributes: InvoiceId and InvoiceDetailId. Observe the indexes that will be created by GeneXus on this table. Look at the web form created by default and compare it with the one below which has been slightly modified: Web Form:? To align controls, place them in tables. Click on this icon to see the borders of the tables.
Note that ProductStock does not appear in the grid of the above form. You must hide it so that it is not shown. Position yourself in the ProductDescription column and edit its properties with F4. ColumnTitle that is, it is dynamically taking the value of the ColumnTitle property of the ProductDescription attribute. How, then, can we change the value of the column titles?
Go to the structure of the transaction, position yourself on the name of the second level and edit its properties. Change the Description property and observe what happens with this text block in the form. Was the Text Block refreshed to show the new description that you entered? In the form shown above, the InvoiceAmount attribute control appears in red and to the right. To achieve this:? Note that all the attributes and their descriptions both those corresponding to the first level, and those corresponding to the second level and included in a grid are in a table with 5 rows and 2 columns.
GeneXus X Installation Manual
There is only one setup wizard to install the components detailed above. In the Installation you will find a detailed description of the installation process. Before the installation, check the requirements of each component in the System Requirements. Each component requires an activation code.
GeneXus X Evolution 3 Installation Manual
There is only one setup wizard to install the components detailed below. Follow the GeneXus Installation Steps. There you will find a detailed description of the installation process. Before starting the installation, check the requirements of each component in the System Requirements. Please, make sure your computer matches them and then run the setup program that will guide you through the rest of the installation.
Subscribe to RSS
Artech Consultores S. All rights reserved. This document cannot be reproduced in any media without the explicit consent of Artech Consultores S. The information contained in this document is solely for personal use. Any other trademarks mentioned in this document are the property of their respective owners. Preliminary notes This material contains the practical exercises that GeneXus course students will have to work with and solve as they attend the lecture classes. These exercises will allow students to become familiar with the GeneXus tool, its environment, menus, toolbar, and other elements, and as they do, they will be putting into practice key concepts under the guidance of the course instructor.