Right Mouse Clicking in Stored Process and Portal Web Apps

This post was kindly contributed by real business intelligence for real users - go there to comment and to read the full post.

In 9.2, the right-mouse click functionality is not available by default. To switch back to this (which for STP developers in a DEV environment is essential to our productivity), SAS has provided the following note:
http://support.sas.com/kb/39/292.html

As you can see, out-of-the-box, all SAS STP developers will need to do is add the &_action=tree option to the URL, such as:
     http://your-server:8080/SASStoredProcess/do?_action=tree

Then you can right-click to your hearts content.

However, the same functionality is disabled in the SAS Portal. And some use this to create content (applications) to bypass authentication. So using the second option in the support note 39292, I went ahead and modified sas_Common.js in both the Stored Process and Portal web apps. The very last line in this js fine just needs to be commented out.

SASServer1\deploy_sas\sas.portal4.3.ear\sas.portal.war\scripts\sas_Common.js
SASServer1\deploy_sas\sas.storedprocess9.2.ear\sas.storedprocess.war\scripts\sas_Common.js

Just remember, with anything requiring a redeployment of the web applications, this change will need to be reincarnated.

This post was kindly contributed by real business intelligence for real users - go there to comment and to read the full post.