Creating users in oid from forms

Hello,
how can i create or update an user and its corresponding rad in oid directly from forms 10.1.2. ?
thanks
Jean-Yves

Hi François,
in the past I used Forms9i OID integration demo
like i asked in this post
and i wonder if it still can be used inn 10.1.2.
But I wil take a deeper look to your blog (always useful ;-) ) and I think I will use it instead of the 9i version with java importer.
We have to migrate à 6i version to 10g and sso and so we have to move "n" oracle users into oid. it will be useful to use this package.
ps : I was not a lot active in this forum since i changed my job and also my login and lost my previous post count, but congratulations for your 5000 and more post and your a Ace !
Thanks
Jean-Yves
Message was edited by:
JeanYves

Similar Messages

  • Create User in OID

    I am doing exactly same thing for Create User in OID. Following is my code.
    String adminDN = "cn=orcladmin";
    String adminPWD = "oracle10g";
    boolean isSSL = false;
    InitialLdapContext ctx = null;
    System.out.println(adminDN);
    System.out.println(adminPWD);
    try {
    String url = "";
    if (isSSL){
    url = "ldaps://";
    else{
    url = "ldap://";
    url += hostname+":"+port;
    Hashtable env = new Hashtable();
    // env.put("java.naming.ldap.attributes.binary","objectGUID");
    //Specify which class to use for our JNDI provider
    env.put(Context.INITIAL_CONTEXT_FACTORY, INITCTX);
    // Specify host and port to use for directory service
    env.put(Context.PROVIDER_URL, url);
    env.put(Context.SECURITY_PRINCIPAL,adminDN);
    env.put(Context.SECURITY_CREDENTIALS,adminPWD);
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    ctx = new InitialLdapContext(env,null);
    System.out.println("It is in the create employee method ca;ll "+ctx);
    catch (NamingException e) {
    System.out.println("createEmployee method in Create class throw exception "+e.getMessage());
    Map attrs = new HashMap();
    // Replace address and mail with the new values
    attrs.put("cn",inputText1.getValue().toString());
    //attrs.put("uid","cn="+inputText1.getValue().toString()+",cn=users,dc=fjcs,dc=net");
    attrs.put("uid", inputText1.getValue().toString());
    attrs.put("userpassword","welcome1");
    attrs.put("givenname",inputText3.getValue().toString());
    attrs.put("displayName","mydisplayname");
    attrs.put("sn",inputText4.getValue().toString());
    attrs.put("mail",inputText5.getValue().toString());
    attrs.put("telephonenumber",inputText6.getValue().toString());
    public oracle.ldap.util.User createLdapUser(Map userLdapProperties, InitialLdapContext ctx) throws NamingException,
    UtilException {
    System.out.println("Inside createLdapUser ");
    Subscriber mysub = null;
    Iterator oidUserProperties = userLdapProperties.keySet().iterator();
    Iterator oidUserPropertyValues =
    userLdapProperties.values().iterator();
    System.out.println("The oidUserProperties "+oidUserProperties);
    System.out.println("The oidUserProperties "+oidUserPropertyValues);
    //ldapSubscriberPath = this.getLdapSubscriberPath();
    //RootOracleContext roc = new RootOracleContext(ctx);
    //mysub = roc.getSubscriber(ctx, Util.IDTYPE_DN, "o=dec", mystr);
    Subscriber subscriber = new Subscriber(ctx, Util.IDTYPE_DN,
    null , false);
    ModPropertySet userProperties = new ModPropertySet();
    while (oidUserProperties.hasNext() &&
    oidUserPropertyValues.hasNext()) {
    System.out.println("Inside the while loop ");
    String propertyName = (String)oidUserProperties.next();
    System.out.println( propertyName);
    String propertyValue = (String)oidUserPropertyValues.next();
    System.out.println( propertyValue);
    userProperties.addProperty(LDIF.ATTRIBUTE_CHANGE_TYPE_REPLACE,
    propertyName, propertyValue);
    System.out.println( userProperties);
    System.out.println("Outside the while loop");
    oracle.ldap.util.User usr = subscriber.createUser(ctx, userProperties, false);
    System.out.println("Heelo "+ usr);
    System.out.println("The guid isn "+usr.getGUID(ctx));
    return usr;
    It does print the System.out "Outside the while loop" but not creating the User in OID. It does not even print the last two System.outs.........
    System.out.println("Heelo "+ usr);
    System.out.println("The guid isn "+usr.getGUID(ctx));
    What is wrong ?
    thanks,
    pp

    I did put try catch around the User object. Yet same thing.
    System.out.println("Outside the while loop");
    ModPropertySet mps = new ModPropertySet();
    mps.addProperty(LDIF.ATTRIBUTE_CHANGE_TYPE_ADD,"cn", "John");
    mps.addProperty(LDIF.ATTRIBUTE_CHANGE_TYPE_ADD,"sn", "John");
    mps.addProperty(LDIF.ATTRIBUTE_CHANGE_TYPE_ADD,"uid", "John");
    // Create the user
    User newUser = subscriber.createUser( ctx, mps, false );
    System.out.println("New User DN: " + newUser.getDN( ctx ) );
    oracle.ldap.util.User usr = null;
    try{
    usr = subscriber.createUser(ctx, userProperties, false);
    System.out.println("New User DN: " + usr.getDN( ctx ));
    System.out.println("The guid isn "+usr.getGUID(ctx));
    catch (Exception e) {
    System.out.println("The message is "+e.getMessage());
    Outside the while loop is the last System.out that gets printed on the console. I am using embedded oc4j. Why is the User not getting created ?
    thanks,
    pp

  • Provision Users (create users) in OID at a specific DIT location

    I have the current schema in place right now - (from top to bottom)
    dc=***
    dc=**
    cn=Users
    cn=**********
    I have installed the OID connector and I am able to provision the users successfully in cn=*********,cn=Users,dc=**,dc=***
    Now I want to provision (create users) in cn=*********,ou=people,dc=**,dc=***.
    dc=***
    dc=**
    ou=people
    cn=123456789
    How can I do that?
    These are the Resource Object details:
    Admin Password      *********
    Recon Attribute Lookup Code      AttrName.Recon.Map.OID
    SSL      false
    Port      389
    Root DN      dc=**,dc=***
    CustomizedReconQuery      
    Admin Id      cn=orcladmin,cn=Users,dc=**,dc=***
    Last Target Delete Recon TimeStamp      -
    Last Target Recon TimeStamp      -
    Last Trusted Delete Recon TimeStamp      -
    Server Address      123.456.78.9
    Last Trusted Recon TimeStamp -      
    Prov Attribute Lookup Code      AttrName.Prov.Map.OID
    Use XL Org Structure      false
    I have tried changes in this but was still not able to provision.
    Any clues/ideas? Didn't find anything in documentation.
    Thanks in advance!
    - oidm.

    Thanks for the reply!
    Nopes I have just used normal OID connector provided by Oracle.
    I figured it out.
    You just need to add a lookup value in Organization DN in Resource Object form like Code as "ou=people" and Decode as "people". And you need to pull these values into process form by prepopulate adapter or just put it manually.
    - oidm.

  • EBS is creating users in OID, when it shouldn't. Wrong profiles?

    I'm integrating EBS 12.1.6 with OAM 11g and OID11g. I've got Single Sign On working fine, but I noticed that when a user is created in EBS, it automatically gets created in OID too.
    My users will be manually created in both OID and EBS through other processes so I really just need them to be linked. I registered the instance and oid with provisionType=4 (bidirectional sync no create).
    I have these profile options set:
    Applications SSO Auto Link User: Enabled
    Applications SSO Login Types: Both
    Application SSO LDAP Synchronization: Enabled
    Applications SSO Enable OID Identity Add Event: Disabled
    Link Applications user with OID user with same username: has no value
    But I can't find documentation on what these various options do.
    Anyone have any experience with this?
    Thanks very much
    Alex

    I'm integrating EBS 12.1.6 with OAM 11g and OID11g. I've got Single Sign On working fine, but I noticed that when a user is created in EBS, it automatically gets created in OID too.12.1.6?
    But I can't find documentation on what these various options do.Integrating Oracle E-Business Suite Release 12 with Oracle Internet Directory and Oracle Single Sign-On [ID 376811.1]
    Using the Latest Oracle Internet Directory 11gR1 Patchset with Single Sign-on and Oracle E-Business Suite [ID 876539.1]
    Troubleshooting Oracle Access Manager and Oracle E-Business Suite AccessGate [ID 1077460.1]
    Which Attributes Get Propagated From EBS to OID When One Is Implementing SSO With Applications [ID 1267512.1]
    Oracle Application Server 10g with Oracle E-Business Suite Release 12 Troubleshooting [ID 380487.1]
    "Applications SSO Auto Link User" (APPS_SSO_AUTO_LINK_USER) Profile option doesn't work and still ask to manually link the user [ID 399117.1]
    Thanks,
    Hussein

  • How to Pass User-defined Parameters from Forms to Reports

    Hi!I am trying to launch an existing report from a form then spool it into a PDF file. I have been successful in passing the report properties using SET_REPORT_OBJECT_PROPERTY built-in and I am also able to launch the report using RUN_REPORT_OBJECT built-in. My problem is, I cannot seem to pass the user defined parameters from my form to the report eventhough I am using the same variable names.
    this is a part of my code:
    repid := Find_Report_Object('ACPPRACS');
    Set_Report_Object_Property(repid, REPORT_EXECUTION_MODE,BATCH);
    Set_Report_Object_Property(repid, REPORT_DESTYPE,FILE);
    Set_Report_Object_Property(repid, REPORT_DESNAME,'C:\TMP\ACS01.PDF');
    Set_Report_Object_Property(repid, REPORT_DESFORMAT,'PDF');
    Set_Report_Object_Property(repid, REPORT_OTHER,'PF_NBO_CD='| |'"'| |:acs.nbo| |'"');
    v_rep := RUN_REPORT_OBJECT(repid);
    Hope you can help me soon. Thanks!

    first of all u will create a paramlist
    then add_paramter to this list
    and then pass this list to the report
    by using run_product.
    i think this is all.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jenny ([email protected]):
    Hi!I am trying to launch an existing report from a form then spool it into a PDF file. I have been successful in passing the report properties using SET_REPORT_OBJECT_PROPERTY built-in and I am also able to launch the report using RUN_REPORT_OBJECT built-in. My problem is, I cannot seem to pass the user defined parameters from my form to the report eventhough I am using the same variable names.
    this is a part of my code:
    repid := Find_Report_Object('ACPPRACS');
    Set_Report_Object_Property(repid, REPORT_EXECUTION_MODE,BATCH);
    Set_Report_Object_Property(repid, REPORT_DESTYPE,FILE);
    Set_Report_Object_Property(repid, REPORT_DESNAME,'C:\TMP\ACS01.PDF');
    Set_Report_Object_Property(repid, REPORT_DESFORMAT,'PDF');
    Set_Report_Object_Property(repid, REPORT_OTHER,'PF_NBO_CD='| |'"'| |:acs.nbo| |'"');
    v_rep := RUN_REPORT_OBJECT(repid);
    Hope you can help me soon. Thanks!<HR></BLOCKQUOTE>
    null

  • Not able to create users in OID through OIM

    HI,
    I am creating users in OIM and provisioning them to OID. The create user is working fine but provisioning is not working.
    The create user task is getting rejected with error message as :
    Response: Target Unavailable Error
    Response Description: Target server not available
    In the weblogic console its showing error as:
    INFO,24 Feb 2010 18:42:13,140,[XL_INTG.OID], Parameter Variables passed into co
    m.thortech.xl.integration.OID.tcUtilOIDUserOperations:createUser(S,S,S,S,S): are
    sContainerDN = ou=AGI(ENI UK Ltd),o=Shippers,dc=xoserve-apps,dc=com, sFirstName
    = testuser17, sLastName = testuser17, sUserDNParam = TESTUSER17,
    INFO,24 Feb 2010 18:42:13,156,[XL_INTG.OID],com.thortech.xl.integration.OID.uti
    l.tcUtilLDAPOperations : connectToAvailableOID() : SSL option is not selected in
    ITResource
    ERROR,24 Feb 2010 18:42:16,156,[XL_INTG.OID],===================================
    =================
    ERROR,24 Feb 2010 18:42:16,156,[XL_INTG.OID], ERROR in OID:connectToAvailableOID
    () CommunicationExceptionUnable to create Initial LDAP Context
    ERROR,24 Feb 2010 18:42:16,156,[XL_INTG.OID],===================================
    =================
    ERROR,24 Feb 2010 18:42:16,156,[XL_INTG.OID],===================================
    =================
    ERROR,24 Feb 2010 18:42:16,156,[XL_INTG.OID],10.224.29.51:389
    ERROR,24 Feb 2010 18:42:16,156,[XL_INTG.OID],===================================
    ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],com.thortech.xl.integration.OID.uti
    l.tcUtilLDAPOperations : disconnectFromLDAP() : : Unable to close LDAP Context.
    The context was probably not created, since it is null
    ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],===================================
    =================
    ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],===================================
    =================
    ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID], ERROR in com.thortech.xl.integrati
    on.OID.tcUtilOIDUserOperations:createUser(S,S,S,S,S) NoInitialContextExceptionEr
    ror while connecting to target
    ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],===================================
    =================
    ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],===================================
    =================
    ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],com.thortech.xl.integration.OID.uti
    l.tcUtilLDAPOperations: Unable to close LDAP Context. The context was probably n
    ot created, since it is null
    ERROR,24 Feb 2010 18:42:16,171,[XL_INTG.OID],===================================
    =================
    Please help.
    Thanks in advance.

    Thank a zillion to both of you...
    It was connection problem. Somebody changed my OID's IP address.
    Now my users are getting provisioned.
    One more doubt how to give points to both of you. I dont know how to give points in this forum.

  • Create User in OID using Java API

    I read the documentation, read javadoc for Java API for OID, but still am not clear "how can I create a user in OID using Java API for OID."
    It tells us how to create a java object User, but then how do we write this object to OID ?
    I searched every where, metalink, forums, google...and am still looking for answere...
    Thanks in Advance
    Cheers
    Puneet

    I did it using the Novell LDAP java api:
    import com.novell.ldap.*;
    public class LdapAdmin {
    public static final String ldap_base = "dc=your,dc=company,dc=com";
    public static final String ldap_user_base = "cn=Users," + ldap_base;
    public static final String ldap_portal_base = "cn=PORTAL_GROUPS,cn=Groups," + ldap_base;
    public static final String ldap_extended_base = "cn=Extended Properties,cn=OracleContext," + ldap_base;
    public static final String ldap_dbdomain_base = "cn=OracleDefaultDomain,cn=OracleDBSecurity,cn=Products,cn=OracleContext," + ldap_base;
    public static final String ldap_context_base = "cn=COMMON,cn=OracleDBAppContext," + ldap_dbdomain_base;
    private static final String default_ldap_host = "infrastructure.your.company.com";
    private static final int default_ldap_port = 4032;
    private static final String default_ldap_login = "cn=orcladmin," + ldap_user_base;
    private static final String default_ldap_pwd = "welcome1";
    private static final String default_user_pwd = "secret";
    private static final String[] personclass_values = { "top", "person", "organizationalPerson", "inetOrgPerson", "orcluser", "orcluserv2" };
    public static LDAPConnection getConnection (String host, int port, String user, String pwd) {
    LDAPConnection lc = new LDAPConnection();
    try {
    lc.connect(host,port);
    lc.bind(user,pwd);
    } catch (LDAPException lex) {
    System.out.println("LDAP Error in getConnection: "+lex.getResultCode()+"-"+lex.getLDAPErrorMessage());
         return lc;
    public static LDAPConnection getConnection (String host, int port) {
    LDAPConnection lc = new LDAPConnection();
    try {
    lc.connect(host,port);
    } catch (LDAPException lex) {
    System.out.println("LDAP Error in getConnection: "+lex.getResultCode()+"-"+lex.getLDAPErrorMessage());
         return lc;
    public static LDAPConnection getConnection (String user, String pwd) {
    LDAPConnection lc = new LDAPConnection();
    try {
    lc.connect(default_ldap_host,default_ldap_port);
    lc.bind(user,pwd);
    } catch (LDAPException lex) {
    System.out.println("LDAP Error in getConnection: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
    lex.printStackTrace();
         return lc;
    public static LDAPConnection getConnection () {
    return getConnection(default_ldap_host,default_ldap_port);
    public static void bind (LDAPConnection conn, String user, String pwd) {
    try {
    conn.bind(user,pwd);
    } catch (LDAPException lex) {
    System.out.println("LDAP Error in bind: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
    lex.printStackTrace();
    private static void bind (LDAPConnection conn) {
    bind(conn,default_ldap_login,default_user_pwd);
    public static void modifyAttribute (LDAPConnection conn, String dn, String attr, String val, int mod) {
    LDAPAttribute attribute = new LDAPAttribute(attr,val);
    LDAPModification[] modification = new LDAPModification[] { new LDAPModification(mod,attribute) };
    try {
    conn.modify(dn,modification);
    } catch (LDAPException lex) {
    System.out.println("LDAP Error in modifyAttribute: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
    public static void modifyAttribute (LDAPConnection conn, String dn, String attr, String val) {
    modifyAttribute(conn,dn,attr,val,LDAPModification.REPLACE);
    public static void addAttribute (LDAPConnection conn, String dn, String attr, String val) {
    modifyAttribute(conn,dn,attr,val,LDAPModification.ADD);
    public static void deleteAttribute (LDAPConnection conn, String dn, String attr, String val) {
    modifyAttribute(conn,dn,attr,val,LDAPModification.DELETE);
    public static void deleteEntry (LDAPConnection conn, String dn) {
    try {
    conn.delete(dn);
    } catch (LDAPException lex) {
    System.out.println("LDAP Error in deleteEntry: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
    public static boolean isValidDn(LDAPConnection conn, String dn) {
    try {
    LDAPSearchResults res = conn.search(dn);
    } catch (LDAPException lex) {
    System.out.println("LDAP Error in deleteEntry: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
    return false;
    public static void createPerson (LDAPConnection conn, String net_id, String lname, String fname, String office, String email, String id, String fullname) {
         LDAPAttributeSet attributeSet = new LDAPAttributeSet();
    attributeSet.add(new LDAPAttribute("cn", net_id));
    attributeSet.add(new LDAPAttribute("sn", lname));
    attributeSet.add(new LDAPAttribute("objectclass", personclass_values));
    attributeSet.add(new LDAPAttribute("l", office));
    attributeSet.add(new LDAPAttribute("mail", email));
    attributeSet.add(new LDAPAttribute("employeeNumber", id));
    attributeSet.add(new LDAPAttribute("givenName", fname));
    attributeSet.add(new LDAPAttribute("uid", net_id));
    // attributeSet.add(new LDAPAttribute("fullName", fullname));
    attributeSet.add(new LDAPAttribute("orclpkcs12hint", default_user_pwd));
    attributeSet.add(new LDAPAttribute("orclpassword", VerifyPassword.getHash(net_id,default_user_pwd)));
    attributeSet.add(new LDAPAttribute("userpassword", default_user_pwd));
    attributeSet.add(new LDAPAttribute("orcldefaultprofilegroup", "cn=DEFAULT,"+ldap_portal_base));
    LDAPEntry entry = new LDAPEntry("cn="+net_id+","+ldap_user_base,attributeSet);
    try {
    conn.add(entry);
    } catch (LDAPException lex) {
    System.out.println("LDAP Error in createPerson: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
    public static void updatePerson (LDAPConnection conn, String net_id, String lname, String fname, String office, String email, String id, String fullname) {
    LDAPModification[] mod = new LDAPModification[8];
    mod[0] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("cn", net_id));
    mod[1] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("sn", lname));
    mod[2] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("l", office));
    mod[3] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("mail", email));
    mod[4] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("employeeNumber", id));
    mod[5] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("givenname", fname));
    mod[6] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("fullName", fullname));
    mod[7] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("uid", net_id));
    try {
    conn.modify("cn="+net_id+","+ldap_user_base,mod);
    } catch (LDAPException lex) {
    System.out.println("LDAP Error in updatePerson: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
    public static void main (String[] args) {
    try {
    LDAPConnection conn = getConnection(default_ldap_login,default_ldap_pwd);
    // updatePerson(conn,"ID1","Somebody","Joe","CLE","[email protected]","1","Joe Somebody 2");
    // modifyAttribute(conn,"cn=ID1,"+ldap_user_base,"fullName","Joe Somebody",LDAPModification.REPLACE);
    // modifyAttribute(conn,"cn=ID1,"+ldap_user_base,"displayName","Joe Somebody");
    createPerson(conn,"ID1","Somebody","Joe","CLE","[email protected]","1","Joe Somebody");
    // deleteEntry(conn,"cn=ID1,"+ldap_user_base);
    conn.disconnect();
    } catch (LDAPException lex) {
    System.out.println("LDAP Error in main: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
    }

  • Using DDE to create an Excel spreadsheet from forms

    I'm able to write text to the sheet, but I've not been able to find a way to automatically set the width of the columns based on my data. It would be a big help if someone could even just point me to the correct manual to read.
    Thanks,
    Ron

    OLE2 Package similar to client_ole2He didn't talk a bout an OLE2-package similar to client_ole2. He talked abouit THE OLE2-package (which in fact is the same which is called "behind the scene" in client_ole)
    If your OAS is located on a windows-machine, you can use the standard-OLe"-package from forms. But, for that, all operations are executed on the server. So, if for example you do OLE-operations on excel, excel will be started on the server. WIth that, there will be no choice for a user to "interact" when something goes wrong and there are some Excel-fragment snot correctly closed. So, i would be cautious to use this, especialy if you have a lot of users.

  • Create users in OID

    Hi,
    We have changed the OID sever for an 11i instance
    Hence I think some users who were in the old OID server are not present in the new one
    And the FND users of 11i are not able to get authenticated
    Shall I
    - Create the user in new OID server - Configuration tab of http://server/oiddas doesnt allow me to do that
    How ?
    Any API ?
    - Export / import from the old OID server to new one ?
    If yes, which tables
    - Can I update FND_USER to do the local authentication and not go thru OID/ SSO ?
    Thanks
    - Pooja

    Logged in as orcladmin and was able to create the user
    Any other steps for mapping it with FND_USER ?
    Still authentication is not working
    fnd_web_sec.validate_login function returns 'N' in the Apps database

  • Create users in OID or update FND_USER to do the local authentication

    Hi,
    We have changed the OID sever for an 11i instance
    Hence I think some users who were in the old OID server are not present in the new one
    And the FND users of 11i are not able to get authenticated
    Shall I
    - Create the user in new OID server - Configuration tab of http://server/oiddas doesnt allow me to do that
    How ?
    Any API ?
    - Export / import from the old OID server to new one ?
    If yes, which tables
    - Can I update FND_USER to do the local authentication and not go thru OID/ SSO ?
    Thanks
    - Pooja
    I have posted the question in Application Server - General forum also

    Metalink note 233436.1 and 186981.1 should be of some help.
    You can change to local authentication by setting two profile options
    Applications SSO Login Types set to Local
    and Applications SSO Type to SSWA
    You may have to reset the users password if it has been set to EXTERNAL

  • Create/Edit Word documents from Form 6 in the web

    How can I create/edit Microsoft Word documents from a form running under IAS.
    In client/server I can do it using OLE2.

    On the Web the OLE2 option would still work if your Forms server is on a windows machine with word on it. The files will be created on the server and you can get them to the client with the web.show_document built-in.
    If you want to create them on the client machine directly you need a Java bean that will activate the COM interface.

  • Create dynamic directory name from form field on Sharepoint

    Trying to save pdf file to sharepoint site using URL; but need to create directory (initially) and filename dynamically. After directory created addtn'l files may populate dir, so need to check for directory exists; if so just copy files to dir based on field name. I'm able to save files to hard-coded location only, based on below.
    How to check and/or create dynamic directory base don field name?
    // folder level JavaScript to allow access to the identity object properties
    trustedIdentity = app.trustedFunction( function (sProperty)
    var iProperty = "";
    app.beginPriv();
    iProperty = identity[sProperty];
    app.endPriv();
    return iProperty;
    // folder level JavaScript to allow Save As population of file name
    mySaveAs = app.trustPropagatorFunction(function(myForm, path)
         app.beginPriv();
         var myForm = event.target;
         return rtn = myForm.saveAs(path);
         app.endPriv();
    myTrustFunct = app.trustedFunction(function(myForm, path)
         app.beginPriv();
         var vTest1 = event.target.xfa.resolveNode("topmostSubform[0].Page1[0].Test1[0]").rawValue.toString();
         var vTest2 = event.target.xfa.resolveNode("topmostSubform[0].Page1[0].Test2[0]").rawValue.toString();
         var vTest3 = event.target.xfa.resolveNode("topmostSubform[0].Page1[0].Test3[0]").rawValue.toString();
         var vTest4 = event.target.xfa.resolveNode("topmostSubform[0].Page1[0].Test4[0]").rawValue.toString();         
         var vpdf_url=location.href;location.href='http://mysite2010.com/documents
         var vPath = "/vpdf_url/" + vTest1 + Test2  + vTest3 + " .pdf";
              //console.println("vPath: " + vPath);
         var retn = mySaveAs(myForm, vPath);
         app.endPriv();
         return retn;

    Acrobat/Reader cannot create a directory. The directory needs to exist before Acrobat/Reader can save a PDF file to that directory.
    You could create a plug-in and use that plug-in to create the directory. The plug-in should also be able to determine if the directory exists or not.
    SharePoint can be tricky because it is not like most web sites. There is a special dash board that helps manage the different parts of SharePoint like list, folders, web parts, documents, etc so you may need to be aware of these features and adjust for them.
    For  folder level functions, I would not use any LiveCycle JavaScript variations. The folder level scripts are shared and accessible by Acrobat forms.

  • Delete user's groups from OID

    Hello,
    I did have a problem when I did delete user from OIM, this user didn't get deleted from OID. I solved this by adding this to the undo task for Create User in OID User PD. However, one additional problem remains - users group memberships doesn't get removed when user is deleted from OIM. From the log file I can see:
    DEBUG,19 Jun 2009 13:10:01,405,[XL_INTG.OID],OID:tcUtilLDAPOperations -> Parameter Variables passed are: pSearchBase = [cn=external,cn=users,dc=def,dc=star,dc=co,dc=us], pFilterExpression = [cn=cn=GROUPNAME,cn=XX,cn=Groups], pIsRelative = [false], pAttrNames = [null]
    DEBUG,19 Jun 2009 13:10:01,408,[XL_INTG.OID],tcUtilOIDUserOperations -> Returning with code:USER_DOESNOT_EXIST
    I think the problem is with pSearchBase -field values. Groups are not located in that LDAP-path and that's why it's returning USER_DOESNOT_EXIST. How I can tell to OIM where to look?
    Thanks!
    Or, maybe the problem is with "cn=cn=GROUPNAME". If so, where that extra "cn=" is coming from...?
    Edited by: Jakru on Jun 19, 2009 1:52 PM

    EDIT: didn't realize this was for CR.. my post was for boe.
    Hey Bernard,
    Here's what I do:
    select SI_NAME, SI_USERGROUPS from CI_SYSTEMOBJECTS where SI_NAME = 'xyz' and SI_PROGID = 'CrystalEnterprise.User'
    This will bring back the group ID's that user xyz is a member of.  The groups are in a nested property of SI_USERGROUPS, which I don't think you can query directly.  Once you have the ID's, however,  you can run another query to find out what the group names are.  Say the first query brought back three results, 123, 456 and 789.  Then you'd run:
    select SI_NAME from CI_SYSTEMOBJECTS where SI_ID = '123' or SI_ID = '456' or SI_ID = '789'
    Perhaps you could write some logic to parse the group ID's out of the first query and put them into the second query's where clause.
    HTH,
    Murray
    Edited by: Murray Hachey on Jul 18, 2008 3:17 PM

  • How to create User Portal in OID programmatically in JSP

    Hi.
    I want to create User Portal programmatically in JSP (if posible) or have to use procedure.
    I check with package wwsec_api, it just have 'function
    add_portal_user', but it say we must have "the user must already exist in OID before this function is called."
    So, i checked for 'how to create User in OID'. What i got (in metalink)just methods that 'Create manually Portal Users in to OID' by LDAP or PL/SQL coding (with list of user in flat files).
    What i want to do is, How to create User POrtal in OID by JSP? What are the procedure/table/method involved?
    Do anybody have any samples?..
    Thanks.

    I had to write my own because I could not find one anywhere. Here is an addUser() method that seems to work pretty well.
    import oracle.ldap.util.jndi.ConnectionUtil;
    import javax.naming.directory.*;
    import javax.naming.*;
    public class LdapUser
    public LdapUser(){}
    public void addUser(String pUsername, String pPassword, String pFirstName, String pLastName, String pEmail)
    try
    InitialDirContext ctx = ConnectionUtil.getDefaultDirCtx("host", "port", "orcladmin", "pwd");
    BasicAttributes attrs = new BasicAttributes();
    BasicAttribute oc = new BasicAttribute("objectclass");
    oc.add("top");
    oc.add("person");
    oc.add("inetOrgPerson");
    oc.add("organizationalPerson");
    oc.add("orclUser");
    oc.add("orclUserV2");
    attrs.put(oc);
    BasicAttribute gn = new BasicAttribute("givenName", pFirstName);
    attrs.put(gn);
    BasicAttribute sn = new BasicAttribute("sn", pLastName);
    attrs.put(sn);
    BasicAttribute cn = new BasicAttribute("mail", pEmail);
    attrs.put(cn);
    BasicAttribute pwd = new BasicAttribute("userpassword", pPassword);
    attrs.put(pwd);
    // Etcetera, etcetera...
    ctx.createSubcontext("cn="+pUsername+",cn=users,dc=whatever,dc=com", attrs);
    ctx.close();
    System.out.println("Success!!");
    catch (NameAlreadyBoundException nabe)
    System.out.println("Username is already in use. Please choose another.");
    catch (NamingException ne)
    System.out.println("NamingException: " + ne);
    catch (Exception e)
    System.out.println("User account was not created.");
    }

  • Integration pack to create user from template

    Does anybody know if the Orchestrator 2012 Sp1  active directory integration pack has a way to create user from a template?
    I believe there is a create user but not from a template.
    Thanks
    Lance
    Thanks Lance

    Hi Lance,
    you are right. There's no "Create User from template" or "Copy User" Activity in the Integration pack for Active Directory in System Center SP1 or R2.
    Perhaps, you can use "Get User" to get some settings from the template and subscribe the results to "Create User" Activity.
    Regards,
    Stefan
    www.sc-orchestrator.eu ,
    Blog sc-orchestrator.eu

Maybe you are looking for

  • Can I download music from iTunes to 2 itouches

    My computer with iTunes which my itouch was synced to crashed, literally died. I threw it out and had no back-up so lost everything on it (still don't know how to make backup). I bought a new computer, re-downloaded iTunes and my several days worth o

  • Vendor Master Bank Details

    Dear All, I am getting a Problem while creating error. In XK01, Payment transactions view, I want to enter only Country key and Bank Account no. I don't want to enter Bank Key. But system is not allowing  further,  without entering the Bank Key. Plea

  • Never mind the speed, what's the max file download...

    I've spent most part of the day trying to download Mountain Lion, I started about 9:00PM last night, gave up around 11 and called Apple about 08:30AM today. The download started okay (about a dozen or so times) but repeatedly froze at 53.25MB of 4.34

  • Apple TV fails to project true 16:9 format

    I have an Apple TV connected to my Mac Pro and a Sanyo PLV 75 projector. I have made a slide show in Final Cut in widescreen format (16:9) which plays perfectly (i.e. in the correct format) in iTunes. However, when I project this on the big screen us

  • Syncing Issues with Leopard

    I have one of the new iPod classic 80GB model running the 1.1 firmware, and I have it synced with my iTunes (7.6) library on my MacBook running 10.5.1 Recently, within the last week or so, whenever I plug in my iPod to sync (automatic syncing, not ma