A command-line interface for Hyperion Financial Management
HFMCmd is a command-line tool for performing or automating operations in Oracle Hyperion Financial Management (HFM). It provides a command-line interface for performing a wide range of repetitive and/or bulk operations on an HFM application in a simple manner, and facilitates lights out automation of HFM.
HFMCmd uses the published HFM API to perform operations against an HFM application, but it provides more than just a thin wrapper over the HFM API:
In this manner, bulk operations can be performed quickly and easily on large numbers of scenarios, entities, etc.
The available commands are continuously being added to, but already there are commands available for performing most operations associated with:
To see a complete list of available commands, run:
HFMCmd Help Commands
To get detailed help for a specific command, use:
HFMCmd Help <CommandName>
HFMCmd supports 2 different builds, one for .NET 3.5 and one for .NET 4.0. Functionally, the two builds are identical; however, the .NET 3.5 builds only support early binding, which means they must be compiled for a specific version of HFM. The .NET 4.0 build, on the other hand, utilises the new dynamic functionality in .NET 4.0, which provides late-binding and allows a single HFMCmd executable to work with different versions of HFM.
Pre-built release binaries are available at the following location:
HFMCmd is built as a single standalone .EXE file; no installation is required, simply unzip it to a directory somewhere, and it is ready to run.
HFMCmd does require an existing installation of the .NET framework, as already described. It also requires at least a client installation of HFM on the machine where it is to run.
HFMCmd supports the following modes of operation:
A single command can be entered on the command-line, along with all of the options it requires as keyword arguments, e.g.
HFMCmd.exe Consolidate UserName:admin Password:password ClusterName:PROD
AppName:IFRS Scenario:Actual Year:2008 Periods:May-July Entity:GROUP
Commands can be read from a command-file specified on the command-line, e.g.
HFMCmd.exe consolidate.hfm
Contents of consolidate.hfm:
SetLogonInfo:
UserName: admin
Password: password
OpenApplication:
ClusterName: PROD
AppName: IFRS
Consolidate:
Scenario: Actual
Year: 2008
Periods: May-July
Entity: GROUP
An interactive shell can be started, where commands can be entered at an hfm> prompt. To enter the shell, start HFMCmd with no arguments, i.e.
HFMCmd.exe
HFMCmd has been designed to work with multiple different versions of HFM, and should work with versions 9.3 through to 11.1.2.2, including support for the new extended dimensionality in 11.1.2.2.
HFMCmd is open source software, licenced under a BSD-style licence. That means it is free to use or modify by anyone for any purpose - but no responsibility is taken for any bugs, issues or losses that may arise in the use of the software. See the LICENCE file for more details.
If you do identify an issue, bug, or missing feature, you can log an Issue at https://github.com/agardiner/hfmcmd/issues. There is no guarantee your issue will be addressed, but you have a better chance if you log an issue and provide clear and concise details.