O'Reilly logo

Custom Tasks for SAS Enterprise Guide Using Microsoft .NET by Chris Hemedinger

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Saving User Selections

As you have seen in the other chapters, storing user selections is an important part of creating a useful task. The task lifecycle (described in Chapter 4, “Meet the Custom Task APIs”) relies on these saved settings when it comes time to generate a SAS program and repopulate the user interface.

Like many of the other examples, this task example relies on a settings class in .NET programming to save the values of the user selections in an XML format.

The task in this chapter is a simple task with just a few user selections to remember:

  • the measure variable
  • the grouping variables
  • the output data set name
  • the name of the column for totals

Because this task supports a task-specific filter, you also need to remember the filter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required