Jump to content

Document Properties - Properties tab - how to retrieve information : Property Name/Value/Script using a Script

Gilles Hauck

Recommended Posts


my question is in the header....I"ve found the way to retrieve Property Name / Value....but impossible to find a property or a method to retrieve the script name (if there is one).

Below my script :

from Spotfire.Dxp.Data import *

prop = Document.Data.Properties

for p in prop.GetProperties(DataPropertyClass.Document):

print "Property Name: ", p.Name, ">>>",

"Value: ",p.Value , ">>>",

"Script name: " #wish the script name displayed there if one is associated to the property

Thank you

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...