Access an option set field in a plugin script

Hi,

I am passing an object of a custom data type to a plugin and am struggling to access the properties of an option set field on that datatype from my script. Any suggestions?

D.

Can you provide more details…

You need to create an API object then use that as the data type in your plugin. The only way.