09-21-2011 06:27 AM
I'm working on some custom EG 4.3 tasks which involve manipulating files in user's directory on the SAS workspace server. The problem is, I can't find a simple way to let user input a file location in the task using a dialog box/window. ISASTaskConsumer2.ShowInputDataSelector() method from the SAS.Shared.AddIns API shows SAS libraries and datasets only, while the 'Files' directory is unavailable. All the other similar methods also don't show this directory. Isn't there any way to get it?
One workaround I thought of is to deploy a web service on the server, which returns the directory listing, and call it from the task, but it adds a lot of complexity to a simple feature It feels like reinventing the wheel, so please help.