Create Object Function with Custom ICF Connector

Hi,
I am developing an ICF Custom Connector. When provisioned a user, the user is created on the target succesfully but the process remains on the "Provisioning" status. When i control the log file, i see the following error:
[oim_server1] [ERROR] [] [ORACLE.IAM.CONNECTORS.ICFCOMMON.PROV.ICPROVISIONINGMANAGER] [tid: [ACTIVE].ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: c4b0db765c688017:-2d2de9cf:13c04b25533:-8000-0000000000002b20,0] [APP: oim#11.1.2.0.0] oracle.iam.connectors.icfcommon.prov.ICProvisioningManager : createObject : Error while creating user[[
java.lang.IllegalArgumentException: null field label doesn't exist
     at oracle.iam.connectors.icfcommon.service.oim9.OIM9Provisioning.getFieldName(OIM9Provisioning.java:174)
     at oracle.iam.connectors.icfcommon.service.oim9.OIM9Provisioning.setFormField(OIM9Provisioning.java:63)
     at oracle.iam.connectors.icfcommon.service.oim11.OIM11Provisioning.setFormField(OIM11Provisioning.java:299)
     at oracle.iam.connectors.icfcommon.prov.ICProvisioningManager.createObject(ICProvisioningManager.java:277)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpICFCREATEOBJECT.CREATEOBJECT(adpICFCREATEOBJECT.java:109)
     at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpICFCREATEOBJECT.implementation(adpICFCREATEOBJECT.java:54)
     at com.thortech.xl.client.events.tcBaseEvent.run(tcBaseEvent.java:196)
     at com.thortech.xl.dataobj.tcDataObj.runEvent(tcDataObj.java:2492)
     at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(tcScheduleItem.java:3181)
     at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(tcScheduleItem.java:753)
     at com.thortech.xl.dataobj.tcDataObj.insert(tcDataObj.java:604)
Thanks
Fyigit

null field label doesn't exist you have to create return field in process form and map this field to provisioning lookup. In this lookup CodeKey should be your process form field and Decode should be __UID__
Test the provisioning again...

Similar Messages

  • Custom ICF Connector for Salesforce

    Gurus,
    I am new to the concept of ICF connector.
    I got a new requirement to develop a custom ICF connector for salesforce.
    Are there any samples for salesforce to which u can direct me? A lot is there in google for flatfile which I don't understand how to use it for salesforce. I am looking for salesforce as I am not sure how to implement for it.
    Please help.

    I believe Salesforce exposes Create User/Update User etc Webservices. Just get it confirmed first and try to use OOTB Webservice connector to integrate with Salesforce.
    ~J

  • Custom ICF Connector; Upd ChildTableValues (delete) not sending group name

    I'm building a custom ICF connector implemented as a .Net bundle. The UpdateChildTableValues operations for add and update on groups pass the group name into the code but the delete does not. There doesn't seem to be any indication of the operation itself for groups so it seems the developer must handle target group memberships in the code, which is fine. However, if a delete doesn't send the group name, how do I know what group to even look for? It seems this also adds the burden of API calls against OIM to identify the user's group assignments as well as a target search to compare and decide what was removed.
    OIM 11gR1 on RHEL 6.4 (64-bit)
    11.1.2 Connector Server on Win2K8R2 (64-bit)
    .Net 4 target build/C# 4.0

    You have 2 options when working with child tables:
    1) use ICProvisioningManager#updateChildTableValues -- this provides the list of values after the update, so let's say the attribute has values group1, group2, group3, you remove group1 then the UpdateOp#update with attribute values group2, group3 will be called on your connector (so in this case your connector needs to implement UpdateOp). You are right, it might mean additional target API call in your connector (depending on target).
    2) use ICProvisioningManager#addChildTableValue, ICProvisioningManager#updateChildTableValue, ICProvisioningManager#removeChildTableValue -- when you use these methods, the connector will get the changes only. In the previous example UpdateAttributeValuesOp#removeAttributeValues with value group1 would be called on your connector. You connector needs to implement UpdateAttributeValuesOp to make this work.
    Tomas

  • Is there a way to create a project with custom audio settings that are NOT only "Stereo" or "Surround"?

    Is there a way to create a project with custom audio settings that are NOT only "Stereo" or "Surround"?
    Thanks!
    -Adrian

    the old apps are on my computer but they have had upgrades since they were put on the ipod originally.  you think you would get a warning about this when you restored. I was not worried about losing the progress of the apps but i would have been worried about the app it self!!!!!

  • How to create a function with ref_cursor as parameter in OWB 10.1

    Hi,
    Can any one help me how to create a function with ref_cursor as parameter in OWB 10.1.?
    Its urgent. Please help me.
    Thanks,
    Siv

    Hi David,
    Thanks for your reply.
    Before going for this function, I need to create a package in transformation node in owb module.
    My package is as follows,
    Create or replace package 123
    type xxx is RECORD ( parameters);
    type yyy is RECORD (parameters);
    type aaa is table of yyy;
    type bbb is REF CURSOR return xxx;
    type ccc is record (parameters);
    type ddd is ref cursor return eee;
    END;
    How can I create the above kind of package manually in OWB 10.1 (Should not to import the package)
    Please help me its urgent.
    Thanks,
    Siv

  • Create Document Set with custom Create Only permission set

    Here is the situation. We have a requirement where my customer wants to create document sets, however, document set/document level permissions are required.
    Setup: We created a new permission level called "Create Only". We then give the user Read and Create only permissions. This allows the user to theoretically create the item. We then run a Workflow on create that Replaces the permissions so that
    you are only allowed to view the ones you created along with other security groups based on their choices in the metadata fields.
    This setup works PERFECTLY when using a List or Form Library.
    However, for the life of me I cannot get it to work for Document Sets. If I have the same setup, I get an Access Denied message. However, it still creates the document set.
    What is weird, I've been playing around with custom permission levels and it seems as though the user has to have EDIT permissions at a minimum in order to create the document set. This will not work for me since I dynamically assign permissions to each
    document set based on what they select.
    As a side note, the only tool I have at my disposal is SharePoint Designer 2010.
    Does anyone know if there is an actual requirement to have EDIT permissions when creating a Document Set? Any input would be greatly appreciated.
    Alternatively, is there a way to setup permissions on a library for all NT Authenticated users so that we can give them the necessary permissions to create the Document Set, but still prevent them from see the other items and then the Workflow would set
    the permissions accordingly?
    I believe the more granular the permissions it uses those permissions instead so would this work?  I have not tested this theory yet.

    Hi,
    According to your description, my understanding is that you want to know if there is an actual requirement to have EDIT permissions when creating a Document Set and is there a way to setup permissions on a library for all NT Authenticated users and prevent
    them from seeing items created by others.
    For the first question, per my knowledge, if a user is given the Add Items permission, he/she can create a document set in SharePoint.
    However, there is an error “access denied” after the document set is created. It is due to the user has no permission to access the page which SharePoint will redirect the user to after finishing creating the document set.
    If the user is also given Edit Items permission, there will be no error when he/she create a document set.
    For the second question, I recommend to follow the link below to
    customize item permissions for each document submitted to a document library and remember to give the
    NT Authenticated users contribute permission.
    http://blogs.technet.com/b/spke/archive/2010/04/09/configure-item-level-permissions-for-document-libraries-sharepoint-2010-edition.aspx
    To grant permission to NT Authenticated users, please refer to the link below:
    http://office.microsoft.com/en-in/sharepoint-server-help/what-happened-to-add-all-authenticated-users-HA101805183.aspx
    Best regards.
    Thanks
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • On the AGO Function need to Create TODATE function with Diff levels - MTD,Q

    Hi All,
    My Basic Requirement is to Create Time Series Function on AAA ie ( Month To Date , Quarter To Date and Year To Date )
    The Logic for the AAA = XXX / Previous 3 Months Revenue.
    we know that we can use the AGO Function to create Previous 3 months Revenue with Month is Level . But the issue is .... i cant use AGO function since i need to perform Year to Date, QTD and MTD upon 'AAA' this OBIEE doesn't permit to use nested time series functions upon varying levels .
    So How can i Resolve the issue ie creation of TODATE function on the AGO Function with Diff levels
    Thanks,
    Swapna S

    hi,
    for your requirement create three repository variables like
    for previous 3 months create repository variable like
    select to_char(sysdate,'yyyymm') -3 from dual;
    for month to date first calculate first day of the month
    select To_Char(Add_Months(Last_Day(Sysdate),-1) + 1,'MM/DD/YYYY') from dual;
    after put a filter in answers date between first date of the present month and current date
    create the same thing for year to date
    calculate first date in the year like following query
    select To_Char(Trunc(Sysdate,'YEAR'),'MM/DD/YYYY') from dual;
    after that apply filter date b/w first date in the year and current date
    i hope it works for your scenario
    Regards
    Naresh
    Edited by: Naresh Meda on Nov 10, 2008 2:08 AM
    Edited by: Naresh Meda on Nov 10, 2008 2:12 AM

  • Creating a function with  a for loop and %type

    Hello,
    I am trying to create a function which contains a for loop as well as %type.
    This function is on a student table and i am trying to create a function which will display the zip which is a varchar2(5).
    I need to do this through this function.
    However, I can't seem to get it running.
    Can anyone help?
    below is what i tried as well as other options and was not successful.
    I also displayed my error with the show error command.
    SQL> create or replace function zip_exist
    2 return varchar2
    3 is
    4 v_zip student.zip%TYPE;
    5 cursor c_zip is
    6 select zip
    7 from
    8 student
    9 where zip=zip;
    10 begin
    11 open c_zip;
    12 v_zip IN c_zip
    13 loop
    14 v_zip:=c_zip%TYPE;
    15 end loop;
    16 close c_zip;
    17 end;
    18 /
    Warning: Function created with compilation errors.
    SQL> show error
    Errors for FUNCTION ZIP_EXIST:
    LINE/COL ERROR
    12/7 PLS-00103: Encountered the symbol "IN" when expecting one of the
    following:
    := . ( @ % ;
    16/1 PLS-00103: Encountered the symbol "CLOSE"
    SQL>
    kabrajo

    user10873577 wrote:
    Hello,
    I am trying to create a function which contains a for loop as well as %type.
    This function is on a student table and i am trying to create a function which will display the zip which is a varchar2(5).
    I need to do this through this function.
    However, I can't seem to get it running.
    Can anyone help?
    below is what i tried as well as other options and was not successful.
    I also displayed my error with the show error command.
    SQL> create or replace function zip_exist
    2 return varchar2
    3 is
    4 v_zip student.zip%TYPE;
    5 cursor c_zip is
    6 select zip
    7 from
    8 student
    9 where zip=zip;
    10 begin
    11 open c_zip;
    12 v_zip IN c_zip
    13 loop
    14 v_zip:=c_zip%TYPE;
    15 end loop;
    16 close c_zip;
    17 end;
    18 /
    Warning: Function created with compilation errors.
    SQL> show error
    Errors for FUNCTION ZIP_EXIST:
    LINE/COL ERROR
    12/7 PLS-00103: Encountered the symbol "IN" when expecting one of the
    following:
    := . ( @ % ;
    16/1 PLS-00103: Encountered the symbol "CLOSE"
    SQL>
    kabrajoTry This
    Create a sample table
    SQL> create table student(id number(10),zip varchar2(5));
    Table created.Insert the record
    SQL> insert into student values(1111,'A5454');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select * from student;
            ID ZIP
          1111 A5454
    SQL> create or replace function zip_exist(v_id number)
      2   return varchar2
      3   is
      4   v_zip student.zip%TYPE;
      5  BEGIN
      6   select zip
      7   INTO v_zip
      8   FROM student
      9   where id=v_id;
    10   Return v_zip;
    11  EXCEPTION WHEN NO_DATA_FOUND THEN
    12                  RETURN 'INVALD';
    13  WHEN OTHERS THEN
    14                 return  'NA!';
    15   end;
    16  /
    Function created.
    SQL> set serveroutput on
    SQL> select zip_exist(1111) from dual;
    ZIP_EXIST(1111)
    A5454
    SQL> select zip_exist(2222) from dual;
    ZIP_EXIST(2222)
    INVALDHope this helps
    Regards,
    Achyut K

  • Creating 3d Cube with Custom Texture in CS6

    Hi All,
    Spent the whole day at work, trying to figure out how to create a 3d box in CS6 with custom texture. Before explaining my problem, i saw couple of good 3d onject videos already, they helped me alot and i am close to my target but yet not finished
    Problem:
    I would like to create a 3d product box with custom textures, reflection and shadows. I have my top, front, back and side images in high quality.
    My Solution:
    1- With my box TOP image, i create the 3d layer.
    2- Because it creates the box with the top image looking front, i position it as the top image comes to the top of the box.
    3- I resize the box to the dimensions i would like to.
    4- Side, front and back textures are missing. As its a custom made box, i can only add all of them in one image so i merge them vertically in a file and add the texture in 3d section
    5- With UV scaling, i fit the image perfectly
    6- Adding light and reflections
    7- Render
    Now the main problem is, my images have the exact measures of the real product box and i would like to create a box with these dimensions.
    1- How can i play with the dimensions of the 3d box with numbers, such as pixel or cm ? As i can see, its only with %. Or is there an option so when i add the second image (side, front and back, merged), box's length dimension changes accordingly?
    2- How can i create 3d box and add different textures to different part of the box? I found CUBE MESH PRESET in the forums but no download link, EVEN IN THE DISCCUSION itself
    3- I have a i5-3570 , 8GB Ram, 1GB Radeon HD7750 at work, newly built. I work with high resolution files, and when i create my box and render it, some parts come out blur, why this is happening? At home i have a older PC, and it doesnt happen that much. Where i can modify the render quality or such a thing if it exists?
    Thanks in advance, this bugs me alot, if someone helps with this, i will be really happy !
    Buri

    The long and short version is: Use a 3D program. Blender is free, after all.
    1- How can i play with the dimensions of the 3d box with numbers, such as pixel or cm ?
    You can't. All units in PS are relativeand normalized to the scene.
    2- How can i create 3d box and add different textures to different part of the box? I found CUBE MESH PRESET in the forums but no download link, EVEN IN THE DISCCUSION itself
    That's what 3D-programs and UV layout tools are for. Creating an unfolded cube UV set is a 10 second thing. Here's one: http://www.mylenium.de/_temp/uv_box.zip.
    Where i can modify the render quality or such a thing if it exists?
    Select the Scene root to change the render mode and quality and also check the 3D section in the prefs.
    Mylenium

  • How to create new docs with custom swatch palette?

    Looking to create new documents with a corporate color palette already available instead of having to load the .ase files. Fat chance?

    Thanks Bob - I was trying that on a test MAC and it just was not sticking. A shutdown instead or a restart seemed to put things back in order and now all is good.

  • How to create contextual event with custom payload?

    I use the following code to invoke contextual event from my region via the "action-listener" of a command-link:
    <af:commandLink text="#{row[def.name]}" id="cl1"
    styleClass="tableLinkActive"
    actionListener="#{backingBeanScope.PanelToConveroFormManager.handleSelectedRow}">
    The following "action-listener" is designed to pass the current selected record key to the "consumer" of the contextual event:
    public void handleSelectedRow(ActionEvent actionEvent) {
    String currentRecordKey = getCurrentRecordKey();
    JUEventBinding eventBinding = (JUEventBinding)BeanUtils.getBindings().get("RefreshParentEvent");
    if (eventBinding != null) {
    ActionListener actionListener = (ActionListener)eventBinding.getListener();
    actionListener.processAction(actionEvent);
    How do I pass the "currentRecordKey" value as a custom "payload" via the event-binding "RefreshParentEvent" in the above code?
    Is there any code example on using contextual event with custom payload?

    Hi,
    the custom payload is referenced when you set up the event itself. You use EL in the custom payload definition to point to a managed bean method that when called accesses the current rowKey. The Java code you show just passes the ActionEvent of the ADF Faces command button and invokes the event. It does not manipulate the event definition.
    <eventBinding id="eventBinding"
                      Listener="javax.faces.event.ActionListener">
          <events xmlns="http://xmlns.oracle.com/adfm/contextualEvent">
            <event name="testEvent"
                   customPayLoad="#{mymanagedBean.rowKey}"/>
          </events>
        </eventBinding>Frank

  • How to create objects dynamically (with dynamic # of parameters)

    I need to create a set of objects based on a definition from an XML file (obtained from the server) and add them to my scene.
    I understand how to create the object using getDefinitionByName (and the limitations regarding classes needing to be referenced to be loaded into the SWF).
    But some objects require parameters for the constructor, and some don't. The XML can easily pass in the required parameter information, but I can't figure out how to create a new object with a dynamic set of arguments (something akin to using the Function.call(obj, argsArray) method.
    For example, I need something like this to work:
    var mc=new (getDefinitionByName(str) as Class).call(thisNewThing, argsArray)
    Currently this is as far as I can get:
    var mc=new (getDefinitionByName(str) as Class)(static, list, of, arguments)
    Thoughts?

    I think what Dave is asking is a bit different.
    He's wanting to know how to invoke the constructor of an object dynamically (when he only knows the # of constructor arguments at runtime).
    This class I know will do it but seems to be a hack:
    http://code.google.com/p/jsinterface/source/browse/trunk/source/core/aw/utils/ClassUtils.a s?spec=svn12&r=12
    See the 'call' method, which first counts the # of arguments then invokes one of 'n' construction methods based on the number of constructor args.
    I've yet to find a clean AS3 way of doing things ala 'call' though.
    -Corey

  • Create Object for archiving Custom Table

    Hi guru!!
    I have a problem, I must create a archiving object for custom table..
    I must create a report for READ, DELETE and ARCHIVING this type of table..
    colud you help me?
    thanks a lot guru!!!

    Hi,
    Steps..
    GO TO SE11
    Give the table name
    Press change..
    In the menu..UTILITIES -> TABLE MAINTENANCE GENERATOR.
    GIve the authorization group &NC&
    Choose the single step radio button..
    Give the screen number 1.
    Give the function group..Give the table name itself as the function group.
    Press create. button.
    Now the screen is generated..go to sm30 and maintain the table entries..
    Thanks,
    Naren

  • Change/Create purchase order with customer BSART via CIF

    Hi,
    we create Purchase Orders in SCM SNP.  Those POs are passed via CIF to R/3, but the Purchase orders should be created with a customer BSART.
    In SCM the POs currently use the standard ATPCategories. I found an exit in CIF_PO_INBOUND where you can change BSART, but at this point there is no access to the data from APO.
    Has anybody already implemented such a scenario?

    Hi Michael,
    I used CIF outbound user exit from APO , for filtering purchase requisions going to SAP R/3.
    You are creating purchase oders in SCM APO and transferring the same to SAP R/3 / ECC through CIF.
    We may have two options : Change the data before publishing to SAP R/3 from APO. This happens in APO , outbound .
    Otherwise we can change the data in the PO before it is created in SAP R/3 , for this we use user exit inbound SAP R/3.
    You have option of changing or enahancing purchase order data inbound in SAP R/3, before the PO is created in SAP R/3.
    The enhancement is CIFPUR02.
    With this enhancement, you can change purchase order data from your APO system before a purchase requisition or purchase order is created in the ERP system
    The enhancement contains the following components:
    EXIT_SAPLCPUR_001
    You can use this enhancement to change purchasing data (purchase requisitions, purchase orders) in ERP inbound. To do this, you can change the existing transfer data or include additional customer-specific data in your own tables.
    Other enhancements in the same
    EXIT_SAPLMEPI_004
    With this enhancement, you can change the header data of a purchase order before it is created in the ERP system.
    The following data can be changed:
    Document type (parameter CP_BSART)
    EXIT_SAPLMEPI_007
    You can use this enhancement to specify the document type of a purchase requisition or purchase order when they are created in the ERP system (parameter CP_BSART).
    There are other ehancements which I have not listed.
    I assume you can create an enhancemnet projects for incorporating the above enhancements in CMOD / SMOD transactions.
    I hope this helps you.
    Please confirm.
    Regards
    Datta

  • Creating objects only with role grants.

    Good afternoon, everybody.
    I'm having a problem to compile some procedures in a scheme, let's call it scheme A.
    This scheme A is receiving privileges to execute a function(B.get_date) of other scheme, let's call it scheme B, through a role B_STUFF.
    When I try to compile a procedure from scheme A that uses the function B.get_date, it doesn't compile because there are
    insufficient privileges for scheme A to execute that function, but I already gave that privilege through the role B_STUFF.
    Nevertheless it only works when I give direct grant execute on function B.get_date to schema A.
    Here is the example of my problem:
    create function B.get_date return date
    is
    Begin
    return sysdate;
    end;
    grant execute on function B.get_date to B_STUFF;
    grant B_STUFF to A;
    create procedure A.proc
    is
    begin
    ....uses the function B.get_date....
    end;
    Invalid object.
    Is there a way to do this without having to give direct privilege of an object to a schema?
    Thanks for the attention...
    Regards...

    Is there a way? Yes. But it's probably not what you want...
    SQL> ed
    Wrote file afiedt.buf
      1  create or replace procedure a.proc
      2    authid current_user
      3  is
      4    l_dt date;
      5  begin
      6    execute immediate 'select b.get_date from dual' into l_dt;
      7    dbms_output.put_line( l_dt );
      8* end;
    SQL> /
    Procedure created.
    SQL> set serveroutput on;
    SQL> exec a.proc;
    06-FEB-13
    PL/SQL procedure successfully completed.will work. Any user that wants to execute the A.PROC procedure will need to have the ability to call B.GET_DATE (either directly or via a role).
    In general, since roles can be enabled or disabled in a session, password protected, made default or non-default, etc. you can't use them when you're creating persistent objects. Otherwise, if A has two sessions open and in one session B_STUFF is enabled and in the other the role is disabled, Oracle would have a very hard time figuring out whether the A.PROC procedure should be valid or not. And then what happens when both of those sessions are terminated-- which set of roles should Oracle then use for A's persistent objects? That's why Oracle generally depends on privileges that are granted directly to a user when you're trying to create persistent objects.
    Justin

Maybe you are looking for

  • Firefox crashes when downloading a file

    Firefox crashes whenever I try to download ANY file. If I right click + Save File as, if I'm downloading from Rapidshare, as soon as the file window opens, Firefox crashes. I've already tried deleting downloads.sqlite, and that didn't work. This happ

  • Limit Number of Rows on a Page

    Hi all, I am unable to succeed with the following. I have an XML data source which looks like this: <?xml version="1.0"?> <LIST_GEMPLOYEES> <LIST_G_EMPLOYEE> <EMPLOYEE_NUMBER>1</EMPLOYEE_NUMBER> <EMPLOYEE_NAME>Employee 1</EMPLOYEE_NAME> </LIST_G_EMPL

  • Create memory snap shot in SRM 7

    Hi I have below two questions about the create memory snap shot tab Why create memory snap shot tab is provided in SRM 7, this tab appears when we create shopping cart, contract etc. ? How to access the created memory snap shot ? thanks in advance Re

  • FI AA: Issue with report S_ALR_87011964

    Dear Friends, Client would like to run asset balances report # S_ALR_87011964 on any date of the month instead of last day of month. if i input any date other than last day of the month it is issuing error message "Report date is invalid". Please gui

  • Db adaptor update operation not working

    hi, The db adaptor update operation does not seem to work for us, i do not get an error and the transaction is successful too but the record does not get updated, what could be the reason ? i am passing two values in the assign before the invoke ( on