The TaskExecutionContext type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateLibraryLink | Creates an URL link to the library (e.g. http://server/spotfire/library?guid=ec878f68-af67-4d2e-a014-a5d879ad5d03). | |
CreateWebPlayerLibraryLink | Creates a link to a Spotfire Web Player file for a given library file.
This requires the link to the Web Client server to be set in
Spotfire Administration manager. | |
DeleteLibraryFile | Delete the file from the library. | |
ExpandTags | Handles all the tags in a string and returns a string where the tags have been replaced with their values. | |
GetAnalyticsServerUri | Obsolete.
Returns the uri of the Spotfire Server using the ConnectivityService service
| |
GetPreference | Returns the string value for a given named preference. | |
LibraryPathToId | Finds the id of the Library analysis entry with the given path. | |
ValidateDeleteFileInPath | This function will validate if the job is allowed to delete a file at the given path.
The same validation as in ValidateLoadAndSavePath(String) is done. Enabling this validation and exception paths are configured using the section:Spotfire.Dxp.Automation.Framework/security/ in Spotfire.Dxp.Worker.Automation.config. This function will also check that the given file exist, that it is created and modified the last N minutes.Where N is configured in the above section in allowDeleteOfFilesModifiedLastMinutes. When executing jobs locally in Job Builder, this function will always succeed. | |
ValidateLoadAndSavePath | This function will validate if the job is allowed to load a file from or save a file to the given path.
Enabling this validation and exception paths are configured using the section: Spotfire.Dxp.Automation.Framework/security/ in Spotfire.Dxp.Worker.Automation.config.When executing jobs locally in Job Builder, this function will always succeed. |
See Also