Extract Metadata from HFM

Goodmorning,
I'm looking for HFM API that could be used by FDM Event Script to extract Account Type (metadata, more generally). Precisely:
When I'm importing source account, I've to verify that target account has a specified type, cause I've to change sign manually (sob), but I'm not pretty sure where put this behaviour (I think BefValidate or After Mapping) and how can I determine target account. I've found something like:
Function isCurrencyRateType(sMem As String) As Boolean Dim cAccounts As HsvAccounts, cTreeInfo As IHsvTreeInfo Dim lAccount As Long, iAcctType As Integer 'g_cMetadata is an HsvMetadata object reference
Set cAccounts = g_cMetadata.Accounts Set cTreeInfo = g_cMetadata.Accounts lAccount = cTreeInfo.GetItemID(sMem) cAccounts.GetAccountType lAccount, iAcctType If iAcctType = ACCOUNTTYPE_CURRENCYRATE Then
isCurrencyRateType = True Else
isCurrencyRateType = False End If
End Function
on HFM Object Guide, is it the right way?
Thanks
Francesco

Where can I find Type Library?
In other similar threads I read about metadata extraction from custom general script (yet included), aren't they enough for target account type extraction?
Just asking to justify other software need.
Thanks
Francesco

Similar Messages

  • Error when Reversing metadata from HFM

    Hi,
    I'm getting this error when i try to reverse metadata from HFM.
    "com.hyperion.odi.common.ODIHAppException: Error occurred while loading driver."
    I already try the suggestion in this forum including
    Cause
    The Java Library Path of the HFMDriver.dll is missing in Wrapper configuration file.
    Solution
    1. Backup and edit the ODI_HOME\tools\wrapper\conf\snpsagent.conf and include the following entry in Java Library Path section :
    wrapper.java.library.path.2=../drivers
    After adding it will look as follows:
    # Java Library Path (location of Wrapper.DLL or libwrapper.so)
    wrapper.java.library.path.1=../tools/wrapper/lib/
    wrapper.java.library.path.2=../drivers
    Note: HFMDriver.dll is usually present in <odi_home>\oracledi\drivers folder. If it is located in different path, then appropriate location should be referred. Also numbering convention like wrapper.java.library.path.1, wrapper.java.library.path.2 has to be in a incremental manner and no duplicates nor gaps should exist.
    2. Save the file and recreate the ODI Agent Service with the new configuration parameters as the classes are loaded during its creation and re-test the issue.
    But it still errors. Does anyone know another solution?
    Btw, i'm using ODI 10.1.3.5, and the HFM's version 9.3.1
    Those two are not on the same machine. And i've already installed HFM Client on ODI Machine.
    Thanks in advance.

    Ok, i've solved the problem above. Looks like i forgot to define driver folder in PATH variable.
    But now i got another error.
    Looks like the problem lies in HFM now.
    It's said that Server/Cluster incorrectly configured. But, in my HFMClient i've successfully access the application.
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 38, in ?
    com.hyperion.odi.common.ODIHAppException: Error occurred in driver while connecting to Financial Management application [KALBEAPP] on [HFMTest] using user-name [adm].
         at com.hyperion.odi.hfm.ODIHFMAppConnection.<init>(ODIHFMAppConnection.java:58)
         at com.hyperion.odi.hfm.ODIHFMAppReverser.connect(ODIHFMAppReverser.java:27)
         at com.hyperion.odi.common.ODIModelImporter.importModels(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
         at org.python.core.PyMethod.__call__(PyMethod.java)
         at org.python.core.PyObject.__call__(PyObject.java)
         at org.python.core.PyInstance.invoke(PyInstance.java)
         at org.python.pycode._pyx0.f$0(<string>:38)
         at org.python.pycode._pyx0.call_function(<string>)
         at org.python.core.PyTableCode.call(PyTableCode.java)
         at org.python.core.PyCode.call(PyCode.java)
         at org.python.core.Py.runCode(Py.java)
         at org.python.core.Py.exec(Py.java)
         at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    Caused by: com.hyperion.odi.hfm.wrapper.HFMException: Error occurred in driver while connecting to Financial Management application [KALBEAPP] on [HFMTest] using user-name [adm].
         at com.hyperion.odi.hfm.wrapper.HFMConnection.<init>(HFMConnection.java:57)
         at com.hyperion.odi.hfm.wrapper.HFMServer.getConnection(HFMServer.java:89)
         at com.hyperion.odi.hfm.ODIHFMAppConnection.<init>(ODIHFMAppConnection.java:52)
         ... 33 more
    Caused by: com.hyperion.odi.hfm.wrapper.HFMException: Opening HFM application failed. Error code: 0x80041143 [Server/Cluster is incorrectly configured. Please reconfigure your Cluster or Server connection.]
         at com.hyperion.odi.hfm.wrapper.HFMDriverJNI.getConnection(Native Method)
         at com.hyperion.odi.hfm.wrapper.HFMConnection.<init>(HFMConnection.java:51)
         ... 35 more
    com.hyperion.odi.common.ODIHAppException: com.hyperion.odi.common.ODIHAppException: Error occurred in driver while connecting to Financial Management application [KALBEAPP] on [HFMTest] using user-name [adm].
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    Thanks in advance...

  • Extended Analytics - Is it possible to extract data from HFM to MS Access through an UDL (OBDC) file?

    Hello,
    I am trying to extract data from HFM, using Extended Analytics, to MS Access through an UDL (OBDC) file but it displays the following error:
    "error occurred while connecting to the database"
    I've followed these steps:
    1. Create a blank MS Access database (.mdb format)
    2. Create an .UDL file which connects to MS Access database:
          - Provider: Microsoft Jet 4.0 OLE DB Provider
          - Connection: Linked to the .mdb database created in step 1.
          - Give "ReadWrite" permissions.
    3. Test .UDL file connection successfully.
    4. Create DNS with Extended Analytics DNS Configuration tool.
    5. In Extended Analytics (HFM), once selected the new DNS and extract it displays the error commented before.
    ¿Do you know how i can solve this issue?
    Thank you in advance,
    Best regards,

    Hello Anjum Ara,
    Thank you for your response.
    I don't understand how to add my database SID to tnsnames.ora. (I already found the file but i don't know how to add new database SID)
    I have created one MS Access database in "C:\TEST.mdb" and i want to connect Extended Analytics to it.
    How i have to add this database into tnsnames.ora file?
    Thank you in advance,
    Kind regards

  • Can I extract metadata from planning or only from essbase?

    Hi!
    Can I extract metadata from planning or only for essbase? If I can from planning, how can I do it? And why when I extract metadata from essbase, it extract the members that are never share in Store? It always put S (Stored) .
    Thanks in advance.
    Bye

    Hi,
    You can only extract metadata from essbase, if you want to have a look at some examples of how to do it then have a read here
    Ok?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How can I extract metadata from file names?

    If I want to extract metadata from file names? How can I do that? I want to read through the file names and when I get to a certain character ("-"), I can take the string just before that character and store it in a column in SharePoint. Is this
    do-able through scripting? 

    If I want to extract metadata from file names? How can I do that? I want to read through the file names and when I get to a certain character ("-"), I can take the string just before that character and store it in a column in SharePoint.
    Is this do-able through scripting? 
    You should be able to leverage the split method.
    In PowerShell It would look like:
    # Gather the file name
    $file = "myawesome_filename-Month-Day-Year-Ect.doc"
    #split the file name by the "-" character
    $file = $file.split("-")
    # Use a foreach Loop to gather the individual items.
    foreach ($item in $file) {
    write-host $item
    #Outputmyawesome_filename
    Month
    Day
    Year
    Ect.doc
    # If you want to only grab the first item, you can do $file[0] <-- powershell starts counting with zero base.
    $file[0]
    #output
    myawesome_filename
    Entrepreneur, Strategic Technical Advisor, and Sr. Consulting Engineer - Strategic Services and Solutions Check out my book - Powershell 3.0 - WMI: http://amzn.to/1BnjOmo | Mastering PowerShell Coming in April 2015!

  • Can OWB extract metadata from foxpro 2.5 or foxbase?

    We know that OWB can extract metadata from some relational databases other than Oracle database with Heterogeneous Services. Sybase,DB2 and SQL Server provide
    specific agent for Oracle.What about foxpro 2.5 or foxbase?
    If they haven't any agent for oracle,is it possible to extract metadata from a foxpro 2.5 or a foxbase database using ODBC agent?
    Thanks for any help!!!

    I don't think there is a gateway, so I would use ODBC and the heterogeneous services in the database to do this.
    Jean-Pierre

  • Extract Metadata from Final Cut Pro Project files...

    We're currently scanning our project directory (running great by the way), but I'm curious - Is there a way for Final Cut Server to extract metadata from the XML. Timecode info, titling, descriptions, etc and tag that info to the final cut project within FC Server?
    That would be great!
    Ryan

    Hello!
    I was just told by Apple (several hours ago), that it's a bug which happens on some Final Cut Servers. They said that the engineering team is looking into it.
    The tech guy had me open the project in Final Cut (directly, not with FC Server involvement), then go up to File, Export, Export as XML. Then, he had me look within Final Cut Server and then it would let me checkin/out, etc. He said that it's a bug they're working on.
    I hope it gets fixed soon! I need it fixed in order to do what we plan on doing.

  • How do I bulk upload documents using PowerShell and extract metadata from file name?

    I have a requirement to upload a bunch of documents into a document library. Based on the content type, the rules of updating the metadata is different...the one giving me trouble is to extract the metadata from the file name. If I have a file name like
    "part1_part2_part3.pdf" how do I extract part1, part2, part3 and tag each document being uploaded into SharePoint, using PowerShell? I have searched and have not been able to find anything to get me started.
    Has anyone done this before? Or is there a blog I can take a look at? Thanks
     

    You will have to write a PS script encompassing this logic.
    Read files from the folder using
    Get-Item cmdlet
    Determine the content type based on the path or filename.
    Split the file name to extract the tag names.
    If the metadata fields in the content type is a managed metadata field, check whether the term exists and set it.
    Updating SharePoint Managed Metadata Columns
    with PowerShell
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • Problems with extract metadata from Essbase with ODI 10.1.3.5.

    Hello there, I have a really annoying problem. I have 2 dimensions in essbase v11 with a space on it, (Itens Financeiros and Centros Financeiros), and this is causing a problem when I try to extract the metadata from essbace to a table. the problem occurs some times in 3 - loading - ss_0 - begin essbase metadata extract and some times in 4 - loading ss_0 - extract metadata, but in this 2 steps the error is the same:
    unknown member name [itens] in function [@idescendants]. I see in Johns blog someone sayng to add a '/"' in the front and at the end of the member filter criteria to allow ODI to parse the space as part of the member name. but I really don't understand this. Someone can helpme with this? Thanck you.

    It doesn't matter, I am able to replicate with an older version of the essbase adaptor...
    I take it this is the type of error you are receiving "com.hyperion.odi.essbase.ODIEssbaseException: Extract operation failed : Cannot query members by specs. Analytic Server Error(1200497): Error parsing formula for [REGION DEFINITION"
    If you download patch - Patch 8785893: ORACLE DATA INTEGRATOR 10.1.3.5.2_02 ONE-OFF PATCH
    It is easy to install just a matter of copying a jar file over an existing one in the \oracledi\drivers directory.
    It should resolve the issue.
    Ok?
    Cheers
    John
    http://john-goodwin.blogspot.com/                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Extract metadata from selected files in bridge

    I used to use extensis portfolio to quickly export metadata from selected files to create print worksheets. I could customize which metadata would be displayed.
    For instance:
    Thumbnail
    title
    pixels
    file type
    date created and modified
    height and width
    dpi
    embedded icc profile
    file location
    iptc description
    It was a quick drag and drop process, but portfolio is now only available in the server edition for over $1000. Does anyone have script for Mac OS that would accomplish this?
    Thanks!

    Hi Xiaojing,
    Thank you for your answer. It is useful.
    The problem is: My application is not going to play music or video, it just needs to browse over the disk and create a list of available music files including info like song name, album, artist. All this info is kept in meta-data. Some users can have a lot of music of their computers. That's why I don't want to load the whole file and wait for onMetaData event - it can take a long time. I just want to read the meta-data from the file, but not to load the all file as I need for listening the music of playing the movie.
    I already applied extracting meta-data for MP3 files exactly the way you mentioned, it works fine. I only have to wait for Event.ID3 – I implemented Timer to wait until all my files are processed. Probably, if user has a lot of music on his computer, it will take a lot of time.
    I can try to read AAC the way you advice.
    I am really looking for implementation of your advice for reading the music file as a ByteArray and extracting meta-data. In this case we don't need to load all the file, but just to read part of it.
    Do you have some code implementation?
    Thank you again for your response,
    Elena

  • Extracting metadata from Enterprise manager 12c

    Hi,
    I want to extract metadata information regarding incident rules and metrics which i have configured in OEM 12c.Please tell me the file name and location where i find out this information.

    For findings which targets are assigned to an Incident Rule Set?
    The following query could be used as sysman user on repos DB
    SELECT ruleset_name, target_selection_type, source_selection_type FROM em_rule_sets ORDER BY 3, 1;
    IMPORTANT:
    =========
    - The "target_selection_type" column indicates somehow the target type to which you associated that Rule Set when you initially created it.
    - That column is of type number and has only 4 choices (1, 2, 4 and 6).
    - The below are hints regarding the output of that column:
    TARGET_SELECTION_TYPE    SOURCE_SELECTION_TYPE
    1                                      SELFUPDATE_SECURE_CLASS  ---->> means that the Rule Set is applied to 'Self Update Events'.
    2                                      TARGET  ---->> means that the Rule Set is applied to 'All Targets'.
    2                                      MEXT_SECURE_CLASS  ---->> means that the Rule Set is applied to 'Metric Extensions'.
    2                                      JOB  ---->> means that the Rule Set is applied to 'Jobs'.
    4                                      TARGET  ---->> means that the Rule Set is applied to 'All Targets of type'.
    6                                      TARGET  ---->> means that the Rule Set is applied to 'Specific Targets'.
    Refer to:
    http://docs.oracle.com/cd/E24628_01/doc.121/e25161/views.htm#sthref1292
    Oracle® Enterprise Manager Cloud Control Extensibility Programmer's Reference
    12c Release 2 (12.1.0.2)
    Part Number E25161-07
    18 Using Management Repository Views
    For Metric details with threshold you can refer to repos table MGMT$TARGET_METRIC_SETTINGS
    example query
    set markup html on spool on
    set pages 9999
    spool /temp/metricdef.html
    TTITLE LEFT 'MetricThresholds Settings'
    Select distinct target_type, target_name, column_label, metric_name, metric_column, key_value,
    decode(WARNING_OPERATOR, 0,'GT',1,'EQ',2,'LT',3,'LE',4, 'GE',5,'CONTAINS', 6,'NE',7,'MATCH'), WARNING_THRESHOLD,
    decode(CRITICAL_OPERATOR, 0,'GT',1,'EQ',2,'LT',3,'LE',4, 'GE',5,'CONTAINS', 6,'NE',7,'MATCH'), CRITICAL_THRESHOLD
    from MGMT$TARGET_METRIC_SETTINGS
    where WARNING_THRESHOLD > ' '
    and CRITICAL_THRESHOLD > ' '
    order by 1,2,4,5;
    spool off
    set markup html off
    Ref
    How to Get the Current Critical and Warning Thresholds on Different Targets in Cloud Control 12c ? (Doc ID 1538897.1)

  • Extract metadata from PDF

    Hi all
    Maybe the wrong category to post this question but I am wondering if it is possible to extract the metadata from PDF document as well as we do from images?
    Since both metadata are based on XMP from Adobe it should theoretically be possible. Anybody knows how?
    Thank you.
    Nitai

    XMP extraction from PDF format files is not implemented by interMedia.
    You can learn more about XMP at the Adobe web site. It is possible to create a simple XMP extractor by implementing a byte scanner that looks for the XMP indicator string. However, I believe that the PDF format allows for some object blocks to be marked old or superseded by newer blocks. Thus it may be possible to have more than one XMP block in a PDF file. You would need to know more about PDF format to determine which is the current block.

  • I am trying to extract metadata from essbase into a flat file using ODI.

    I have 2 questions in this regard :
    Some of the account members storage property is missing in the extract.the reason which i suspect is due to the parent child sorting that did not happen while extracting.How do i do this.I do not see this option when i select IKM hyperion Essbase Metadata to SQL....
    I have many account members that have more than one UDA's upto 5 UDA's.But in my extrcat only one UDA appears.How do i incorporate all the UDA's in a single column,sperated by a comma,the extract file as such is semicolon seperated,mainly because of this reason and some alias descriptions have comma's in the source system
    ODi is extracting metadata in a descending order.How do i change it to sort records in parent child order
    Thanks,
    Lingaraj
    Edited by: user649227 on 2009/06/10 6:50 AM

    Hi,
    There was an issue with early versions of the KM around the storage property, this has since been resolved. I recommend upgrading to the latest release of ODI or have a look through the patches.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • [CS2, JS] Extracting Metadata from Images

    I have to place about 100 images into a document and label them with metadata from the images (Description and author)
    I'm happy just for the data to be pulled from the image and placed in a text frame over the image - i can reposition it later.
    any suggestions on how to go about this - or where to start on a script to do it?

    Look at Olav's script called LabelGraphics.jsx
    Loic

  • Error when Extracting Metadata from ECC

    Hello,
    DS 4.2 was working fine with ECC after the creation of RFC connection. I was able to pull some of the tables. but after Basis team made some security changed with the objects, I am not able to pull the metadata from ECC.It is showing the following error. Can any one help me with this.

    Hi Navinchandar Selvaraj,
    As per there discussion
    Yeah it is not a best practice to assigning SAP_ALL. You should create a new role with authorization. Please contact your basis team. Ask them to create a New role and grant Authorizations. But in some cases SAP recommended to assign SAP_ALL authorization. 
    Hope this will help you out
    Authorization Profile SAP_ALL - Identity Management - SAP Library
    This composite profile contains all SAP authorizations, meaning that a user with this profile can perform all tasks in the SAP system. You should therefore not assign this authorization profile to any of your users. We recommend that you create only one user with this profile. You should keep the password of this user secret (store it in a safe) and only use it in emergencies (see also Protective Measures for SAP*).
    Instead of using the SAP_ALL profile, you should distribute the authorizations it contains to the appropriate positions. For example, instead of assigning your system administrator (or superuser) the authorization SAP_ALL, assign him or her only those that apply to system administration, namely the S_* authorizations. These authorizations give him or her enough rights to administer the entire SAP system, without allowing him or her to perform tasks in other areas such as Personnel.
    Best Practice - How to analyze and secure RFC connections - Security and Identity Management - SCN Wiki
    Regards,
    Akhileshkiran

Maybe you are looking for

  • Lost my ipod don't know the serial number

    i think i lost my ipod touch 4 gen in ephraim today while i was there. the wifi is on but its not conected. i can't file a report because i can't remember the serial number and my account says that its not registered but i know that it is. how can i

  • Links in User Object in aspx

    I have a user object that I use on my aspx page. If I use the same style sheet on my page inside my user object the object displays fine. But if I take the link out of the object, the page doesn't display correctly in the design view. Even though the

  • Problems after patch 120230-08

    I have installed that patch and i encountred a lot of problems. I'll start with the most important SSL imap, pop3 doesn't work. After upgrade i noticed that my ssl certification is out of date so i tried to recreate it /opt/sun/messaging/sbin/certuti

  • Crash on Save as CS5 file from CS6

    I have an Illustrator file I created in CS6 but need to export it for a client as they only have CS5. Every time I try to 'Save As' and choose CS5, Illustrator crashes. I've had other designers try as well and it also crashes for them. I'm running: O

  • Hash partitioning v. list partitioning on surrogate key + partition pruning

    Hi, Have a large fact table with surrogate keys, therefore queries are of form select dimension.attribute.. from fact, dima, dimb.. where facta.dima_surrogate_key = dima.dimension_key and facta.dimb_surrogate_key = dimb.dimension_key and dima.attribu