01-22-2014 05:47 AM
I'm trying (and failing) to leverage the expression builder functionality within EG 5.1 in a Custom Task but am having trouble implementing the "AddTable" method. It appears to take 2 arguments - ICanBeInputData id & bool columnonly.
Does anyone out there have any experiences of utilising the expression builder within a custom task that they could share?
01-22-2014 09:06 AM
The expression builder is not a documented, reusable component for custom tasks. The APIs that it uses are internal to SAS Enterprise Guide, and are subject to change with each release.
If you're interested in a component that can help with filter expressions, you can use the DataSelector control. That's part of the SAS.Tasks.Toolkit library that is documented for custom task use. You can find an example in my book about developing custom tasks (see Chapter 11). You can also see an example in this GitHub project.
01-22-2014 09:32 AM
Thanks Chris, I suspected you would be the person to point me in the right direction. I'll work through your example and hopefully it will provide me with what I require.