SIEBEL: How to Open PDF or any file from Server Script using Clib.system()

Approach 1: Opening PDF using the Browser, No need of installable of Acrobat Reader. Works on Windows Platform only because it is Server Script and executes on server.
Var sFilePath = “”;
var sCommand = “start iexplore.exe ” + sFilePath;

Approach 2: Opening PDF using Acrobat reader, without the Browser, Need of Acrobat Reader installation. Works on Windows Platform only.

Var sFilePath = “C:\PDF\DevDep.pdf”;
var sCommand = “start AcroRd32.exe /A” + “zoom=1000=OpenActions” + sFilePath;
var sCommand = “start AcroRd32.exe /A” + sFilePath;


Categories: Siebel

Tags: , , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: