Opens an application, and returns an HFMwSession object reference.
Before calling OpenApplication, specify the user’s logon information with SetLogonInfoSSO. |
<HFMwManageApplications>.OpenApplication (bstrClusterName, bstrApplicationName)
The name of the application server cluster on which the application is located. | |
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.
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