SlideShare a Scribd company logo
1 of 57
HFM API Deep Dive
Making a Better Financial Management
Client
Charles Beyer
 Build a “complete” .NET App for HFM API
● “Brief” HFM API Overview
● Prepare a Development Environment
● Coding your own HFM Client App
● Improving on Client App
● Tips, Tricks, and Warnings
 3rd Party Tools / Projects
 Q & A
Session Objectives / TOC
 Code Samples will be made available
 To expedite certain areas, we will utilize screen
shots while doing live demos in others
 Slides / Demos should be sufficient to do work
offline in case we bump into time issues
 Please leave feedback!
Additional Notes
 Computer & Technology ‘Nerd’ – Started with a
Apple II and TRS-80. Haven’t looked back.
 16+ years professional software experience,
created and sold commercial software.
 7 years working with Hyperion products.
 Love to help out, feel free to ask and I’ll help if
time permits!
About the Speaker
“Brief” HFM API Overview
 Three Main APIs
● COM [Primary Focus for Session]
● Updated for 11.1.2.2 for expanded dimensionality
● Extended Analytics HTTP Listener
● Web Object Model [ADF Webinar – TBD]
● 11.1.2.1 and prior : Components Utilized via ASP pages
● 11.1.2.2+ : Java/J2EE implemented with Oracle ADF
Framework
● FM Web Service [TBD]
● Optional, now required, component first utilized by
Financial Close Management
● Behind the scenes is really the COM library.
Brief HFM API Overview
Brief HFM API Overview [COM]
Web Object Model Features COM Object Model Features
Log On / Log Off Log On / Log Off
Open FM Applications Open FM Applications
Register / Unregister Clusters/App Servers Register / Unregister Clusters/App Servers
Getting Dimension Attributes Get Metadata Attributes
Get / Set Line Item Details Get / Set Line Item Details
Process Management Interaction Process Management Interaction
Open / Close Periods Open / Close Periods
Journals (Create, Delete, Submit, Post, etc.) Process Journals
User Security (Rights / User Lists) User Security (Rights / User Lists)
Document Management (Forms / Grids) Get / Set data for arrays of cells
POV Settings
Executing consolidations, translations,
calculations
Audit Information (Task, Data, etc.)
Load/Extract member lists, metadata, rules,
data,
and journals
Server Information/Control (Logoff Users,
Enable/Disable Connections) Extended Analytics
ActiveX control for dimension members
selection
Brief HFM API Overview [COM]
Type File Functionality
HfmSliceCOM Support for Configurable Dimensionality
HsxClient Logon/Logoff, Open/Create/Delete Applications
HsxClientUI User Interface for Logon/off, Open/Create/Delete Applications
HsxServer App Server info : Application Names, DSNs
HsvSession Parent Obect to Metadata & Data, Session Related Info
HsvMetadata Metadata Related Functions
HsvData Sets and Gets data in cells
HsvCalculate Executes consolidations, translations, and calculations
HsvJournals Manage periods, create journals and templates, process journals
HsvSecurityAccess Get/Set Application’s users, roles, and security class access.
Brief HFM API Overview [COM]
Type Library Functionality
HsvSystemInfo System Items (Get/Set App Name, Server Name)
HsvProcessFlow Process Management
HsvReports System Reports
HsvICM Intercompany
HsvMDArrays Statutory / IC Transactions Data
HsvDataCubes Data Access @ Sub Cube Level
HsvDQI “Intelligent” Data Retrieval
HsvStarSchemaACM Extended Analytics
HsvSecurityLoadACV Security Loading and Extracting
HsvMetadataLoadACV Metadata Loading and Extracting
HsvRulesLoadACV Rules Load and Extracting
Brief HFM API Overview [COM]
Type Library Functionality
HsvcDataLoad Data Loading and Extracting
HsvJournalACV Journal Loading and Extract, Journal Template loading
HsvPOVSelection ActiveX display option for selecting POV
HsvResourceManager Manages Error Messages
HFMConstants Constants used by API calls throughout
Brief HFM API Overview [HTTP Listener]
 URL: http://<web server>/hfm/EIE/EIEListener.asp?
app_name=<HFMAppName>&action=launch_EA_extract
 Include following data in header
● SSO Token
● Content Type : text/xml
 HTTP Request Stream Parameters
● Application Name
● Extract Type
● Push Options
Brief HFM API Overview [HTTP Listener]
 HTTP Request Stream Parameters (cont)
● DSN
● Prefix
● ExcludeDynamicAccounts
● Scenario(s)
● Year(s)
● Period(s)
● View(s)
● Entity(ies)
Brief HFM API Overview [HTTP Listener]
 HTTP Request Stream Parameters (cont)
● Entity(ies)
● Value(s)
● Account(s)
● ICP(s)
● Custom1(s)
● Custom2(s)
● Custom3(s)
● Custom4(s)
 XML Response Message returned
Prepare a Development
Environment
 Requirements [COM]
● HFM Client Installed
● Server Files Available
● Copied Locally
● Read only access to files on remote location (i.e. server)
● Microsoft Visual Studio
● Deployment / Installer Notes
Prepare a Development Environment
 Create Installer (Required Assemblies, 11.1.2.x)
● commonComponents
● productCommonComponents
● hfm_client
● hfm_common
 Launchtool.cmd to start installation process
 Select choose individual components
● Financial Management: Client, ADM
 Configure Cluster / Services / DCOM
 Start Client and perform test connection
Install HFM Client (11.1.2.x)
 Server Files Default Location
● <EPM_HOME>productsFinancialManagementSer
ver
● <EPM_HOME> =
C:OracleMiddlewareEPMSystem11R1System11R1
 Copy them local or Reference them direct from
server.
● If referencing, be sure to include in your app’s
installer so that they copy!
Locate (and Copy) Server Files
 Express 2012 for Windows Desktops
● http://www.microsoft.com/visualstudio/eng#products/
visual-studio-express-for-windows-desktop+product-
express-desktop
 Requirements
● O/S : Win7 SP1, Win 8, Server 2008, Server 2012
● Hardware : 1Ghz CPU, 1GB RAM, 5GB Disk, DX9
 NOTES:
● Links change semi-frequently so Google Visual
Studio Express and you won’t go wrong.
● As new versions are released old versions are
retired.
Visual Studio (2012)
 Installation
● Click the Download button on website
● Use default settings for file locations, etc.
● When it comes to installing option components, I
generally install them.
● MSDN Document Library is up to you.
 If you don’t meet requirements for 2012
● 2010 ISO : http://download.microsoft.com/download/1/E/5/1E5F1C0A-0D5B-426A-
A603-1798B951DDAE/VS2010Express1.iso
● 2008 ISO : Retired, though on torrents*
Visual Studio (2012)
HFM Client App
 Open / Close Applications, Logoff
 Explore Data, User Preferences, Database
Management
 Setup / Process Journals
 Define App Profile, Create/Delete App, Manage
Metadata
 Load Security, Metadata, Member Lists, Rules,
Data, Journals
HFM Client App Functionality
Coding Your Own Client App
 Visual Studio Project Creation
 Adding References to Files
 Recreate Existing Functionality
● Authentication [Demo]
● Opening / Closing Apps [Demo]
● Extracting Metadata, Rules, Data [Demo]
Coding Your Own Client App
Create Visual Studio Project
Adding References
Shared Objects
Authentication [Demo]
Opening Application [Demo]
Logoff [Demo]
Extract Metadata [Demo]
 Add References
 Create Standalone Form
 Wire up Buttons : File Browser, View
(Notepad), Check All, Uncheck All, Extract
 Implement API Extract Logic for Metadata
Extract Metadata - References
Extract Metadata – Create Form
Extract Metadata – Wire Buttons
Extract Metadata – Wire Buttons
Extract Metadata – Wire Buttons
Extract Metadata – API Logic
Extract Metadata – API Logic
Extract Metadata – API Logic
Extract Metadata – API Logic
Improving on the Client App
 App Title / Statusbar Updates [Demo]
 Dynamic Menu [Demo]
 Admin / System Info [Demo]
 Smarter Metadata / Rules Extracting/Loading
[Demo]
Improving on the Client App
App Title / Statusbar Updates [Demo]
App Title / Statusbar Updates [Demo]
Menu Control [Demo]
Menu Control [Demo]
Menu Control [Demo]
System Info [Demo]
System Info [Demo]
Tips, Tricks, and Warnings
 Be sure to work in Dev first!
● Some API calls could cause trouble if used
incorrectly!
● Easier to Debug
● Can Run Additional Debug/Performance Tools
 Start small and test frequently
 Use Debug functionality to step through code
 Trap exceptions to handle errors gracefully!
 Create Installer for your finished product
Tips, Tricks, and Warnings
 COM API Doc & Samples
● http://docs.oracle.com/cd/E17236_01/epm.1112/hfm
_developer_11.1.2.2.300.pdf
● SDK via e-delivery for additional code samples
 Web API Doc & Samples
● Web API
● Pre-11.1.2.2 :
http://docs.oracle.com/cd/E17236_01/epm.1112/hfm_webs
dk.pdf
● 11.1.2.2+ :
http://docs.oracle.com/cd/E17236_01/epm.1112/hfm_custo
m_pages_development.pdf
Tips, Tricks, and Warnings
 Web Service
● No Docs Yet!
● Access ASMX pages in browser to view information!
[http://<your web server>/hfmapplicationservice/]
 Utilize existing resources for help!
● Oracle Forum (http://forums.oracle.com)
● Blogs
● Mine (new) : http://www.charlescbeyer.com
● Finnish Hyperion Guy : http://hyperionfinn.blogspot.com/
● SlideShare / Google : Tons of Info is out there.
Tips, Tricks, and Warnings
 Web Service isn’t officially published
● May go away at any time?
 Great Training Material for Learning .NET
● http://www.microsoftvirtualacademy.com/
● http://msdn.microsoft.com/en-US/vstudio/cc136611
Tips, Tricks, and Warnings
3rd Party Tools / Projects
 HFM Batch & hfmCMD by Adam Gardiner
● C# Command Line Implementations of API
functionality.
● Batch : https://github.com/agardiner/hfm-batch
● hfmCMD : https://github.com/agardiner/hfmcmd
 EPM Maestro : http://epmmaestro.com/
 Accelatis : http://www.accelatis.com/
 Star Analytics :
http://staranalytics.com/products/
3rd Party Tools / Projects
Charles Beyer
charles@charlescbeyer.com
Glenview, IL
USA
+1.847.275.6317
Questions?
Blog
http://www.charlescbeyer.com
LinkedIn
http://www.linkedin.com/in/charlesbeyer
Twitter
https://twitter.com/beyerch
Oracle Forums
beyerch2
Source Code
http://www.charlescbeyer.com/Kscope/HFM_Client_V2.zip

More Related Content

What's hot

What's hot (20)

Essmaxl
EssmaxlEssmaxl
Essmaxl
 
Read 1-hyperion planning presentation
Read 1-hyperion planning presentationRead 1-hyperion planning presentation
Read 1-hyperion planning presentation
 
Talend Data Integration Tutorial | Talend Tutorial For Beginners | Talend Onl...
Talend Data Integration Tutorial | Talend Tutorial For Beginners | Talend Onl...Talend Data Integration Tutorial | Talend Tutorial For Beginners | Talend Onl...
Talend Data Integration Tutorial | Talend Tutorial For Beginners | Talend Onl...
 
Hyperion Planning: Cloud or On Premise
Hyperion Planning: Cloud or On PremiseHyperion Planning: Cloud or On Premise
Hyperion Planning: Cloud or On Premise
 
Application Integration: EPM, ERP, Cloud and On-Premise – All options explained
Application Integration: EPM, ERP, Cloud and On-Premise – All options explainedApplication Integration: EPM, ERP, Cloud and On-Premise – All options explained
Application Integration: EPM, ERP, Cloud and On-Premise – All options explained
 
Hyperion LCM Utility
Hyperion LCM UtilityHyperion LCM Utility
Hyperion LCM Utility
 
Talend Open Studio Introduction - OSSCamp 2014
Talend Open Studio Introduction - OSSCamp 2014Talend Open Studio Introduction - OSSCamp 2014
Talend Open Studio Introduction - OSSCamp 2014
 
EPM, ERP, Cloud, and On-Premise: All Integration Options Explained
EPM, ERP, Cloud, and On-Premise:  All Integration Options ExplainedEPM, ERP, Cloud, and On-Premise:  All Integration Options Explained
EPM, ERP, Cloud, and On-Premise: All Integration Options Explained
 
Hyperion Planning Overview
Hyperion Planning OverviewHyperion Planning Overview
Hyperion Planning Overview
 
Oracle Application Express
Oracle Application ExpressOracle Application Express
Oracle Application Express
 
Data Federation with Apache Spark
Data Federation with Apache SparkData Federation with Apache Spark
Data Federation with Apache Spark
 
Case Study: Using EDMCS to Solve Master Data Challenges
Case Study:  Using EDMCS to Solve Master Data ChallengesCase Study:  Using EDMCS to Solve Master Data Challenges
Case Study: Using EDMCS to Solve Master Data Challenges
 
Hyperion Essbase integration with ODI
Hyperion Essbase integration with ODIHyperion Essbase integration with ODI
Hyperion Essbase integration with ODI
 
What's New in Oracle EPM Cloud
What's New in Oracle EPM CloudWhat's New in Oracle EPM Cloud
What's New in Oracle EPM Cloud
 
Finit OneStream - What's Possible Part II
Finit  OneStream - What's Possible Part IIFinit  OneStream - What's Possible Part II
Finit OneStream - What's Possible Part II
 
Optimization in essbase
Optimization in essbaseOptimization in essbase
Optimization in essbase
 
Beginning Calculation Manager for Essbase and Hyperion Planning
Beginning Calculation Manager for Essbase and Hyperion Planning Beginning Calculation Manager for Essbase and Hyperion Planning
Beginning Calculation Manager for Essbase and Hyperion Planning
 
Getting Started with Calc Manager for HFM
Getting Started with Calc Manager for HFMGetting Started with Calc Manager for HFM
Getting Started with Calc Manager for HFM
 
InfluxDB IOx Tech Talks: Query Engine Design and the Rust-Based DataFusion in...
InfluxDB IOx Tech Talks: Query Engine Design and the Rust-Based DataFusion in...InfluxDB IOx Tech Talks: Query Engine Design and the Rust-Based DataFusion in...
InfluxDB IOx Tech Talks: Query Engine Design and the Rust-Based DataFusion in...
 
Planning learn step by step
Planning learn step by stepPlanning learn step by step
Planning learn step by step
 

Similar to HFM API Deep Dive – Making a Better Financial Management Client

QTP&UFT Automation Framework
QTP&UFT Automation FrameworkQTP&UFT Automation Framework
QTP&UFT Automation Framework
Yu Tao Zhang
 
JBossOneDayTalk 2011: Using jBPM to bring more power to your business processes
JBossOneDayTalk 2011: Using jBPM to bring more power to your business processesJBossOneDayTalk 2011: Using jBPM to bring more power to your business processes
JBossOneDayTalk 2011: Using jBPM to bring more power to your business processes
Kris Verlaenen
 

Similar to HFM API Deep Dive – Making a Better Financial Management Client (20)

Les02
Les02Les02
Les02
 
Why Browser Debugger is a Developer's Best Friend
Why Browser Debugger is a Developer's Best FriendWhy Browser Debugger is a Developer's Best Friend
Why Browser Debugger is a Developer's Best Friend
 
Nandini-CV
Nandini-CVNandini-CV
Nandini-CV
 
Windows 7 – Application Compatibility Toolkit 5.5 Overview
Windows 7 – Application Compatibility Toolkit 5.5 OverviewWindows 7 – Application Compatibility Toolkit 5.5 Overview
Windows 7 – Application Compatibility Toolkit 5.5 Overview
 
QTP&UFT Automation Framework
QTP&UFT Automation FrameworkQTP&UFT Automation Framework
QTP&UFT Automation Framework
 
What’s new in Rational collaborative lifecycle management 2011?
What’s new in Rational collaborative lifecycle management 2011?What’s new in Rational collaborative lifecycle management 2011?
What’s new in Rational collaborative lifecycle management 2011?
 
SharePoint Administration: Tips from the Field
SharePoint Administration: Tips from the FieldSharePoint Administration: Tips from the Field
SharePoint Administration: Tips from the Field
 
JBossOneDayTalk 2011: Using jBPM to bring more power to your business processes
JBossOneDayTalk 2011: Using jBPM to bring more power to your business processesJBossOneDayTalk 2011: Using jBPM to bring more power to your business processes
JBossOneDayTalk 2011: Using jBPM to bring more power to your business processes
 
BP101 - 10 Things to Consider when Developing & Deploying Applications in Lar...
BP101 - 10 Things to Consider when Developing & Deploying Applications in Lar...BP101 - 10 Things to Consider when Developing & Deploying Applications in Lar...
BP101 - 10 Things to Consider when Developing & Deploying Applications in Lar...
 
Building PHP Powered Android Applications
Building PHP Powered Android ApplicationsBuilding PHP Powered Android Applications
Building PHP Powered Android Applications
 
Sdlc
SdlcSdlc
Sdlc
 
14 Easy Steps to End-User Empowerment: Convert Custom Reports to BI Publisher
14 Easy Steps to End-User Empowerment: Convert Custom Reports to BI Publisher14 Easy Steps to End-User Empowerment: Convert Custom Reports to BI Publisher
14 Easy Steps to End-User Empowerment: Convert Custom Reports to BI Publisher
 
bhavik_mehta
bhavik_mehtabhavik_mehta
bhavik_mehta
 
Company Visitor Management System Report.docx
Company Visitor Management System Report.docxCompany Visitor Management System Report.docx
Company Visitor Management System Report.docx
 
Crime Reporting System.pptx
Crime Reporting System.pptxCrime Reporting System.pptx
Crime Reporting System.pptx
 
Les02
Les02Les02
Les02
 
Lotus Domino 8.5
Lotus Domino 8.5Lotus Domino 8.5
Lotus Domino 8.5
 
My Saminar On Php
My Saminar On PhpMy Saminar On Php
My Saminar On Php
 
T3 Consortium's Performance Center of Excellence
T3 Consortium's Performance Center of ExcellenceT3 Consortium's Performance Center of Excellence
T3 Consortium's Performance Center of Excellence
 
Costruire applicazioni multi-tenant e piattaforme SaaS in PHP con Innomatic
Costruire applicazioni multi-tenant e piattaforme SaaS in PHP con InnomaticCostruire applicazioni multi-tenant e piattaforme SaaS in PHP con Innomatic
Costruire applicazioni multi-tenant e piattaforme SaaS in PHP con Innomatic
 

Recently uploaded

“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
Muhammad Subhan
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
FIDO Alliance
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 

Recently uploaded (20)

The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The InsideCollecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 

HFM API Deep Dive – Making a Better Financial Management Client

  • 1. HFM API Deep Dive Making a Better Financial Management Client Charles Beyer
  • 2.  Build a “complete” .NET App for HFM API ● “Brief” HFM API Overview ● Prepare a Development Environment ● Coding your own HFM Client App ● Improving on Client App ● Tips, Tricks, and Warnings  3rd Party Tools / Projects  Q & A Session Objectives / TOC
  • 3.  Code Samples will be made available  To expedite certain areas, we will utilize screen shots while doing live demos in others  Slides / Demos should be sufficient to do work offline in case we bump into time issues  Please leave feedback! Additional Notes
  • 4.  Computer & Technology ‘Nerd’ – Started with a Apple II and TRS-80. Haven’t looked back.  16+ years professional software experience, created and sold commercial software.  7 years working with Hyperion products.  Love to help out, feel free to ask and I’ll help if time permits! About the Speaker
  • 6.  Three Main APIs ● COM [Primary Focus for Session] ● Updated for 11.1.2.2 for expanded dimensionality ● Extended Analytics HTTP Listener ● Web Object Model [ADF Webinar – TBD] ● 11.1.2.1 and prior : Components Utilized via ASP pages ● 11.1.2.2+ : Java/J2EE implemented with Oracle ADF Framework ● FM Web Service [TBD] ● Optional, now required, component first utilized by Financial Close Management ● Behind the scenes is really the COM library. Brief HFM API Overview
  • 7. Brief HFM API Overview [COM] Web Object Model Features COM Object Model Features Log On / Log Off Log On / Log Off Open FM Applications Open FM Applications Register / Unregister Clusters/App Servers Register / Unregister Clusters/App Servers Getting Dimension Attributes Get Metadata Attributes Get / Set Line Item Details Get / Set Line Item Details Process Management Interaction Process Management Interaction Open / Close Periods Open / Close Periods Journals (Create, Delete, Submit, Post, etc.) Process Journals User Security (Rights / User Lists) User Security (Rights / User Lists) Document Management (Forms / Grids) Get / Set data for arrays of cells POV Settings Executing consolidations, translations, calculations Audit Information (Task, Data, etc.) Load/Extract member lists, metadata, rules, data, and journals Server Information/Control (Logoff Users, Enable/Disable Connections) Extended Analytics ActiveX control for dimension members selection
  • 8. Brief HFM API Overview [COM] Type File Functionality HfmSliceCOM Support for Configurable Dimensionality HsxClient Logon/Logoff, Open/Create/Delete Applications HsxClientUI User Interface for Logon/off, Open/Create/Delete Applications HsxServer App Server info : Application Names, DSNs HsvSession Parent Obect to Metadata & Data, Session Related Info HsvMetadata Metadata Related Functions HsvData Sets and Gets data in cells HsvCalculate Executes consolidations, translations, and calculations HsvJournals Manage periods, create journals and templates, process journals HsvSecurityAccess Get/Set Application’s users, roles, and security class access.
  • 9. Brief HFM API Overview [COM] Type Library Functionality HsvSystemInfo System Items (Get/Set App Name, Server Name) HsvProcessFlow Process Management HsvReports System Reports HsvICM Intercompany HsvMDArrays Statutory / IC Transactions Data HsvDataCubes Data Access @ Sub Cube Level HsvDQI “Intelligent” Data Retrieval HsvStarSchemaACM Extended Analytics HsvSecurityLoadACV Security Loading and Extracting HsvMetadataLoadACV Metadata Loading and Extracting HsvRulesLoadACV Rules Load and Extracting
  • 10. Brief HFM API Overview [COM] Type Library Functionality HsvcDataLoad Data Loading and Extracting HsvJournalACV Journal Loading and Extract, Journal Template loading HsvPOVSelection ActiveX display option for selecting POV HsvResourceManager Manages Error Messages HFMConstants Constants used by API calls throughout
  • 11. Brief HFM API Overview [HTTP Listener]  URL: http://<web server>/hfm/EIE/EIEListener.asp? app_name=<HFMAppName>&action=launch_EA_extract  Include following data in header ● SSO Token ● Content Type : text/xml  HTTP Request Stream Parameters ● Application Name ● Extract Type ● Push Options
  • 12. Brief HFM API Overview [HTTP Listener]  HTTP Request Stream Parameters (cont) ● DSN ● Prefix ● ExcludeDynamicAccounts ● Scenario(s) ● Year(s) ● Period(s) ● View(s) ● Entity(ies)
  • 13. Brief HFM API Overview [HTTP Listener]  HTTP Request Stream Parameters (cont) ● Entity(ies) ● Value(s) ● Account(s) ● ICP(s) ● Custom1(s) ● Custom2(s) ● Custom3(s) ● Custom4(s)  XML Response Message returned
  • 15.  Requirements [COM] ● HFM Client Installed ● Server Files Available ● Copied Locally ● Read only access to files on remote location (i.e. server) ● Microsoft Visual Studio ● Deployment / Installer Notes Prepare a Development Environment
  • 16.  Create Installer (Required Assemblies, 11.1.2.x) ● commonComponents ● productCommonComponents ● hfm_client ● hfm_common  Launchtool.cmd to start installation process  Select choose individual components ● Financial Management: Client, ADM  Configure Cluster / Services / DCOM  Start Client and perform test connection Install HFM Client (11.1.2.x)
  • 17.  Server Files Default Location ● <EPM_HOME>productsFinancialManagementSer ver ● <EPM_HOME> = C:OracleMiddlewareEPMSystem11R1System11R1  Copy them local or Reference them direct from server. ● If referencing, be sure to include in your app’s installer so that they copy! Locate (and Copy) Server Files
  • 18.  Express 2012 for Windows Desktops ● http://www.microsoft.com/visualstudio/eng#products/ visual-studio-express-for-windows-desktop+product- express-desktop  Requirements ● O/S : Win7 SP1, Win 8, Server 2008, Server 2012 ● Hardware : 1Ghz CPU, 1GB RAM, 5GB Disk, DX9  NOTES: ● Links change semi-frequently so Google Visual Studio Express and you won’t go wrong. ● As new versions are released old versions are retired. Visual Studio (2012)
  • 19.  Installation ● Click the Download button on website ● Use default settings for file locations, etc. ● When it comes to installing option components, I generally install them. ● MSDN Document Library is up to you.  If you don’t meet requirements for 2012 ● 2010 ISO : http://download.microsoft.com/download/1/E/5/1E5F1C0A-0D5B-426A- A603-1798B951DDAE/VS2010Express1.iso ● 2008 ISO : Retired, though on torrents* Visual Studio (2012)
  • 21.  Open / Close Applications, Logoff  Explore Data, User Preferences, Database Management  Setup / Process Journals  Define App Profile, Create/Delete App, Manage Metadata  Load Security, Metadata, Member Lists, Rules, Data, Journals HFM Client App Functionality
  • 22. Coding Your Own Client App
  • 23.  Visual Studio Project Creation  Adding References to Files  Recreate Existing Functionality ● Authentication [Demo] ● Opening / Closing Apps [Demo] ● Extracting Metadata, Rules, Data [Demo] Coding Your Own Client App
  • 30. Extract Metadata [Demo]  Add References  Create Standalone Form  Wire up Buttons : File Browser, View (Notepad), Check All, Uncheck All, Extract  Implement API Extract Logic for Metadata
  • 31. Extract Metadata - References
  • 32. Extract Metadata – Create Form
  • 33. Extract Metadata – Wire Buttons
  • 34. Extract Metadata – Wire Buttons
  • 35. Extract Metadata – Wire Buttons
  • 36. Extract Metadata – API Logic
  • 37. Extract Metadata – API Logic
  • 38. Extract Metadata – API Logic
  • 39. Extract Metadata – API Logic
  • 40. Improving on the Client App
  • 41.  App Title / Statusbar Updates [Demo]  Dynamic Menu [Demo]  Admin / System Info [Demo]  Smarter Metadata / Rules Extracting/Loading [Demo] Improving on the Client App
  • 42. App Title / Statusbar Updates [Demo]
  • 43. App Title / Statusbar Updates [Demo]
  • 49. Tips, Tricks, and Warnings
  • 50.  Be sure to work in Dev first! ● Some API calls could cause trouble if used incorrectly! ● Easier to Debug ● Can Run Additional Debug/Performance Tools  Start small and test frequently  Use Debug functionality to step through code  Trap exceptions to handle errors gracefully!  Create Installer for your finished product Tips, Tricks, and Warnings
  • 51.  COM API Doc & Samples ● http://docs.oracle.com/cd/E17236_01/epm.1112/hfm _developer_11.1.2.2.300.pdf ● SDK via e-delivery for additional code samples  Web API Doc & Samples ● Web API ● Pre-11.1.2.2 : http://docs.oracle.com/cd/E17236_01/epm.1112/hfm_webs dk.pdf ● 11.1.2.2+ : http://docs.oracle.com/cd/E17236_01/epm.1112/hfm_custo m_pages_development.pdf Tips, Tricks, and Warnings
  • 52.  Web Service ● No Docs Yet! ● Access ASMX pages in browser to view information! [http://<your web server>/hfmapplicationservice/]  Utilize existing resources for help! ● Oracle Forum (http://forums.oracle.com) ● Blogs ● Mine (new) : http://www.charlescbeyer.com ● Finnish Hyperion Guy : http://hyperionfinn.blogspot.com/ ● SlideShare / Google : Tons of Info is out there. Tips, Tricks, and Warnings
  • 53.  Web Service isn’t officially published ● May go away at any time?  Great Training Material for Learning .NET ● http://www.microsoftvirtualacademy.com/ ● http://msdn.microsoft.com/en-US/vstudio/cc136611 Tips, Tricks, and Warnings
  • 54. 3rd Party Tools / Projects
  • 55.  HFM Batch & hfmCMD by Adam Gardiner ● C# Command Line Implementations of API functionality. ● Batch : https://github.com/agardiner/hfm-batch ● hfmCMD : https://github.com/agardiner/hfmcmd  EPM Maestro : http://epmmaestro.com/  Accelatis : http://www.accelatis.com/  Star Analytics : http://staranalytics.com/products/ 3rd Party Tools / Projects