OIM11gR2 - API - how to create accounts and link them to an oim user

hi,
my problem is the following:  I would like to import a lot(1000+) of different service accounts to my oim system and link them to oim users.
at the moment, the information which service-account belongs to which person is stored in a textfile.
I use this API code to create accounts:
ProvisioningService service=getClient().getService(ProvisioningService.class);
ApplicationInstanceService service=getClient().getService(ApplicationInstanceService.class);
ApplicationInstance appInstance=service.findApplicationInstanceByName("LinuxServer001");
FormInfo formInfo=appInstance.getAccountForm();
String formKey=String.valueOf(formInfo.getFormKey());
AccountData accountData=new AccountData(formKey,null,null);
Account account=new Account(appInstance,accountData);
account.setAccountType(Account.ACCOUNT_TYPE.Primary);       
service.provision(userKey, account);
this works fine! the account is displayed in the section  "user accounts", but the status of the created account is "Provisioning".
when I reconcile this linux server, oim doesn't establish a link between the service account on the target system and the created account! why?
how can i solve my problem? which information is missing, to establish a link between an existing account on a target system and an api created account?
thank you!
br,
max

Thanks, Brian, for your support! - It's working.
It's hard to understand why NI did not pass this parameter to the top of the call chain...
I also needed some time to understand the syntax of the string passed to the subaddress node:
The name of the worksheet needs to be framed by single quotation marks and the following cell address must preceeded by an exclamation point (!).
A working link pointing to cell "A1" of "Worksheet 1" looks like:
'Worksheet 1'!A1
Maybe also of interest: If you want to point the link to a worksheet inside the document itself, the parameter "address" (URL of link - href) can be left empty.
Thanks and Regards,
Ingo

Similar Messages

  • How to create buttons and link them to various views in Dashcode?

    I am a big noob so try to make it easy to understand. How do get a button to link to a different view in Dashcode?
    e.g.
    Button 1 would link to view 1
    Button 2 would link to view 2 and so on.

    I Worked it out!
    I just added this code which is provided in the library.
    // Set the current view of a StackLayout
    var stackLayout = document.getElementById('stackLayout').object; // Replace with id of StackLayout
    stackLayout.setCurrentView('view2'); // Replace with id of new view (or the view element itself)

  • How to Create Company and link with Plant

    Dear All
    Kindly help me to create Company and link with Plant and Storage Location through SPRO.
    Kindly trll me TCODE.
    Waiting for Reply
    Thanks & Regards
    Alok

    HI,
    Go to OX02 and create a company code by copying the standard company code 0001 / 1000
    Then go to OX10 and create a plant by copying the standard plant 0001 / 1000
    OX09 - maintain storage loaction for the created plant
    OX08 - create purchase org copying from standrard 0001 / 1000
    Go to OX18 and assign your plant to company code
    OX17 assign purchase org to plant
    In order to get the tcode go to SPRO and in the top menu click on additional informations - additional information - display key - IMG activity.
    After you select this then in the SPRO you have a column additional information comes up. each and every activity in SPRO will have and additional informatiom, in the additional information the last 4 characters is tcode.
    Eg : SIMG_CFMENUSAPCOX02 this is the additional information for CC. the last 4 characters OX02 is the tcode
    Thanks
    Kiran

  • Newby: how to create wkflow and link it to Create User wkflow

    I am a total newby
    I want to notifiy the user once they have been registered and send them their user name and password

    you can do this in the configure tab
    configure->process form mappings
    Process Mappings
    createUser
    change the value in the textBox to the name of your workflow

  • How to create an embedded link with VBScript that references user website from Active Directory?

    I have scoured the web for days and have not been able to quite come up with exactly what I need for this. I have created an Outlook signature deployment using VBScript which sets information in an already formatted Word doc using placeholders. (Ex. [Displayname],
    [Initial], [City])
    All of that works as expected, but now marketing would like to have an embedded link reference some of our users personal web pages. So the link would display some kind of standard text like "Click Here". Once clicked on the user would be redirected
    to the personal web page of the person who sent the email. My problem is, I have no idea how to get the hyperlink to pull in the information from Active Directory...another problem is I know only enough coding to be dangerous so I am stuck. 
    Here is a sample of what I am working with, I am hoping someone can point me in the right direction. Thanks!
    '----- Connect to AD and get user info -----'
    Set objSysInfo = CreateObject("ADSystemInfo")
    Set WshShell = CreateObject("WScript.Shell")
    strUser = objSysInfo.UserName
    Set objUser = GetObject("LDAP://" & strUser)
    strDisplayName = objUser.displayName
    strFirstname = objUser.FirstName
    strLastName = objUser.givenName
    strInitials = objUser.initials
    strName = objUser.FullName
    strTitle = objUser.Title
    strDescription = objUser.Description
    strOffice = objUser.physicalDeliveryOfficeName
    strCred = objUser.info
    strPOBox = objUser.postOfficeBox
    strStreet = objUser.StreetAddress
    strCity = objUser.l
    strPostCode = objUser.PostalCode
    strPhone = objUser.TelephoneNumber
    strMobile = objUser.Mobile
    strFax = objUser.FacsimileTelephoneNumber
    strEmail = objUser.mail
    strWeb = objuser.wWWHomePage
    '----- Apply any modifications to Active Directory fields -----
    'Use company info page if user does not have a Linked-In account specified
     if strweb = "" Then strweb = "http://www.linkedin.com/company/58654"
    '----- Open Word template in read-only mode {..Open(filename,conversion,readonly)} -----
    Set objWord = CreateObject("Word.Application")
    Set objDoc = objWord.Documents.Open(strTemplatePath & strTemplateName,,True)
    Set objEmailOptions = objWord.EmailOptions
    Set objSignatureObject = objEmailOptions.EmailSignature
    Set objSignatureEntries = objSignatureObject.EmailSignatureEntries
    '----- Replace template text placeholders with user specific info -----
    SearchAndRep "[DisplayName]", strDisplayName, objWord
    SearchAndRep "[Name]", strName, objWord
    SearchAndRep "[Description]", strDescription, objWord
    SearchAndRep "[Title]", strTitle, objWord
    SearchAndRep "[Street]", strStreet, objWord
    SearchAndRep "[POBox]", strPOBox, objword
    SearchAndRep "[City]", strCity, objWord
    SearchAndRep "[State]", strState, objWord
    SearchAndRep "[PostCode]", strPostCode, objWord
    SearchAndRep "[Phone]", strPhone, objWord
    SearchAndRep "[Mobile]", strMobile, objWord
    SearchAndRep "[Fax]", strFax, objWord
    SearchAndRep "[Email]", strEmail, objWord
    'SearchAndRep "[Web]", strWeb, objWord
    '----- Replace template hyperlink placeholders with user specific info -----
    'SearchAndRepHyperlink "[email]", strWeb, objDoc
    SearchAndRepHyperlink "[Web]", strWeb, objDoc
    '----- Set signature in Outlook -----
    Set objSelection = objDoc.Range()
    objSignatureEntries.Add "NewCBSig", objSelection
    objSignatureObject.NewMessageSignature = "NewCBSig"
    'see note below if a different reply signature is desired
    'objSignatureObject.ReplyMessageSignature = "Full Signature"
    '----- Close signature template document -----
    objDoc.Saved = TRUE
    objDoc.Close
    objWord.Quit

    Can you ask a specific question? You have posted a script and noted you need a link but there is no question.
    ¯\_(ツ)_/¯

  • How to create Profit and loss account using report painter

    Dear All,
    Can some one guide me as to how to create Profit and loss account using report painter.
    If some one can share the document having steps to be done,would be of great help.
    Thanks in advance.
    Regards,
    Gokul

    Hi,
    Could you please re-phrase your question? As the report painter is a reporting tool I assume you want to report on P&L accounts and not u201Ccreateu201D them. A few more details on what you intend to report would be useful.
    Regards
    Karl

  • E Recruitment how to create Carrier and Job link

    Hi
    My client asking for carrier and job option in ESS, presently we are implementing to E Recruitment only
    We donu2019t have EP Consultant,
    Please any one help me how to create Carrier and Job link (we are using BSP and Webdynp)
    Regards
    eshwar

    HI,
    Go to OX02 and create a company code by copying the standard company code 0001 / 1000
    Then go to OX10 and create a plant by copying the standard plant 0001 / 1000
    OX09 - maintain storage loaction for the created plant
    OX08 - create purchase org copying from standrard 0001 / 1000
    Go to OX18 and assign your plant to company code
    OX17 assign purchase org to plant
    In order to get the tcode go to SPRO and in the top menu click on additional informations - additional information - display key - IMG activity.
    After you select this then in the SPRO you have a column additional information comes up. each and every activity in SPRO will have and additional informatiom, in the additional information the last 4 characters is tcode.
    Eg : SIMG_CFMENUSAPCOX02 this is the additional information for CC. the last 4 characters OX02 is the tcode
    Thanks
    Kiran

  • How to create credit and debit for an account

    Please tell how to create credit and debit for an account in currencies like EURO,GBP other than functional currency(USD).

    hi,
    You will find Dr and Cr entry for Both currencies which are functional & Transaction currency.
    Regards,
    Srikanth.Kura

  • Can someone tell me how to create accounting entries with the account status as error

    Hi,
    Can someone tell me how to create accounting entries with the
    account status as error?
    Thanks!!
    Danny

    It's call fixed/static background, and it is NOT directly support by iweb, you will need post processing either in html or javascript.
    Varkgirl (you need to search the previous forum) and I did it since iweb1:
    try Safari, and scroll: http://www.geocities.com/[email protected]/Links.html
    invisible link? roddy, fishing for info again?

  • How Can I Attach and Link an XML file to a 3D Model in a PDF?

    How Can I Attach and Link an XML file to a 3D Model in a PDF?
    What I am trying to do is find out how to have a 3D model and a parts list linked to it within the PDF file.  I would also like to be able to add to the parts list if at all possible once the pdf has been created.  A template to create future PDF's with the 3D model and list might also be useful.
    I am not entirely sure if this is all possible within a PDF file, but I have viewed a PDF (Adidas Trainer) example which has a Excel file attached to it which links to the 3D model.  I have also had a look at partner products such as Lattice, Tetra4D, Anark, which can do animations and all sorts, but frankly it seems a bit overkill for what I am looking to do.
    Please, any help would be appreciated.  Thanks

    AlliCT59 wrote:
    > Shared Object sounds like it would work, but hten agian,
    I'm really stuck!
    >
    > Thanks for any help.
    >
    > Allison
    I wrote about it while ago, let me paste the whole thing.
    This example has simple
    buttons which upon click go to new sites and in the same time
    place record in form
    of *.SOL file on user drive. That record is read when you hit
    the next button and
    based on that the button will be selected as the one last
    clicked.
    You could use the very same thing just instead of suppressing
    button simply gotoAndPlay frame
    to continue the part you need.
    http://groups.google.com/group/macromedia.flash.actionscript/browse_thread/thread/36649453 1f4fd02d/245a57d0cdaa1d29?lnk=st&q=&rnum=3&hl=en#245a57d0cdaa1d29
    The source is in a different place, i re-upload for you :
    http://www.flashfugitive.com/stuff/SharedObj_urlcheck/
    fla file
    http://www.flashfugitive.com/stuff/SharedObj_urlcheck/beentourl.fla
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • How to create a dynamic link in a Form to link to a specific FOLDER

    Hello,
    I have created a reports of all employees of my department.
    This reports shows me the empno and ename
    When I clicked on a empno ( for example empno = 1 ) then then I got a MASTER DETAIL FORM about that employee(empno = 1) .
    Who he or she is and which course he or she had followed.
    I want create a dynamic link in the MASTER DETAIL FORM which shows me directly the folder of that employee ( in this example folder 1 ).
    If I clickt on the report with all employees of my department on an other number ( for example empno = 3333333) then if I click on the dynamic link in the MASTER DETAIL FORM I want to see the folder of employee 3333333 !!! You know what I mean ?
    What I want to know is, how to create a dynamic link that shows me directly a folder which is dependent on which empno I had clicked on in the report ( report with employee numbers and ename )
    Is there any way to pass some parameters into a link to a Folder ? Is this possible in Portal ? Does anyone know how to do this, or do you have a suggestion how to solve this problem ?
    Thanks a lot !!!
    Chu Lam

    Hi Chetan,
    I am glad that someone had replied on my question.
    I will explain it to you again.
    I have created a report that shows me all employees. If I click on a employee number then I get an MASTER DETAIL FORM on my screen with all the information(where he works now and which number I have to dial ifhow can I reach him by telephone) of that employee on which number I clicked on.
    I really like this mechanism. (You click on a number and the information that you see in the next screen is dependent of the number you clicked on ! )I have created all this. It works fine.
    What I want is to expand this example.
    Every employee has a FOLDER (yes, those ones in Content Area ) which they can insert text or image into that folder. The folder name is just the employee number. ( employee with employee number 3303, he owns a folder which is named 3303 and an employee with empno 9999, he or she owns a folder with the name 9999. )
    Every employee can tell more about himself in that FOLDER by iserting text and images. For example : What he likes, pictures of his vacation, something like this.
    What I want is this :
    If I click on the first report,which provides me all employees on screen, on a employee number 3303 then I get a Master Detail Form on my screen with all information about that employee with employee number 3303. And I want in this MASTER DETAIL FORM to create a link that shows me directly the FOLDER of that employee ( 3303), so I can learn more about employee with employee number 3303. But I don't know how to create this link.
    That link had to be dependent on the employee number. The difficult thing about this link is that this link had to be dynamic.
    I hope this will make it clear to you :
    (report all employees:)
    empno ename
    3301 john smith
    3302 peter clark
    3303 wilson jones
    If I click on a empno ( for example 3303) then I get a MASTER DETAIL FORM which provides me information.
    (MASTER DETAIL FORM )
    EMPNO 3303
    ENAME wilson jones
    department New York
    mobile number 98908763
    Company tel. no day
    AOL 097485838 monday till wednesday
    Oracle 04848584333 thursday and friday
    LINK
    (what I want is to create a link here )
    If I click on LINK in this MASTER DETAIL FORM then I want to link to the FOLDER of this employee ! ( In this example it is FOLDER 3303.
    BUT IF I CLICKED ON THE FIRST REPORT ON A DIFFERENT NUMBER ( FOR EXAMPLE 3301) THEN IF I CLICK ON LINK IN THE MASTER DETAIL FORM THEN I HAVE TO LINKED TO FOLDER 3301.
    I just want to know how to make a link like this ( create a dynamic link to a specific folder ).
    Thanks in Advance.
    Chu

  • How to create parent and chile process in java

    i'm beginning in java, and i want to ask something, please help me...
    1. i want to ask how to create parent and child process in java???
    example :
    if have one window and explore menu, when i click the explore menu.
    new window come out.
    how if i close the parent window the child window will close too...
    2. what is the method from runtime class to get available memory and Active Threads count

    ONE way to do what you wanted is this.
    class Parent{
    Child c = new Child
    allChildren.add(c);
    //if close
    iterate through list
    (Child)allChildren.get(index).close();
    ArrayList allChildren;
    class Child{
    public void close(){ }
    i dont know if you can get the thread count. but you can
    get the current thread by using System.
    Memory: Runtime.freeMemory() .maxMemory() .totalMemory()
    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html
    Careful though you have to do a calculation to get the
    actual memory because those 3 methods refer to freeMemory
    of the CURRENT heap not the total memory.
    i think its: total - (max - free)

  • How to create DataSource  and ConnectionPooling in WAS

    hi,
    can u please tell me how to create connectionpool and data source in WAS.pls send me step by step procedure
    regards
    Guru

    Hi,
    Here is the steps to creat a JNDI lookup using Datasource for MSSQL Server. Follow this and use necessary oracle parameters (in bold) as gives by me in the help link above.
    Click DataSources in the same path i.e. server > services > JDBC connector
    Click “new driver or datasource”.
    Enter/ Set the following properties:
    Main Tab
    DataSource Name : KAAR_DS
    Add Alias : KAAR
    SRI
    Driver Name : KaarSQLDriver
    JDBC version :2.0 (with XA support)
    <b>Object factory : com.microsoft.jdbcx.sqlserver.SQLServerDataSourceFactory
    DataSource Type : ConnectionPoolDataSource
    CPDS classname : com.microsoft.jdbcx.sqlserver.SQLServerDataSource</b>
    Additional tab
    Add the following properties (key-value):
    serverName = localhost
    databaseName = KA4
    portNumber = 1433
    user = CV
    password =<password>
    Save and restart J2EE. The datasource is now ready to use.
    Connection Pooling
    Initial connection : 0
    Maximum connection : 100
    Maximum time to wait for connection : 60
    Default connection isolation : DEFAULT
    SQL Engine
    Select, Vendor SQL
    DB Initialization Tab
    Add a valid sql statement, and execute. If it is successfully executed, a popup window comes up saying Executing “<sql query>” . OK.
    It is done. Now you can use the JNDI look up name in your coding to access the database. Get connection and use the queries to fetch data from db.
    Regards,
    Srinivasan T
    <b>Helpful answer=>points</b>

  • Urgent : How to create Manager and Reportee of a User in Embedded LDAP in W

    Hi All,
    I have created user in Weblogic Server Embdeed LDAP (Console-->SecurityRealm)
    however how can I assign another user as Manager of this user and some other user as reportee of this user.
    Basically how to create Manager and Reportee of a User in Embedded LDAP in Weblogic 10.3.5
    ie I have a user A and user B created in Security Realm.
    Now I want user A to be as Manager of User B so that when I use getManager() function in Human Task,I get A as Manager of B.
    Thanks
    Edited by: Vivek on 28 Sep, 2011 3:54 AM

    To get an idea check these links.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/aaa1a890-0201-0010-eb93-ae3d2bb74a78
    BSP/HowTo - Customizing the design of System Logon page in NetWeaver '04
    -Aman

  • How to create cube and measure in sql?

    How to create cube and measure in sql?

    Cubes, measures and dimensions are created in the AW using the Java API for Analytic Workspaces or through XML documents that are processed by this API. SQL commands are not available for creating cubes, measures or OLAP dimensions.

Maybe you are looking for

  • Problem in displaying Flash works (only in IE)

    Hi, we have problem in displaying the flash animations, as it shows a box like surrounding, after when we double click it, it gets activated. We face this problem only in IE and not in any other browsers. We want to know the technical reason for this

  • Ajax URL access

    I have a web page , on click of a button , i am making a ajax call which gets me some text data , i parse it in the java script and populate the page. The application does not require login to access , not necessary to maintainany session as well. no

  • Manual payments

    what are Manual payments, where do u perform Manual payments ?

  • Flow For Cost Center Budget

    Hi,   i need to configure the cost center budget scenario.can anydbody provide me the details on cost center budget...process..points will be assigned. Thanks Sap Guru (He Know's Nothing)

  • You can't open the application because PowerPC applications are no longer supported?

    What does this mean? I just bought a digital game from the Blizzard company the makers of Warcraft and Starcraft but I cant install the game. Its says that "PowerPC applications are no longer supported". Another route I tried as I was just messing ar