Retrieving MetaData from iFS Repository

I have loaded a recordset dat into ifs using xml.
sample code below:
<name>recordset1</name>
<archiveindex>
<archiverecord>
<field1>A1</field1>
<field2>zzz</field2>
</archiverecord>
<archiverecord>
<field1>A2</field1>
<field2>yyy</field2>
</archiverecord>
</archiveindex>
And by looking at the table structure I can see that the data has been loaded correctly.
But I am having trouble retrieving the recordset back, so that I can display on a jsp page?
I have managed to retrieve the number of records in the recordset by the following code.
Private PublicObjectInterface poAr[];
PublicObject po = folder.findPublicObjectByPath(m_path,File.separator);
poAr = po.getAttributeByUpperCaseName(RECORDS_ATTRIBUTE).getPublicObjectArray(ifsSession);
m_RecordCount = poAr.length;
But how do I now drill down to get the field information associated with this recordset.
I have look at the PurchaseOrder Example and it does tell (or that I am not see it) how to retrieve the actual data.
Any guidance in doing this task would be greatful.
Andrew
null

Garth,
Thanks for letting us know - we'll fix the link. In the meantime take a look at the "Warehouse Builder Design Repository Public Views" in OWB User Guide http://download-west.oracle.com/docs/html/B12146_01/d_pub.htm#sthref3736
Nikolai Rochnik

Similar Messages

  • Performance issue while fetching metadata from Informatica Repository

    I'm working on Informatica 8.6(ETL tool) which contains its own repository to save metadata and using their Mapiing SDK API's I'm developing a java application which fetches the objects from the repository.
    For this purpose by using "mapfwk.jar", i'm first connecting to the repository using RepositoryConnectionManager class and then at the time of fetching the metadata i used getFolder, getSource & getTarget functions.
    Issue: Program is taking to much time for fetching the folders. The time taken by it depends on the number of metadata objects present in it,i.e. as object number increases, time increases.
    Please advise how to reduce time for fetching metadata from repository.
    Source Code:
    #1 - Code for connecting to repository
    protected static String PC_CLIENT_INSTALL_PATH = "E:\\Informatica\\PowerCenter8.6.0\\client\\bin";
         protected static String TARGET_REPO_NAME = "test_rep";
         protected static String REPO_SERVER_HOST = "blrdxp-nfadate";
         protected static String REPO_SERVER_PORT = "6001";
         protected static String ADMIN_USERNAME = "Administrator";
         protected static String ADMIN_PASSWORD = "Administrator";
         protected static String REPO_SERVER_DOMAIN_NAME = "Domain_blrdxp-nfadate";
    protected void initializeRepositoryProps(){
    CachedRepositoryConnectionManager rpMgr = new CachedRepositoryConnectionManager(new PmrepRepositoryConnectionManager());
                      RepoProperties repoProp = new RepoProperties();
                      repoProp.setProperty(RepoPropsConstant.PC_CLIENT_INSTALL_PATH, PC_CLIENT_INSTALL_PATH);
                      repoProp.setProperty(RepoPropsConstant.TARGET_REPO_NAME, TARGET_REPO_NAME);
                      repoProp.setProperty(RepoPropsConstant.REPO_SERVER_DOMAIN_NAME, REPO_SERVER_DOMAIN_NAME);
                      repoProp.setProperty(RepoPropsConstant.REPO_SERVER_HOST, REPO_SERVER_HOST);
                      repoProp.setProperty(RepoPropsConstant.REPO_SERVER_PORT, REPO_SERVER_PORT);
                      repoProp.setProperty(RepoPropsConstant.ADMIN_USERNAME, ADMIN_USERNAME);
                      repoProp.setProperty(RepoPropsConstant.ADMIN_PASSWORD, ADMIN_PASSWORD);
                      rep.setProperties(repoProp);
                      rep.setRepositoryConnectionManager(rpMgr);
    }#2 - Code for fetching metadata
    Vector<Folder> rep_FetchedFolders = new Vector<Folder>();
    public void fetchRepositoryFolders(){
              initializeRepositoryProps();
              System.out.println("Repository Properties set");
              //To fetch Folder
                    Vector<Folder> folders = new Vector<Folder>();
              folders = (Vector<Folder>)rep.getFolder();
                    for(int i=1 ; i < folders.size(); i++){
               Folder t_folder = new Folder(); 
               t_folder.setName(((Folder)folders.get(i)).getName());
               Vector listOfSources = ((Folder)folders.get((i))).getSource();
                            //To fetch Sources from folder
                   for(int b=0; b<listOfSources.size();b++){
                    Source src = ((Source)listOfSources.get(b));
                    t_folder.addSource(src);
              Vector listOfTargets = ((Folder)folders.get((i))).getTarget();
                            //To fetch Sources from folder
                   for(int b=0; b<listOfTargets.size();b++){
                     Target trg = ((Target)listOfTargets.get(b));
                     t_folder.addTarget(trg);
                   rep_FetchedFolders.addElement(t_folder);
              }

    Hi neel007,
    Just use a List instead of a Vector, it's more performant :
    List<Folder> rep_FetchedFolders = new ArrayList<Folder>();If you need to synchronize your list, then
    List<Folder> rep_FetchedFolders = Collections.synchronizedList(new ArrayList<Folder>());Also, if you're using Java 5 or higher and if you're sure listOfTargets contains only Target objects, instead of this
    for(int b=0; b<listOfTargets.size();b++){
       Target trg = ((Target)listOfTargets.get(b));
       t_folder.addTarget(trg);
    }you may do this :
    for (Target trg : listOfTargets) {
       t_folder.addTarget(trg);
    }Edited by: Chicon on May 18, 2009 7:29 AM
    Edited by: Chicon on May 18, 2009 7:35 AM

  • How to retrieve data from content repository

    Hi experts,
    I use the report RSIRPIRL to relocate data (by date) from SOFFCONT1 table into my EE content repository. For testing purpose I would like to retrieve those data from the content repository. I tried with the Business document navigator (OAOR) without explicit result.
    Any inputs how to access those relocated data?
    Regards.

    Hi all,
    I was able to move on but I still need some help.
    I review the tables DMS_PH_CD1, DMS_PHIO2FILE or DMS_DOC2LOIO, SOOD, SOFM, SOC3.
    From the content repository I can see documents with fields business object type (ZIXIILLDGR, BUS2081..), sap object ID, document type.
    I  was able to find the link between physical and logical document ID and class, still I not able to see in which tables the fields business object type (ZIXIILLDGR, BUS2081..), sap object ID, document type are saved and how they link together.
    If I re-phrase, when you execute transaction OAOR, in the identification of application object you have the field class name (Business object field with transaction OAAD). In which table is that field located in sap and how that field is link to the sap object ID as well as document type?
    Could someone please give me an input on that?
    Regards,

  • Image Document Service Connector: Can't retrieve metadata from jpeg image

    I'm using SES 10.1.8.4 with the Image Document Service Connector.
    I've entered some metadata IPTC in a buch of images (with picasa, for instance) and added a new file datasource combined with a new pipeline as explained in the Patch Set Readme (p7514463_101840_WINNT)
    After indexing, I can't retrieve nothing of my images with a simple search.
    Did anybody make tests with this new feature ?
    Thank you in advance,
    Patrick.

    Ok, I havn't read all your code because it's quite a lot and I might have the answer for you already.
    Maybe the problem is that your Nokia is still connected to your computer.
    I had the same problem on my Nokia 6021. I installed my app through the Nokia PC Suite. And it showed all the devices, but it couldn't find any services on any of the devices. Which was strange because most devices have some standard services running. The problem was that after installing the app, the Nokia was still connected/paired with the PC. After deleting the pairing, services magically appeared.
    I hope this solves your problem (more than six months after your post ;) ).

  • Issue with "Retrieving Metadata from a Custom Lookup Implementation"

    Hello,
    I have a use case where i need to find meta data files from a custom location instead of CLASSPATH. I followed the following article in creating my "Custom XML Context Implementation"
    http://download.oracle.com/docs/cd/A97336_01/buslog.102/bc4j/developing_bc_projects/obcCustomLookup.html
    But when running from jdeveloper, and i wanted to use it only for ADFm layer so i used -Djbo.project=<my-databindings-location>
    If i use CPX file for this java option, framework complaining about JPX file, if i use valid path for JPX it complains about CPX file ....
    I infact created a sample UI project which will have POJO as data control but still framework complaining about JPX file.
    Is this approach not supported in 11g? Or is there a diff article for ADF 11g is available for approach?
    Appreciate your help.
    Thanks,
    Sunil.

    Hi,
    On that Column in required property choose "ui only" instead of "yes".
    and then on cancel it will not throw error but when you will save the changes then you would have to programatically
    handle the null value of that column.
    Thanks,
    Gaurav

  • Extracting document metadata from CM repository

    Dear Experts,
    Need your help for extracting the document meta data.
    We have many documents in our CM repository (NW2004s, EP 7.0, SP14) and we want to migrate those documents. Till now with the help of "GetRepository" webservice "Get content" property we are able to extract Document properties such as
    1. Document size
    2. Document type
    3. Author
    We are still struggling to get important properties such as Access right, Subscription and life time of the folder.
    Could any one guide me in this please?
    Thanks and regards,
    Pradnya

    Garth,
    Thanks for letting us know - we'll fix the link. In the meantime take a look at the "Warehouse Builder Design Repository Public Views" in OWB User Guide http://download-west.oracle.com/docs/html/B12146_01/d_pub.htm#sthref3736
    Nikolai Rochnik

  • Problem: Unable to retrieve workflow data from MDM repository

    This is a new MDM installations scenario for version 5.5 SP05 (5.5.40.83).
    After installing MS Visio, finding problems connecting it with the MDM Data Manager. After doing MDM workflow installations, able to initiate the MS Visio Workflow from MDM Data Manager and can see the Pane-MS Visio Workflow Stencil but not the able to see the Pane-MS Visio Workflow Stencil Details that appears below the Pane-MS Visio Workflow Stencil. Secondly geting a pop-up with the error message as - 'Unable to retrieve workflow data from MDM repository.'
    I have added a parameter Mail Server=MailServerIPAddess (the existing IP addr), but it hasn't helped.
    Can any one please help me in this !

    Hi
    As Felix mentioned, it might be a version compatibility problem.
    You have also mentioned that mail server is not working for that  do this
    Mailserver = SMTP server.company.com ( ex. Mail.company(xxxxx).com)
    MDM workflow notify task is working after rebooting the Machine. So the rule is after making changes to MDS.ini file reboot the machine ,to observe the consequence of configurable changes.
    If u need anything this let me know.
    Regards
    Hari

  • Slow content retrieval from content repository on Weblogic8.1 portal server

    The performance of content retrieval from content repository on Weblogic8.1 portal
    server is very slow. Image retrieval takes too much time. Is there any solution
    or workaround to improve the performance.

    More information is required to help you.
    What is the time for retrieval? What is the time for the entire page load?
    What database are you using?
    How many Nodes are in the repository?
    What do the Node types (a.k.a. Object Classes) look like? How many
    properties per Node?
    If using Oracle or MSSQL, did you run statistics.sql?
    (http://google.bea.com/search?restrict=wlp81&ie=&q=statistics.sql&site=bea&output=xml_no_dtd&client=bea&access=p&lr=&btnG.y=0&btnG.x=0&ip=216.148.48.12&proxystylesheet=http%3A%2F%2Fdev2dev.bea.com%2Fimages%2Fdev2dev.xsl&oe=&filter=p)
    Have you adjusted or disabled the content caches?
    Greg
    Koshy Varghese wrote:
    The performance of content retrieval from content repository on Weblogic8.1 portal
    server is very slow. Image retrieval takes too much time. Is there any solution
    or workaround to improve the performance.

  • Metadata from Oracle BI Repository

    Hi everyone,
    Anybody knows how to get the metadata from an Oracle repository? Is there any utility that can be run in batch? Or is there any API to do this?
    Any help appreciated..
    Thanks,
    DAG

    Pick what you are looking for and then look for it. For example, I'm looking for a user named findme.
    D:\BIPv4\xmlp\XMLP\Admin\Security\principals.xml found in this file.
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <principals>
    <users>
    <user username="administrator" password="E4E3AB4D861260260DF801CE971DDEC63EF61320F874">
    <roleMapping rolename="XMLP_ADMIN"/>
    <roleMapping rolename="XMLP_DEVELOPER"/>
    <roleMapping rolename="XMLP_SCHEDULER"/>
    <roleMapping rolename="XMLP_ANALYZER_ONLINE"/>
    <roleMapping rolename="XMLP_ANALYZER_EXCEL"/>
    <roleMapping rolename="XMLP_TEMPLATE_DESIGNER"/>
    </user>
    <user username="bip" password="B962E1AC4604187A623183111DB30B4A8A92C688DD1A">
    <roleMapping rolename="XMLP_ANALYZER_EXCEL"/>
    <roleMapping rolename="XMLP_ANALYZER_ONLINE"/>
    <roleMapping rolename="XMLP_DEVELOPER"/>
    <roleMapping rolename="XMLP_SCHEDULER"/>
    <roleMapping rolename="XMLP_TEMPLATE_DESIGNER"/>
    <roleMapping rolename="BI_USER"/>
    </user>
    <user username="findme" password="B6C2AFB252F603B8DBFEA5A957EB00BF216D3DA5B7D8"/>
    </users>
    <roles>
    <role name="BI_USER" description="">
    <parentRole rolename="XMLP_ADMIN"/>
    <parentRole rolename="XMLP_ANALYZER_EXCEL"/>
    <parentRole rolename="XMLP_ANALYZER_ONLINE"/>
    <parentRole rolename="XMLP_DEVELOPER"/>
    <parentRole rolename="XMLP_SCHEDULER"/>
    <parentRole rolename="XMLP_TEMPLATE_DESIGNER"/>
    </role>
    </roles>
    </principals>

  • Retrieving XSLT from repository

    Hi,
    I have a subworkflow that gets a XML document as input.The subsequent task in this workflow get needs to transform this XML into another format using a XSLT from the repository. Now, the name of the XSLT is also a provided as a tag in the incoming XML. So the task first retrieves the name of the XSLT from the incoming XML and stores it in a variable of type String. Is it possible now, to use this variable in XPath to apply the transformation?
    Thanks.
    Ramesh

    I believe that you can use the name of the XSLT to retrieve the XSL document (inside
    the Expression field on the XSL Transform dialog) -- but I don't think it will
    look in the repository. You may have to build a url to retrieve it. If not,
    WLI might look in the domain directory for the name you supplied. I don't know
    how paramters would handled in this case.
    Ramesh <[email protected]> wrote:
    Hi,
    I have a subworkflow that gets a XML document as input.The subsequent
    task in this workflow get needs to transform this XML into another format
    using a XSLT from the repository. Now, the name of the XSLT is also
    a provided as a tag in the incoming XML. So the task first retrieves
    the name of the XSLT from the incoming XML and stores it in a variable
    of type String. Is it possible now, to use this variable in XPath to
    apply the transformation?
    Thanks.
    Ramesh

  • Exporting Page Metadata from Repository

    I am using the Export.bat to export the page from MDS repository but unsuccessful in exporting the page. Does any one have example of how to export a page to C:\jdev\jdevhome\jdev\myprojects\... from the repository?

    Ya i ran this before some time. it was working fine to me.
    export /ava/oracle/apps/pa/CustCredit/webui/AbcPG -rootdir "C:\jdeveloper\jdevhome\jdev\myprojects" en-US -username apps -password abc -dbconnection "(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY = tcp.world)(PROTOCOL = TCP)(Host = HostName)(Port = 800)))(CONNECT_DATA = (SID = yoursid)))"
    Hope it would help you.
    Thanks

  • Migrating from ifs 1.1.9 to 9ifs ?

    Hello,
    We want to update from ifs 1.1.9 to 9ifs. Since we've got already quite large amounts of data (inkl. MetaData) within the ifs repository, we need to find a way to move the data from the old ifs to the new one.
    The migration section in the Installation Guide suggests to use SMB or FTP to transfer the data. But this kills all our custom classes and metadata.
    Does anybody 've got an idea ?
    Cheers,
    Jens

    There is no migration necessary for upgrading from iFS 1.1.9 to 9iFS (version 9.0.1). The steps to upgrade are:
    1. backup everything you have (as always)
    2. upgrade the database to at least 8.1.7.2 (9i is recommended)
    3. install (upgrade) the iFS software to 9.0.1
    4. upgrade the iFS schema
    step 4 is the most important and what you seem to be concerned about. not to worry -- the schema upgrade will preserve all of your data including metadata.
    and it's very easy, the whole thing is automatic.

  • Error while Importing Metadata into DAC Repository

    Hi,
    After the successful first time login into DAC and creating repository, when I try to import metadata into DAC repository.
    DAC > Tools > DAC Repository Management > Import
    I don't see any Applications listed under "Application List"
    Can anybody suggest the troubleshooting steps for this?
    Regards,
    Jitendra

    If this is the first time that you are importing make sure that the directory you are importing from is like this -
    C:\OBIEE\OracleBI\DAC\export
    If this is not the first time then
    Can you go inside the following directory
    C:\OBIEE\OracleBI\DAC\log
    and check for export.log - Look for Applications Section, if you have any application then you had exported it and you should see it under the applications tab when importing otherwise you don't !!Since its an xml file that is generated i believe you have not exported by selecting the applications yo want and that is your problem.
    Hope this helps !!
    Cheers,
    Sid

  • Timeout when retrieving document from Content Server

    Dear experts,
    after the migration of an R/3 Enterprise system with a file-based Content Server (CS without database) we experience significant delays when a document shall be retrieved from the Content Server and displayed.
    The repository, from which documents are retrieved, has the following properties:
    Document Area = ArchiveLink
    Storage Type = HTTP content server
    Obviously the delay is caused by time-outs when R/3 tries to access the content sever.
    The RFC trace recorded during the document retrieval contains the following entries:
    Trace file opened at 20100825 104048 CEST SAP-REL 640,0,304 RFC-VER 3
    Trace file opened at 20100825 104115 CEST SAP-REL 640,0,304 RFC-VER 3
    End of trace *****
    ======> CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456
    Timeout beim Verbindungsaufbau (Partner vorhanden ?)
    ABAP Programm: SAPLSCMS_CLTFC (Transaction: )
    Called function module: RFC_PING
    User: TSI0403 (Client: 007)
    Destination: SAPCMS (handle: 4, , {4C74C1A6-BD3B-3B59-E100-00001A5F0A18})
    SERVER> RFC Server Session (handle: 1, 41571399, {4C74D031-BD2C-3B58-E100-00001A5F0A18})
    SERVER> Caller host: cimpd38_MPD_38
    SERVER> Caller transaction code: MIR4 (Caller Program: CL_GOS_TOOLBOX_VIEW===========CP)
    SERVER> Called function module: GOS_EXECUTE_SERVICE
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 3268
    CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456
    Timeout beim Verbindungsaufbau (Partner vorhanden ?)
    Error RFCIO_ERROR_MESSAGE in abrfcio.c : 1660
    ======> CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456
    Timeout beim Verbindungsaufbau (Partner vorhanden ?)
    ABAP Programm: SAPLSCMS_FE_RFC (Transaction: )
    Called function module: RFC_PING
    User: TSI0403 (Client: 007)
    Destination: SAPHTTP (handle: 6, , {4C74C1B4-BD3B-3B59-E100-00001A5F0A18})
    SERVER> RFC Server Session (handle: 1, 41571399, {4C74D031-BD2C-3B58-E100-00001A5F0A18})
    SERVER> Caller host: cimpd38_MPD_38
    SERVER> Caller transaction code: MIR4 (Caller Program: CL_GOS_TOOLBOX_VIEW===========CP)
    SERVER> Called function module: GOS_EXECUTE_SERVICE
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 3268
    CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456
    Timeout beim Verbindungsaufbau (Partner vorhanden ?)
    Error RFCIO_ERROR_MESSAGE in abrfcio.c : 1660
    I wonder why R/3 first attempts to contact the Content Server via the SAPCMS RFC destination rather than using HTTP (SAPHTTP)? - The connection tests for both RFC connections are successful.
    Is there a way to instruct R/3 to go via the SAPHTTP RFC destination as the first choice and NOT via SAPCMS when documents shall be retrieved and displayed?
    Thank you,
    Rainer Walter
    Edited by: Rainer Walter on Sep 3, 2010 3:07 PM

    Hi Ravindra,
    thank you for looking into this problem. The Content Server is not based on SAP DB/MaxDB. The repositories are represented as plain directory structures in a file system.
    My issue is that R/3 is not using the SAPHTTP RFC connection as first choice although the repository is flagged as "HTTP Content Server" but uses another RFC destination instead. When this attempt is timed out, R/3 eventually picks the appropriate RFC destination. So it takes a considerable amount of time until a requested document is finally retrieved from the repository in the Content Server.
    I am confused because the system where I experience this behaviour has been built from a system copy of a production system, and the Content Server for this new system has been built from scratch. In the original production system, no timeout is found when users are retrieving documents, and obviously the original R/3 system is using SAPHTTP right away. The original production system and the new system built from a system copy are accessing different Content Servers.
    I am looking for a way to instruct the new R/3 system to immediately use the SAPHTTP connection when talking to the Content Server, and I would be grateful for a hint where I can configure this to get rid of these timeouts.
    Best regards,
    Rainer

  • Error reading IDoc Metadata from CRM 5.0 (Basis 7.0) through XI 3.0

    We are not able to generate the IDoc metadata from XI 3.0 through IDX2 for port/RFC destination pointing to SAP CRM 5.0 which runs on the Basis 7.0 Web application server.
    Has anyone run into this issue?  We get the dialog box with information "I::000" Message no. 000.  The metadata is not generated at all.
    We have no problem generating IDoc metadata for other SAP systems including 6.40 and 4.6C basis layers.  Is there something different with 7.0 Basis?
    Thanks,
    Jay Malla
    SAP XI Consultant
    Licensed To Code

    Hi Renjith,
    Thanks for the suggestion.  We've already tried that out - the RFC call IDX_STRUCTURE_GET works from SE37 using the RFC destination that we have defined for the CRM system which is referenced in the port.  We can debug from the XI system into the CRM system and the data is returned correctly.  We can also generate the IDoc schema from the Integration Builder Repository.
    However, we cannot generate the metadata from IDX2.  If we point the port in IDX1 to another RFC destination for a non Basis 7.0 system, the metadata generation works.  So it seems that something is strange regarding generating the IDoc metadata for Basis 7.0 systems.
    Regards,
    Jay

Maybe you are looking for

  • Reset Cleared Documents and Vendor Open Items Report FBL1N

    Hi all, I have following scenario: - In last month, we had 2 documents (invoice and payment) cleared against each other. We created open items report as well as open items correspondence sent to Vendor. Obviously, the docs were not included in report

  • Count() function throws error in EQL query for metric

    Hi I am trying to use count function in EQL query for Metric Bar to show the number of occurrences of a record. When the record type doesn't exist i expect the function to return count as 0. Instead the function throws a runtime exception and the who

  • Can OS be installed and run from a Firewire drive?

    Hello, I recently started to switch from WindowsXP to a Mac Mini. I was considering installing WindowsXP to a drive that I put into my AMS Venus 3.5" drive enclosure. This is a combination enclosure that supports USB 2.0 and Firewire 400. I've never

  • Audible Audiobooks Won't Play

    I recently joined Audible.com and downloaded a couple of books. Neither one will play properly on my iPhone though both play fine on iTunes on my PC. The iPhone behaviour is to start playing and then stop some random time into the book - about 5 mins

  • ARRAY2DXYOBJECTS and SORTED_OBJECT

    Hello, has anyone some experience with the more advanced output-bindings: -> /SDK/documentation/API/index.html ARRAY2DXYOBJECTS : String = "xcelsius.binding.tableMaps.output.TableToArray2DXYObjects" [static] Multiple columns or rows of cells are outp