import Spotfire.Dxp.Data.DataTable
from Spotfire.Dxp.Data import *
from Spotfire.Dxp.Data import DataValueCursor
dataTable = Document.ActiveDataTableReference
rows = Document.ActiveFilteringSelectionReference.GetSelection(dataTable).AsIndexSet()
for row in rows:
for column in dataTable.Columns:
if (column.Name == 'Analysis_Jobs_ID'):
Document.Properties.Item["Jobid"]=(column.RowValues.GetFormattedValue(row))
----------------------------
Jobid is a parameter
from Spotfire.Dxp.Data import *
from Spotfire.Dxp.Data import DataValueCursor
dataTable = Document.ActiveDataTableReference
rows = Document.ActiveFilteringSelectionReference.GetSelection(dataTable).AsIndexSet()
for row in rows:
for column in dataTable.Columns:
if (column.Name == 'Analysis_Jobs_ID'):
Document.Properties.Item["Jobid"]=(column.RowValues.GetFormattedValue(row))
----------------------------
Jobid is a parameter