Saturday, 7 January 2017

Clib function not supported after Siebel upgrade

After Siebel upgrade to 8.1.1.11 we found that Clib function is not working in our existing script. We were getting an error “Cannot access file system file”.

From Siebel Version 8.1.1.11, below Clib functions are by default disabled to make application more secured.

Clib.fopen()
Clib.rename()
Clib.remove()
Clib.mkdir()
Clib.rmdir()
Clib.system()

As a result we cannot read files from filesystem using above function.

You might end up with below error:
Access Denied: Cannot access file system file or shell

To avoid above error add/modify below system preference in Application.

Navigate to Administration - Application screen > System Preferences view

System Preference Name: Allow File System Access
Value: True


NOTE: Even with the System Preference these methods cannot be enabled in run-time Business Services (Client side Business Service) but will only function for Siebel Server Side Business Service, compiled in Siebel Tools.

No comments:

Post a Comment