IBM Support

RequisitePro Extensibility Interface (RPX): OpenProject Method (IReqProGUIApp Object)

Question & Answer


Question

Are there updates to the IBM Rational RequisitePro documentation for the OpenProject method?

Answer

The following is the updated documentation for this method:

--------------------------------------------------------------------------------------------------------------------


OpenProject Method (IReqProGUIApp Object)

Description

Opens a RequisitePro project and returns a TRUE value for a success operation. If another project is already open, the method will return a FALSE value and the callback will have an error message like this: "Failed to open project : A project is already open."


Syntax

IReqProGUIApp.OpenProject(projectPath As String, optionType As Long, userID As String, pwd As String, projectFlags As Long, callback As Object) As Boolean
The OpenProject method has the following named arguments:

Argument Description
projectPath A string that identifies a project path and name.
optionType An enumOpenProjectOptions enumerator that specifies the type of value in the projectPath. (Currently this method is ignored, except to simply check for any integer with this argument.)
userID A string that identifies the user’s project logon name.
pwd A string that supplies the user’s project logon password.
projectFlags An enumProjectFlags enumerator that specifies various project open flags.
callback The callback object. The callback returns the project object.


Remarks

Specification of external connections is not supported with this method.
The IReqProGUIApp object and its methods are available in the rqguiapp.tlb type library, which is included in the bin directory in your Rational RequisitePro installation. The default location is
C:\Program Files\IBM\RationalSDLC\RequisitePro\bin\rqguiapp.tlb

--------------------------------------------------------------------------------------------------------------------

[{"Product":{"code":"SSSHCT","label":"Rational RequisitePro"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"RequisitePro Extensibility (RPX)","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.1.1.6;7.1.1.7;7.1.2.3;7.1.2.4","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Product Synonym

ReqPro;ReqWeb;RequisiteWeb

Document Information

Modified date:
16 June 2018

UID

swg21509499