Example Macro to execute a workspace

Example Macro to execute a workspace

book

Article ID: KB0077879

calendar_today

Updated On:

Products Versions
Spotfire Statistica 12 and later versions

Description

This article has an example SVB code that will execute a workspace.

PREREQUISITES: 
1. A working workspace 
2. Location of Workspace (either deployed to Enterprise or in disk) Reference : How to locate System view path of a workspace in Statistica Enterprise Manager

NOTE: No precautions are necessary prior to running the macro. The macro simply executes an existing workspace, if it finds the workspace in the path specified.

Issue/Introduction

This article contains an example script that will run a workspace

Resolution

1. Save the script attached to this article
2. Open the script and paste the location of the workspace (disk location if it is not deployed to Enterprise or System view location, if the workspace is deployed to Enterprise)

     User-added image
3. Run the macro. 


 

Attachments

Example Macro to execute a workspace get_app