Access an option set field in a plugin script


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?


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.