Customer Banners (Ads) - SpiceUp. AX and SpotfireX Disclaimer



If you find this site useful and you want to support, buy me a coffee   to keep this site alive and without ads.

Get Scripts

for s in Document.ScriptManager.GetScripts():
print "Script Name: \t"+s.Name
print "Description: \t"+s.Description
print "Parameters:"
for p in s.Parameters: print "\t\t"+p.Name
print "_"*50

2 comments:

Jose Leviaguirre said...

Hello Alex,

The script manager API is very powerful and it has new features on Spotfire 12. You can now create JavaScripts using IronPython and add them, for example, to all text areas. With a bit more programming, you can interface through a repository like GitHub. Checkout this article: https://community.tibco.com/s/article/Introducing-the-Spotfire-Script-Management-APIs

I also use this API to clean unused scripts to clear clutter

Alex said...

Thank you, Jose. That's exactly where I was going too - to be able to pull code from a BitBucket repo in production mode. I'll play around with the script manager API.