Deploy custom extension on client without having to deploy on server.

As a developer you want to test your custom extensions without having to mess the server on your client. Perhaps you already debug your extension and it is almost ready for production. However, there is no dev server and you can only rely on your client or some other coworker to test your plugin before a production release. 

Another case is that you have the plugin, but but your administrator does not allow deployments on your server.

It is still possible to deploy your custom built extensions if you are using the standalone Spotfire Desktop client, but it will be a manual process.

These are the steps to follow:

1. Since all modules are loaded into the client by the configuration file, that is the file that you will need to edit. So, find the "Spotfire.Dxp.exe.config" file in the Spotfire Desktop installation root folder.

2. Edit the "Spotfire.Dxp.exe.config" file in a text editor, and find the element tag named 'modules'.

3. Add a new 'folder path' element (underneath the 'modules' tag element) that points to your custom extension build folder. Leave the previously existing 'folder path' element unchanged. For example:

------------
  ...
  <Spotfire.Dxp>
    <modules>
        <folder path="C:\TIBCO\Spotfire Desktop\X.X.X\Modules" />
<folder path="C:\Spotfire_SDK\Spotfire_Projects\CreateVisualTool\CreateVisualTool\bin\Debug" />
    </modules>
    <arguments>
        <argument name="loadAllModules" />
 ...
    </arguments>
  </Spotfire.Dxp>
  ...
------------

4. Ensure that the argument "loadAllModules" is present, as well as the 'arguments' parent (<arguments> ... </arguments>). If it is not found, add it as in the example above.

Reference: Tibco Support Central article #43218

No comments: