OpenApplication

Opens an application, and returns an HFMwSession object reference.

Tip:

Before calling OpenApplication, specify the user’s logon information with SetLogonInfoSSO.

Syntax

<HFMwManageApplications>.OpenApplication (bstrClusterName, bstrApplicationName)

Argument

Description

bstrClusterName

The name of the application server cluster on which the application is located.

Input argument. String subtype.

bstrApplicationName

The name of the application to open.

Input argument. String subtype.

Return Value

An HFMwSession object that represents the connection with the application.

You will use the returned HFMwSession object reference with most of the components documented in the Oracle Hyperion Financial Management, Fusion Edition Web Developer's Guide. Most of the components have a SetWebSession method that associates the component with the HFMwSession object for an application.

Example

The following subroutine logs a user on to an application with NTLM user information and sets an HFMwSession object reference. The subroutine takes the server cluster name, user information, and application name. The user information is passed to SetLogonInfoSSO, and then OpenApplication is called.

Sub SetAppSession(sDomain, sUser, sPassword, sCluster, _ 
   sApp)
Dim cHFMManageApps, sToken
Set cHFMManageApps = Server.CreateObject _ 
   ("Hyperion.HFMwManageApplications")
cHFMManageApps.SetLogonInfoSSO sDomain, sUser, sToken, sPassword
' Set the HFMwSession object reference
Set g_cHFMSession = cHFMManageApps.OpenApplication (sCluster, _ 
   sApp)
End Sub