Follow the steps below:
Automatic Installation
-
Run GeneXus and find the user control you want in the Start Page in the User Controls Group
-
Click install
-
GeneXus will ask you wether you want to install the control, click YES
-
GeneXus will ask you wether it can restart, click YES
-
Check that the toolbox has added the new option under the User Controls section.
-
Enjoy!
Manual installation
-
Download the control from GeneXus Marketplace.
-
Unzip files
-
Copy the directory under the UserControls directory in the GeneXus installation.
-
Execute GeneXus with the /install parameter. For example: <GX_Installation_Path>\GeneXus.exe /install
-
Check that the toolbox has added the new option under the User Controls section.
-
Enjoy!
How are the UCs copied to the application directory?
UCs are installed in the GX installation directory (i.e. UserControls\UserControlName) and all the UCs being used by an application are automatically copied from the GeneXus Installation directory to the application directory (e.g. CSharpModel\Web\UserControlName).
Note: This copy is done during the build process.Once each User Control being used is copied, a file named “UserControlName.versionId.ver” is created in the application directory (e.g. CSharpModel\Web) in order to avoid copying the UCs again.
When providing UCs, it is advisable to include the tag “<Version>Number</Version>” in the UserControlName.control file. If this recommendation is followed, the newer version of the user control is copied to the application directory once the UC installation process is complete (i.e. “genexus.exe /install” execution) and building the application.
How to update a User Control?
What happen when you download or receive a new version of an User Control?
Follow the steps below :
-
Close GeneXus if it is open.
-
Replace the files of the User Control which have been updated in the User Control folder under GeneXus installation path.
-
Execute GeneXus with the /install parameter. For example: <GX_Installation_Path>\GeneXus.exe /install
-
Check that the toolbox has added the new option under the User Controls section.
-
Enjoy!
How to delete a User Control?
Similar steps need to be followed to delete a User Control from your GeneXus installation
-
Close GeneXus if it is open.
-
Delete (or move) the User Control folder under GeneXus installation path.
-
Execute GeneXus with the /install parameter. For example: <GX_Installation_Path>\GeneXus.exe /install
-
Check that the User Controls is not present in the toolbox.
Are User Controls correctly installed?
|