iVend Retail Add-on Version Control
This knowledge base article explains about the iVend Retail Add-on version control. You will learn about how and when a version upgrade is required.
Overview
The iVend Retail Add-on version upgrade is a process in which a developer will need to upgrade the iVend Retail Add-on version. Navigate to: Administration > IT Administration > AddOn Manager. You can see the add-on version information in the Management Console.
There are many reasons for maintaining the iVend Retail Add-on version. The following demonstrates are a couple of examples where an iVend Retail Add-on version requires to be upgraded:
- The iVend Retail applications (iVend Management Console and iVend Retail Point of Sale) are upgraded.
- There are made in the Add-on code itself due to new business features, rules and logic.
Purpose
The purpose of iVend Retail Add-on version control is to make sure that it is compatible with the iVend Management Console and the iVend Retail Point of Sale, ensuring that the Add-on and host application are all working in harmony.
Upgrading iVend Retail Add-on Version
Developers can customize the existing Add-on, which includes changing version information, customizing code according to the new business requirements, and incorporating any other changes that may be required. To upgrade an iVend Retail Add-on version:
1. Open the existing project “SampleAddonForPO”.
2. Open the class file containing the Add-on version information.
3. Change the value in the Version property.
4. Ensure that you put the value in as an increased value.
For example, if the existing version of an Add-on is 1.0.0.0 then the upgrade version must be at least 1.0.0.1.
5. Now change the Add-on according to your requirements.
Code snippet for changing the iVend Retail Add-on Version
Existing Add-On Version
public override Version VersionInfo
{
get
{
System.Version MyVersion = new Version("1.0.0.0");
return MyVersion;
}
}
Changed Add-on Version
public override Version VersionInfo
{
get
{
System.Version MyVersion = new Version("1.0.0.1");
return MyVersion;
}
}