BookmarkSubscribeRSS Feed
ChrisHemedinger
Community Manager
Greetings,

I find that many EG users aren't aware of what you can do with custom tasks. (See http://support.sas.com/eguide for links to explanation and examples.)

Have you extended SAS Enterprise Guide by creating or using custom add-in tasks? If so, what business problem were you able to solve?

Chris
It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
9 REPLIES 9
AlanC
Barite | Level 11
When will EG support .NET 2.0 for custom tasks?
https://github.com/savian-net
ChrisHemedinger
Community Manager
EG 3.0 and the forthcoming version, EG 4.1, are both built/tested using .NET 1.1. (.NET 2.0 only recently became available in production, too late for SAS to consider switching framework versions...)

That means that the .NET 1.1 runtime is used in process when running EG, and that pretty much restricts custom add-in tasks to .NET 1.1 for now.

Now, I know that folks on the cutting edge will want to use .NET 2.0 to build their custom tasks -- it's the latest and greatest technology and there are some great capabilities in it. It is possible to tweak the EG configuration to run with the .NET 2.0 runtime; however, this configuration has not been tested as extensively as the default .NET 1.1 environment and cannot be officially supported at this time.

In the next few weeks we hope to have a statement about what you can do here, how it's supported, and perhaps an example or two.

Chris
It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
AlanC
Barite | Level 11
Chris,

It's Alan Churchill. I am now independent

.NET 2.0 is a huge release. I know that there are some risks here with using 2.0 based upon testing, etc. but the advantages are great (generics, nullable types, VS2005). We use generics a lot as well as nullable types.

Any examples you can provide for supporting 2.0 would be great.

We would like to port some of our SAS add-ins to EG but we use 2.0 too much. It cuts our coding time down by 25% at least. We do 1.1 as well but I can tell a massive productivity hit whenever we sign up for a 1.1 task. That is mainly due to the editor, BTW. Generics are great but if we need to box/unbox we will.

-Alan
https://github.com/savian-net
ChrisHemedinger
Community Manager
Alan, and others,

Microsoft is providing a tool that allows you to take your Visual Studio 2005 projects and target the .NET 1.1 framework. Here is a link to the tool:

http://msdn.microsoft.com/vstudio/downloads/tools/msbee/default.aspx

This allows you to take advantage of extra productivity features in the VS2005 IDE, but still build custom tasks that use .NET 1.1 (necessary for EG 3.0 and 4.1 support).

There are some caveats: you won't be able to use some of the .NET 2.0 features. That includes partial classes, which are automatically employed by the VS2005 forms designer.

We plan to do some in-house testing of this process and then provide a more detailed write-up of how this might work. However, I didn't want to wait until that's complete before sharing this information with you, in case it might help you immediately.

Chris
It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
deleted_user
Not applicable
Hi Chris and others!
I gave a presentation on "customized analyses with SAS Enterprise Guide" (in Finnish) at SAS Forum Finland in February. I compared three alternatives to do custom analytics with EG: macros, stored processes and add-ins. My example add-in was a statistical analysis task that uses the new ods graphics of LIFETEST and the class statement of TPHREG.

Many listeners were interested in the possibilities that I tried to demonstrate, and we could agree that a libname generator would have been a useful simple add-in...

I intend to deploy some advanced statistical analytics in an easy-to-use EG look and feel for customers who have specific business needs that can be addressed with specific analytics. One such case is currently under development and I look forward for many more. The potential is huge (as it allways is with SAS), and the process of building an add-in is quite easy with for example Visual Studio .NET.

Looking forward for the 4.1 release,
Jouni
ChrisHemedinger
Community Manager
Jouni,

Sounds like a great presentation! When I present on this topic, I make a similar distinction among the options for custom analyses: from simple (code and macros) to more advanced (stored processes) to the very sophisticated (custom tasks). It all depends on the audience and need.

You'll be happy to know that in EG 4.1 there is an Assign Library tool, which generates LIBNAME statement code for you.

Chris
It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
AlanC
Barite | Level 11
Chris,

Good link. Thanks for this information, just wish I had it sooner. VS2005, IMO, shaves 25% off of development time alone so being able to use it for 1.1 cding is a godsend.

Alan
https://github.com/savian-net
PhilC
Rhodochrosite | Level 12

@ChrisHemedinger 

Do you know if there are there organized.maintained collections or lists of EG add-ins and/or scripts?  …scripts such as the VBA, etc, scripts are in your GitHub account...  

AlanC
Barite | Level 11

personally, i would never use VBA for anything: there are better ways.

 

My own SAS/C#/PowerShell solutions are on github under https://github.com/savian-net

 

None of my EG add-ins are there at this time since it has not been checked against the latest EG. That said, it can help guide you in today's world since all of my code is written using .NET Core. 

 

Chris has loads of examples out there as well as a very good book on it: https://www.amazon.com/Custom-Tasks-Enterprise-Guide-Microsoft-ebook/dp/B00AWSMT9K/ref=sr_1_1?crid=3...

 

 

https://github.com/savian-net

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 9 replies
  • 2674 views
  • 0 likes
  • 4 in conversation