Deploy Your Plug-in
Smartpoint plug-ins can be deployed in two ways:
-
Directly onto an agency desktop via a jump drive, installation disk, or agency server.
- Through Travelport Marketplace.
How Smartpoint loads plug-ins
XML files are used to specify the directory location(s) of the plug-ins that are to be loaded when Smartpoint starts. These XML files are formatted as follows:
<?xml version="1.0" encoding="utf-8" ?>
<root>
<folder relative="true">your folder location</folder>
</root>
If using an absolute path, the relative attribute should be changed to false.
No matter which method (i.e., directly or via Marketplace) is used to deploy Smartpoint plug-in, the plug-ins are integrated into Smartpoint in the same way.
-
Smartpoint reads the plug-in Locations folder.
- For Smartpoint 7.2 and later, if Marketplace is enabled, plug-ins are read from AppData\Roaming\Travelport\Smartpoint\Core\PluginLocations.
- For Smartpoint 7.1 and earlier or for Smartpoint 7.2 when Marketplace is disabled, plug-ins are read from C:\Program Files (x86)\Travelport\Smartpoint\pluginLocations.
-
From this folder, Smartpoint picks up every .XML file with the appropriate format (as indicated above) and loads all .DLLs and .EXEs that are referenced.
The default.xml file contains the following:
<folder relative="true">.</folder>
This location refers to the default Smartpoint folder.
Note: Third parties should not put plug-ins in the program files folder for Smartpoint.
Plug-in load order
Smartpoint loads plug-ins in a sequence determined by the number that is part of the DLL file name. Smartpoint plug-ins must begin with a 4-digit number, a period, then a 2-digit number. DLLs are loaded in numerical order beginning with 0000.00, followed by the next available number. If two numbers are the same, the rest of the file name is used to determine plug-in load order (using standard alphabetical ordering).
For example, if the Smartpoint plug-in folder contains the files 0055.00.SwitchableAccess.dll, 0050.00.SecondaryCrypticLanguage.dll, and 0055.00.InfobotCleaner.dll, they would load in the following order:
0050.00.SecondaryCrypticLanguage.dll
0055.00.InfobotCleaner.dll
0055.00.SwitchableAccess.dll
Excluding plug-ins
Smartpoint provides a plug-inLoadExclusion file, which specifies which plug-ins should not be loaded when Smartpoint starts.
<?xml version="1.0" encoding="utf-8" ?>
<plug-inLoadExclussion>
<!-- Add here the list of plug-ins that you don't want to load up automatically. -->
<plug-in Name="fake_example.dll" Description="This plug-in will not be loaded up. "/>
<plug-in Name="0010.00.AutomaticUpdate.dll" Description="Doesn't work so disabling it.">Test</plug-in>
</plug-inLoadExclussion>