How to extract data from child form in OIM 11 g

Hi all

Can someone help me to fetch the child form given in OIM 11 g. I have the attribute multivalue in the child table. I am currently using the following code snippet to pick up the child, form data, but I'm not a great success. I get only the first record. Please let me know where I am going wrong.

long formDefKey = formInstanceOperationsIntf.getProcessFormDefinitionKey (processKeyInstance);
int iVersion = formInstanceOperationsIntf.getProcessFormVersion (processKeyInstance);

tcResultSet childFormDefs = formInstanceOperationsIntf.getChildFormDefinition (formDefKey, iVersion);

for (int i = 0; i < childFormDefs.getRowCount (); i ++) {}
childFormDefs.goToRow (i);
tcResultSet childForm = formInstanceOperationsIntf.getProcessFormChildData (childFormDefs.getLongValue ("Structure Utility.Child Tables.Child Key"), processKeyInstance);
String [] childColumnName = childForm.getColumnNames ();
try {}
for (int index = 0; index < childColumnName.length; index ++) {}
System.out.println ("name:" + childColumnName [index]);
System.out.println (childForm.GetStringValue (childColumnName [index]));
}
} catch {(tcColumnNotFoundException columnNotFoundException)
throw new Exception ("error occurred then that of child column names:" + columnNotFoundException);
}


Thanks in advance.

Try this code. pass the 'processInstanceKey' of your adapter and test :)
The values that you also want to change the columns of the child table (UD_ADUSRC_KEY, UD_ADUSRC_VALUE etc.).

===============================
tcFormInstanceOperationsIntf formIntf = OimServiceManager.getTcFormInstanceOperationsIntf ();
long pFormDefinitionKey = formIntf.getProcessFormDefinitionKey (processInstanceKey);
int pFormVersion = formIntf.getProcessFormVersion (processInstanceKey);

Get the definition of the child form.
tcResultSet formChildDefRS = formIntf.getChildFormDefinition (pFormDefinitionKey, pFormVersion);

Get the key to the definition of child form
long pchildFormDefKey = 0;
If (formChildDefRS! = null) {}
formChildDefRS.goToRow (0);
try {}
pchildFormDefKey = formChildDefRS.getLongValue ('Structure Utility.Child Tables.Child Key');
} catch (tcColumnNotFoundException e) {}
Logger.info ("tcColumnNotFoundException occurred in formChildDefRS.getLongValue");
}
}

tcResultSet adChildFormData = formIntf.getProcessFormChildData (pchildFormDefKey, processInstanceKey);

for (int i = 0; i)< ((tcresultset)adchildformdata).getrowcount();="" i++)="">
((tcResultSet) adChildFormData) .goToRow (i);
long adUsrcKey = adChildFormData.getLongValue("UD_ADUSRC_KEY");
String adUsrcGroupName = adChildFormData.getStringValue ("UD_ADUSRC_GROUPNAME");
Logger.info ("adUsrcKey:" + adUsrcKey + "\t adUsrcGroupName:" + adUsrcGroupName);
}
===============================

Tags: Fusion Middleware

Similar Questions

  • How to extract data from a signed pdf that was sent to me.

    I can extract data from a PDF file that is not signed, but how to extract data from a signed PDF? Exporting data option does not work once it is signed. Specifically, I want to combine the data into a csv file, but a PDF signed does not to me.

    Hi evanb92625060,

    It is not possible to extract (using Acrobat |) Collection and management of the PDF to form data) data from a signed PDF form is that it locks all fields in the form.

    Kind regards
    Nicos

  • How to extract data from SQL server in the FDM

    Hi Experts

    How to extract data from a SQL server HFM to another SQL Server using scripts for integration in FDQM?

    concerning

    Dev

    Could you clarify why you want to do this?

    If you try to synchronize two databases (apps) to have a backup or something running in a development environment, I suggest configuring replication between two databases. It would be much more effective to do it at the SQL Server level through the application of FDM, IMHO.

    Charles

  • How can I get data from child form

    Hello.
    IM an adapter to get the data in the main form based on the Instance of coding key.
    using this piece of code, I can get all the data in the main form.

    String response = "";
    formData tcResultSet = formIntf.getProcessFormData (Key);

    * if (formData.getTotalRowCount ()! = 0) {*}
    String [] columns = formData.getColumnNames ();
    * for (int i = 0; i < columns.length; i ++) {*}
    * response = response + columns [i] + '=' + formData.getStringValue (columns) + "\n";* ".
    *}*
    *}*

    Anyone know how to make data on child of forms?

    Thank you.

    Hello

    Try the following code:

    tcFormInstanceOperationsIntf tcforminstanceoperationsintf = apiFactory.getUtility ("Thor.API.Operations.tcFormInstanceOperationsIntf") (tcFormInstanceOperationsIntf);

    tcResultSet procChildFormDef = tcforminstanceoperationsintf.getChildFormDefinition (tcforminstanceoperationsintf.getProcessFormDefinitionKey (procInstKey), tcforminstanceoperationsintf.getProcessFormVersion (procInstKey));

    procChildFormDef.goToRow (0);

    long procChildInstKey = procChildFormDef.getLongValue ('Structure Utility.Child Tables.Child Key');

    tcChildResultSet = tcforminstanceoperationsintf.getProcessFormChildData (procChildInstKey, procInstKey);

    From there, you will get the child form result for the data set, you can loop and get the data you want.

    Hope this helps.

    Thank you best regards &,.
    Ankit

  • How to extract data from SAP and COBOL using ODI

    Hi people,

    Can you please let me know the procedures in ODI to extract data from SAP and COBOL?

    Thank you all for the help.

    Hello

    You can download the Patch 8571830 to Oracle metalink.

    It has a new technology 'SAP ABAP' and KMs to extract and load data-
    RKM SAP ERP and SAP to Oracle ERP LKM.

    Thank you

  • How to extract data from waveform

    I have prepared a VI for acquisition and analysis. I have data from NI 9203 manuplate (power source). I have to use a lot of channels and more than 1 sample of a channel so Daqmx read vi out of waveform module and it is not a choice for table 1 d. How can I this form to scale data and display 2 diffferent scale given in a graphic waveform?

    The DAQmx Read returns an array of waveforms.  Each waveform is t0, dt, Y components and optional attributes.  See the palette of waveform for tools to extract the components and build waveforms.

    To make your scaling that you do these things:

    1. Select the waveform you want to scale by using the Index table or index of waveform Array.vi.

    2. download the component Y of the selected waveform.

    3. resize it if Y' = m * Y = b, where is the original painting and the Y' is the matrix to scale.  You can use the standard digital functions for * and + because they work for arrays and scalars.

    4 build a new waveform using Y'.

    Lynn

  • Help: How to transfer data from one form to another form form

    Hello:

    I was wondering how / if it is possible to transfer data from form from one form to another form. I create a flow of forms, which are as follows: form of Incident report-> form of risk analysis-> error-> report form decision support survey Standard-> report form of risk control-> form of mitigation-> etc... You get the gist. It would be very time-consuming to constantly transfer the standard who, what, when, where and how from one form to the other. I was wondering how do? I have looked around on the net and this forum and couldn't find a tutorial or a guide? Is this possible with Adobe forms?

    I use a XML schema for the form to preload a list of employees and the standard list information and then publish the form to submit in PDF format for opening and tracking form mobile device. I notice that I can export the data in a form that is distributed in XML but I can't import in a distributed form. I'm a newb with code, but may contain a little of my own.

    An example of how to achieve this with a field name or something would be greatly appreciated! If you need anything, or a copy of the forms let me know!

    Thank you kindly,

    Al

    Hi Al,.

    I have here an example where the data in a single form are 'communicated' to other forms. Please note that there are specific script in each of the forms. It's a work in progress and one day I'll come back make a more polished example: http://assure.ly/qQivbm.

    See also John Brinkman's blog for a different approach: http://blogs.adobe.com/formfeed/2010/07/shared_data_in_packages_part_1.html and http://blogs.adobe.com/formfeed/2010/07/shared_data_in_packages_part_2.html.

    Good luck

    Niall

  • How to return data from PHP form MySQL

    I need to return data from a database MySQL, based on a simple form in a PHP page. The user will enter a zip code in a form and click a button to get all the records in a MySQL database that match the zip code entered by the user. I have configured MySQL database and I can return all records from a PHP page. What I have to do now is create the form and the code PHP to call the MySQL database. Can someone help me with how to do it?

    slpuyear wrote:
    > My apologies for the confusion. Can I get back all the data in the dataset,
    > However, I create a form to query the dataset object. I can do a simple
    > HTML form, but do not know how the action of the form to query my dataset
    > and return a subset of all data.

    Press F1 to open help for Dreamweaver. Go to develop Applications quickly
    > Construction of the ColdFusion Applications rapidly > building search and results
    pages (ColdFusion, ASP, JSP, PHP).

    --
    Adobe Community Expert David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • How to extract data from digital 1 d or 2D waveforms in a table or excel file?

    Hi all

    My DAQ gives me data in the form of a table 1 d or 2D-waverform digital time.

    How to export the data in an excel file or copy it into a table?

    Hi Prasanth,

    Some options come to mind:

    -pass the DAQmxRead to give you fair DBL tables instead of waveforms

    -use a conversion like this:

    -use functions of PDM, they accept waveforms...

  • How to extract data from the APEX report with stored procedure?

    Hi all

    I am doing a report at the APEX. the user selects two dates and click on the GO button - I have a stored procedure linked to this region of outcome for the stored procedure is called.

    my stored procedure does the following-

    using dates specified (IN) I do question and put data in a table (this painting was created only for this report).

    I want to show all the data that I entered in the table on my APEX report the same procedure call. can I use Ref cursor return? How to do this?

    Currently, I use another button in the APEX that basically retrieves all the data from table. Basically, the user clicks a button to generate the report and then another button for the report. which is not desirable at all :(


    I m using APEX 3.1.2.00.02 and Oracle 10 database.

    pls let me know if you need more clarification of the problem. Thanks in advance.

    Kind regards

    Probashi

    Published by: porobashi on May 19, 2009 14:53

    APEX to base a report out of a function that returns the sql code... Your current code goes against a Ref cursor returns the values...

    See this thread regarding taking a ref cursor and wrapping it in a function to channel out as a 'table' (use a cast to cast tabular function vale)...

    (VERY COOL STUFF HERE!)

    Re: Tyring to dynamically create the SQL statement for a calendar of SQL

    Thank you

    Tony Miller
    Webster, TX

  • How to extract data from your laptop with crushed Windows Vista without restoring to the factory settings?

    I ran a few updates, but before you restart the computer, I deleted many files.

    The result is that my Vista does not start, and only offered solution is to restore to factory State, which is not acceptable for me because I need data from the HARD drive.
    Y at - it an easy way to recover data from the HARD drive, or should I contact? Thank you.

    Need help on MS Answers was my last option before calling a service.

    But, luckily, I found a way. I just change the settings in the BIOS for SATA, Vista started, I restored some of the deleted files, and voila - it worked. Another reboot, BIOS have been changed on the previous settings, and now it works perfectly.

  • How to extract data from an arbitrary xml file and export it to a CSV friendly?

    Hallo,
    I am facing big problems in the use of XML files. I have a
    application that generates XML files with clusters containing arrays
    and scalars as in the example pasted below. My task is to
    Read it and export the data into a CSV document readable by a human.
    Since I do not know the actual content of the cluster, I need some sort
    Smart VI through the XML looking for berries
    and other data structures for export properly in the CSV file
    format (columns with headers).
    Thank you



    3


    6


    0



    1



    2



    3



    4



    5




    3.14159265358979



    Ciao

    Rather than to get the

    node, you can just go directly to the node since ' one that really interests you. Basically what it means to determine the elements of table how much you have, and it depends on if you have 1 or 2 knots . The rest is just of the child nodes and the next siblings. See attachment as a starting point. The attached XML file is a table 2D (change the .xml extension).

    Notes on the example:

    • I did not close properly references, so it's something you need to do.
    • It is limited to tables 1 d or 2D.
    • I suggest using a control path of the file to specify the input XML file and path of the file/folder control to specify the location of the output file.

  • How to extract data from old profile profile

    I have the raw profile data, but the migration of the entire folder on is not option.
    All I need at the moment is the:

    • history/bookmarks
    • session tabs
    • the list of addons
    • the data of the addon.

    How can I get those?

    It's a little complicated. This add-on can do most of the work for you.

    These modules can be a great help for the backup and restoration of Firefox

    FEBE (Firefox environment Backup Extension) {web link}
    FEBE you can quickly and easily backup your
    Extensions Firefox, history, passwords and more.
    Indeed, it is more than just backup - it will actually rebuild
    your saved individually into installable as files.
    It will also make backup of the files you choose.

    OPIE {web link}
    Import/export extension preferences

  • How to extract data from partially ipad from itunes backup

    My wife has removed some photos and voice Memos from my iPad 2. Luckily, I backed up their with iTunes two weeks ago. The question is that I need only restore a few items from the backup instead of a full restore. I don't want the existing data are overwritten by the backup. Is there any application for this? Or there are other ways out. Thank you

    Hello

    When you recharge an iPhone / ipad automatically saves it to iCloud on your wifi

    If you restore from a backup of cloud ipad, you should get all your apps / data folder.

    I have not use my PC for more than 2 years for iPhone / iPad all the updates and apps updates

    Fact on my WiFi.

    See you soon

    Brian

  • How to extract data from cluster of component-level?

    I use the harmonic Analyzer function to read the cluster of component-level, which cotain for channel 0 and 1 data

    But having problem with playing on the basic component for each channel (part of the table 1). Pleas help.

    Thank you

    Yes! What I need is a function of the index before using of unbundling by name to extract the desired data. THX

Maybe you are looking for