Command Line Parameters When Launching Browser View

Open Plan supplies these parameters on the command line when launching the browser view.

The table below provides information on these parameters.

Parameter Description
%P The currently selected project (View or Open Plan Explorer).
%S The currently selected project in Open Plan Explorer.
%A The currently selected Activity ID.
%R The currently selected Resource file (View or Open Plan Explorer).
%r The currently selected resource.
%b The currently selected code.
%B# Passes the name of the code file in position # in the active open project.
%C The currently selected calendar name (View or Open Plan Explorer).
%c The currently selected calendar.
%M Allow multiple instances of the selected tool.
%U The currently logged in user’s ID.
%W The encrypted password for the current user.
%V The current view.
%E Launch the file/link in an external Internet browser window.
%I Allows Internet browser to open within an Open Plan window. If the %I is specified, Open Plan formats the other parameters as a URL query string (for example, %P and %A will be passed as ?P=ProjectName&A=ActivityId)

If data-specific parameters are used, Open Plan reloads the page that was initially loaded in the internal window with an updated query string each time the selected value (project, activity ID, resource, and so on) changes.

%T When %I is used, tiles the internal browser window.
%D Launches the file/link in a dockable internal browser.
%X Maximizes an internal browser window.

If the %I, %D, or %E argument is used, Open Plan attempts to execute the command line using a browser object or application, respectively. In this situation, you may specify a data file to be launched (in conjunction with an application) or a URL. If the executable must be specified in the command line, omit the %I (for example, Wordpad.exe MyNotes.txt). In this case, the executable is launched within its own (external) window. If the document type is associated on your computer with an application, an internal browser view may be created using the syntax <Document_Name> %I (for example, MyNotes.txt). Remember, if you use either the %I or %E parameters, you need to specify the document to be launched, rather than the application that will launch it. In addition, if a Visual Basic application is launched, you should not use any of the Internet-specific parameters because Open Plan will "canonicalize" the command-line (that is, question marks will be inserted before the arguments). Since VB applications do not understand "canonicalized" arguments, they will fail.

Windows-type shortcuts must be brought up externally if the command line references an application. The shortcuts may be brought up internally if they reference a document whose associated launch application is known to the system.

Internet links may be brought up as either internal (the Internet browser is contained within an Open Plan window) or external (the browser itself is launched as a separate application) browser views.

Note: The custom WebWindows that are shipped with Open Plan as part of the Add-Ins tab can easily be added as browser views.
Attention: For command line and argument parameter information for each WebWindow, see "The Open Plan Configuration Files" in the Deltek Open Plan Developer's Guide.