GeneXus X Deprecated Functions

Unofficial Content

Deprecated Functions are all those functions, methods or rules that despite still work in the current version, won't be supported in the future versions. In that way is advisable to substitute it to the new way.

Deprecated Functions in GeneXus X:

  • Allownulls()
  • DeleteFile()
  • Hidden()
  • Nocheck() - Noread()
  • Udf()
  • Xmlend()
  • Xmlraw()
  • Xmlstart()
  • UseAutomation()

Allownulls()

This function is considered deprecated despite it can still be used when the Nullable Attribute property is set as "Compatible".

It is advisable to change the Nullable property as "Yes" or "No" and delete the rule. Probably in this case the expected value is "Yes".

DeleteFile()

This function is no longer supported as from GeneXus X. Please, use the Delete method of .

For example:

&File.Source = "file name"

&File.Delete()

Hidden()

Rule no longer generated. Add the attributes into the Grid with the Visible property in False. For FreeStyle Grids, the property must be set by code (Attribute.Visible = 0)

Nocheck() - Noread()

Usually, in knowledge bases coming from previous versions of GeneXus you can see the use of nocheck/noread rules in objects. In many of these cases, they were defined as a result of not having the suitable subtype groups available. This situation should be reviewed and corrected.

Udf()

Deprecated since GeneXus 9.0. You may substitute its definition using UDP.

UseAutomation()

This ExcelDocument data type method was aimed to determine how ExcelDocument should be created. As of GeneXus X, this behavior is determined automatically from the implementation installed. If there exists more than one option installed in the same enviroment, they will be considered in this order:

  1. POI  (java http://poi.apache.org/download.html, C# http://sourceforge.net/projects/jbyjsharp/files/Jakarta%20POI/Jakarta%20POI%202.5.1-3/) 
  2. ExcelLite
  3. GXOffice