HippyCraig
10-06-2009, 12:14 PM
I created a custom action that calls a .net DLL. I want to pass in a name of a Macro and what type it is. I created two properties one for the MacroName and the other for the MacroType.
The MacroType Property is a Radio Button with a List Data = "Temporary; Project; Global". I can pass in the value to my action only if its not the first option. If Project or Global is selected a value of 1 or 2 is passed in. If Temporary is selected a null value is passed in.
I checked the build script if I select the first value "Temporary" then nothing is stored in the script file. This occurs even if I make the defualt value for that property a value of 2. It still doenst conatin any data in the DLL or the script file.
I would have expected a value of 0 (zero) to be passed in. Am I doing something wrong?
The MacroType Property is a Radio Button with a List Data = "Temporary; Project; Global". I can pass in the value to my action only if its not the first option. If Project or Global is selected a value of 1 or 2 is passed in. If Temporary is selected a null value is passed in.
I checked the build script if I select the first value "Temporary" then nothing is stored in the script file. This occurs even if I make the defualt value for that property a value of 2. It still doenst conatin any data in the DLL or the script file.
I would have expected a value of 0 (zero) to be passed in. Am I doing something wrong?