06-07-2012 05:17 AM
Hi !
Currently writing custom step types based on sequences (my step type's default adapter is a sequence), I would like to set the "disable tracing" right in my step type definition.
The problem is that this option isn't visible in the 'Default Run Options" tab... The only way I found to do this is using Pre and Post Expression to set 'ThisContext.Tracing = True /False'.
But I don't like the fact to use Pre/Post Expressions in my step type (I would prefer to let it blank for end users).
Is there any way to achieve this without using Expressions ?
Solved! Go to Solution.
06-07-2012 08:22 AM
Hi zyl7,
In your custom step type, set the property TS.SData.Trace to "Off" (without the quotes).
Hope this helps.
-Jack
06-07-2012 09:10 AM
Hi Capt Jack !
I'd love to, but how do I do this from the step type defintion ?
06-07-2012 09:19 AM
In the Types definition for your custom step type, just click the '+' to open up the subproperties of that custom step type definition. You should then see the Root TS container, just follow the subproperty path to the Trace subproperty.
06-07-2012 09:23 AM
Here a printscreen on the properties available for my custom step... No TS container...
Am I missing something ?
06-07-2012 11:15 AM
Kinda; Open the Station Options, select the Preferences tab, and enable the 'Show Hidden Properties' option. The TS container will then magically appear!
-Jack
06-08-2012 03:28 AM
Works fine !
Thank you very much !