How to get doc prop data type using ironPython?

Hello there,

I am able to get the document property values. All I need is, document property data type. I tried using, Data type object/members but no luck.

Please advise to get doc prop data type.

from Spotfire.Dxp.Data import DataPropertyClass
from Spotfire.Dxp.Data import DataType

for d in Document.Data.Properties.GetProperties(DataPropertyClass.Document):
    if d.IsUserVisible: print d.Name


(1) Answer