You might have seen how much was automatically generated by GeneXus from the two objects you have defined following the steps indicated in Getting Started with GeneXus Next - Defining the first objects.
Now suppose you are told that the pharmacy wants to record an image for each product. To do that, go back to GeneXus Next Desktop, and in the Product Transaction object, define an attribute called ProductPhoto based on the Image data type. The Image type enables you to store images.
You can choose to define it through the Source or the Structure selector. The definitions made through the Source selector are reflected in the Structure selector and vice versa.

You could also have asked the "AI Assistant" available in the window on the right to create this new attribute, and the result would have been the same.

In addition, you could also have said, for example, “I want to store the photo of each product”, or in any other way using natural language.
The Web Layout is automatically updated, including the ProductPhoto attribute.
Press F5 and GeneXus will evaluate the impact caused by the new definitions in the Knowledge Base, and it will show the Impact Analysis Report.
In the report, you will see that the Product table must be updated.
The attributes of the Image data type create two attributes in the corresponding physical table to store the image information.
By clicking on the Reorganize button, GeneXus will create and execute the programs that will change the database. Then it will generate the programs required that correspond to the application itself.
After the reorganization, the Launchpad is displayed showing the generated objects.

Click on the Product Transaction to run it. Note that the new definition is included:

If you remember the stored product code you may enter it; another option is to select it from a list by clicking on the SELECT option. From there, you can retrieve the “STAR muscular pain medicine” and upload its photo:
