Focal Point
[SOLVED] SET OPSYSCMD=OFF - Toggle value for "Public" domain only

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7857010496

July 27, 2020, 11:56 AM
vaayu
[SOLVED] SET OPSYSCMD=OFF - Toggle value for "Public" domain only
Hello
We have an interesting requirement to enable the OPSYSCMD only for Public domain, its set to OFF at the domain or server profile and we do not want to enable it at the user profile or if we can limit it only one domain "Public" which is mostly read-only so the users can't write anything damaging. Please let me know what your thoughts are on this.

Thank you!
-Pawan

This message has been edited. Last edited by: vaayu,


-********************
Sandbox: 8206.10
Dev: 8201M
Prod:8009
-********************
July 27, 2020, 03:50 PM
FP Mod Chuck
Vaayu

You can set up a site profile fex with the following code.

-IF &IBIMR_domain NE 'Public/' THEN GOTO NOCHANGE;
SET OPSYSCMD=OFF
-NOCHANGE


You will have to add this code to the custom settings of the client administration console to make sure that the &IBIMR_domain value is passed to be processed.

<SET> IBIMR_domain (PASS)


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
July 27, 2020, 09:50 PM
Doug
Good One Chuck!
July 28, 2020, 10:02 AM
vaayu
Thank you Chuck, let me try that!


-********************
Sandbox: 8206.10
Dev: 8201M
Prod:8009
-********************
July 29, 2020, 11:38 AM
vaayu
That worked great!! ALso learned that once you set this OPSYSCMD=OFF there is NO WAY to set it back ON, so we had to do this conditional SET.

Thank you again!! Smiler


-********************
Sandbox: 8206.10
Dev: 8201M
Prod:8009
-********************