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.
SASServer1deploy_sassas.portal4.3.earsas.portal.warscriptssas_Common.js
SASServer1deploy_sassas.storedprocess9.2.earsas.storedprocess.warscriptssas_Common.js
Just remember, with anything requiring a redeployment of the web applications, this change will need to be reincarnated.
5 Comments
i found the following comment line in sas_Common.js:
// We still have ctrl right click for the browser context menu.
did you know that actually works!?
Pingback: Stored Processes – bypassing double authentication - Real BI for Real Users
I've heard that too, but in those cases companies usually disable the right mouse button in Windows all together.Quite a challenge to get it back in the Portal though...
I have heard that there were concerns from some organizations that the right click functionality was a security risk (???). ~ A
Thanks Angela, you have a solution for everything! :)Why on earth did SAS decide to disable the right mouse button in these applications??Thanks,Bart