Official Content

Specifies the name of the JavaScript export to be instantiated to access the desired functionality within the imported module.


Objects: External Object
Generators: .NET, .NET Framework, Angular, Java


The Javascript Module Name property is found at the level of External objects of Native Object type and is part of the Javascript Module Information section.


When a module imports a class or function that needs to be instantiated for its use, the Javascript Module Name property becomes an essential element. It allows defining the name of the class or function that acts as an access point to use the functionalities provided by the external module.

If the external library exports a set of static functions, it is not necessary to define this property. In this case, the imported functions are directly accessed as methods of the External object without the need to instantiate a particular class.

Runtime/Design time

This property applies only at design time.


Suppose you want to implement an external library called GeneXusClientSocket in your Knowledge Base. In this case, you must configure the Javascript Module Name property as shown in the image:


In the example, GeneXusClientSocket would be the name of the class that you would instantiate to access the specific socket manipulation functions.

How to apply changes

No action is required to apply the corresponding changes when the property value is configured.


This property is available since GeneXus 18 Upgrade 7.

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