Jump to content
We've recently updated our Privacy Statement, available here. ×

How would you write an IronPython Script to get current selection in a list box filter to be able to access and modified by a button property?

Andrew Pham 2

Recommended Posts

I have a multi select list box filter with column values from a table and I want to be able to create a button so when you click it, the button will do mathematical calculations for the columns selected ( ex: calculated average values of the columns) and output it into a new table. The problem i have right now is having the button read the current column selection.

Link to comment
Share on other sites

Hello Andrew,

You can read and write a string list document property because this is the type of data the multi select document property control handles

This code updates the my StringList with a,b and c values.

Document.Properties["myStringList"] ="a,b,c".split(",")

Similarly you can read the values using the same approach

Here is more info:


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...