You can test the extension that you have developed in web
clients.
About this task
Perform this task
using
Spotfire Package Builder,
using Visual Studio, and in the web interface on the
Spotfire Server
that you plan to use with the extension.
Before you begin
- You must have
administration access to
Spotfire Server.
- You must have completed
all tasks under
Extending the Spotfire installation.
- Your extension must have
the
intended client set to
"Web". See
Spotfire Package Builder concepts for more
information about intended clients.
- The
Spotfire
node manager must be installed locally.
- The Web Player service
must be added on the local node manager. See
Spotfire® Server and Environment Installation
and Administration for more information.
- The
Spotfire Web Player
package must be deployed on the server for debugging. It is delivered as part
of the client package
.sdn files
Spotfire.Dxp.sdn or
Spotfire.Dxp.netcore-linux.sdn.
Procedure
-
In the
Spotfire Server
web administration pages, from
Deployments & Packages, deploy the
extension.
-
In the
Spotfire Server,
from
Nodes & Services, stop the service
instance.
-
In Visual Studio, add a post-build event to replace the assembly
that the node manager has installed in the Web Player installation folder.
/// Example
copy /y
"$(TargetDir)$(TargetFileName)
"C:\spotfire\nodemanager\14.6.4\nm\services\WebWorker-56.0.17105.7178-00f42fd0-6b3d-48ae-bb55-f24140430e3f
\Modules\MyExampleExtension_1.0"
-
In Visual Studio, attach a debugger by calling
System.Diagnostics.Debugger.Launch() External link in your code.
-
In Visual Studio, rebuild the project.
-
In
Spotfire Server,
from
Nodes & Services, start the service
instance to load the new assemblies.