Desktop productivity for business analysts and programmers

SAS Enterprise Guide 7.1 -file navigation from a specific location

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 13
Accepted Solution

SAS Enterprise Guide 7.1 -file navigation from a specific location

Good afternoon folks.

We have migrated all our EG projects on to sas 9.4 Grid, on REHL (santiago) - provious setup was SAS EG 5.1 Windows.

All our projects were migrated successfully, however the users are feeling a little lost due to the fact that we no longer have the windows navigation capabilities. IT have setup SAMBA shares for us, which work but are speed and network issues at the moment.

 

As a work around if needs be our users can use the "Files" navigation tree under the Library icon from the Server Tree.

 

Users have to navigate the entire linux tree from root to get to their files, and i was wondering if there is a way to change where this opens as default? in SMC9.4 maybe?

 

see attachement

 

 


FilesNavigationEG.gif.gif

Accepted Solutions
Solution
‎02-15-2017 10:58 AM
Super User
Posts: 7,403

Re: SAS Enterprise Guide 7.1 -file navigation from a specific location

Yes, this can be done in the SMC.

Open Server Manager, then your Application Server (SASApp), then SASApp - Logical Workspace Server.

Within that, right-click SASApp - Workspace Server, and select Properties

Select the Options tab, and there Advanced Options.

You get a multi-layered. multi-tabbed subwindow; select File Navigation, and there you have an option to set your starting path explicitly.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers

View solution in original post


All Replies
Solution
‎02-15-2017 10:58 AM
Super User
Posts: 7,403

Re: SAS Enterprise Guide 7.1 -file navigation from a specific location

Yes, this can be done in the SMC.

Open Server Manager, then your Application Server (SASApp), then SASApp - Logical Workspace Server.

Within that, right-click SASApp - Workspace Server, and select Properties

Select the Options tab, and there Advanced Options.

You get a multi-layered. multi-tabbed subwindow; select File Navigation, and there you have an option to set your starting path explicitly.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Occasional Contributor
Posts: 13

Re: SAS Enterprise Guide 7.1 -file navigation from a specific location

GREAT!

 

this works great - thanks again

Occasional Contributor
Posts: 6

Re: SAS Enterprise Guide 7.1 -file navigation from a specific location

Hi Kurt,

 

It only answers part of the intent. The users will have access to ALL the folder structure.

 

What if would like to give access to specfic folders only per user?

 

 

 

 

 

Yvan

Super User
Posts: 7,403

Re: SAS Enterprise Guide 7.1 -file navigation from a specific location


RexDeus9 wrote:

Hi Kurt,

 

It only answers part of the intent. The users will have access to ALL the folder structure.

 

What if would like to give access to specfic folders only per user?

 

 

 

 

 

Yvan


That's not possible. I tried several methods (using user-specific environment variables like $HOME or $USER in the path) that did not work.

This might be a useful extension for a future SAS version, but I fear it would require a change in workspace server metadata that would break backward compatibility with current clients.

Or an option to override the navigation path from WorkspaceServer_usermods.sh or sasv9_usermods.cfg in the WorkspaceServer directory.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Occasional Contributor
Posts: 6

Re: SAS Enterprise Guide 7.1 -file navigation from a specific location

Kurt,

 

I agree, it would be a nice improvement.

SAS Employee
Posts: 4

Re: SAS Enterprise Guide 7.1 -file navigation from a specific location

There are a couple of approaches that I think will accomplish what you need.

 

The first is to change the value in the Server Navigation settings, as someone described above, except set the value to be User Root. That will cause every user's navigation to start at their Unix home folder.

 

Another option is to specify Path as the option, and for the path, enter ~ or a path expression including ~, for example:  ~/SAS Files if every user has a SAS Files directory that they should use for SAS items. You should also be able to substitute Unix environment variables that are defined on the server, such as $HOME.

 

Another option is to specify some special keywords in the path specification instead of ~.  These are of limited value when running against Unix. Values EG will substitute are:

<personal> - the user's personal folder on the client's windows operating system.

<userid> - the current window's user name on the client

<username> - the display name for the current window's user on the client

 

One limitation of all of these options is that they all are setting the Root location for each user. That means the user cannot access any folders that are not decendents of the specified folder.  So if a drive is mounted with sas files at \sas, the users cannot get to it if their root is set to something that is not a parent of \sas. The only workaround I can think of for that case is to define symbolic links in each user's home directory that point to the shared resource. Then the workspace session should be able to access it via the link as long as the user has permissions to access the resource.

 

Hope one of these helps your situation.

 

Mark Allemang

SAS Institute Inc

 

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 6 replies
  • 516 views
  • 4 likes
  • 4 in conversation