Programatically delete subtree in OID

I'd like to use the DBMS_LDAP pl/sql api to delete an entree and all of it's subtree entries in the DIT. I found metalink note Note:199045.1 which describes a way to do this, however, the entries are not returned in the proper order (the order is not such that leaf entries are returned first). Has anybody found a way to do this?

Enzo,
If you still facing REFRESH issues, can you try to flush which will update the screen. It should be a part of the Class CL_GUI_CFW (Not sure if I have spelled it right).
regards,
Ravi
Note : Please reward the posts that help you.

Similar Messages

  • Restore deleted users in OID

    Hi,
    We have OID configured with our OIM system. I need to restore the users I manually deleted from the OID. I am not able to find this. Can anyone please let me know the steps to recover the deleted users from the OID.
    Thanks for the help.
    Ishank Mahajan

    From my understanding, from OID side, the only way is thru backup.
    I hope this helps,
    Thiago Leoncio.

  • Deleting users in OID

    I have a trouble in OID (AS 9.0.4, SLES9). A succesfully synced AD and OID, but a part of AD users don't contain userPrincipalName, and uid in OID won't created and now I must delete them. How can I delete more than one user in oidadmin? After searching by filter I can select a group of users, but I can't delete them at once - oidadmin fails with "LDAP error 66 - Not allowed on Non-Leaf"... Or may be there options for bootstrapping to change user's attributes, because after bootstrapping changed attributes didn't synchronized...

    Hello.
    For deleting non-leaf entry in OID, you can use bulkdelete.sh
    For more information see: http://download-uk.oracle.com/docs/cd/B10464_05/manage.904/b12118/syntax5.htm#640737

  • Deleting OU in OIM does not delete OU in OID

    I have only one Resource that is OID which I am managing from OIM. When I delete a user in OIM from the User Edit Form, it deletes the user from OIM and also from OID.
    But when I delete the OU from OIM, it does not delete the OU from OID. When I delete it from the Process Form of this resource, the OU gets deleted from OID fine, but I want to avoid 2 steps process and delete it directly from the OU Edit Form.
    Will appreciate quick help on this.

    The task is already created for Delete OID OU but that does not execute with(just after) the "Delete" button of OU from OIM. I have to do the two step process of first deleting the OU from OID using "Resource Profile" and "Delete OID OU" Process Task and then come back to the OIM and delet the OU. I am looking for one step "Delete" process for OU from OIM and OID.

  • Programatically deleting the completed process instances

    Hi,
    I have too many completed process instances in my dev system. Deleting them using "Administration -> Archiving and Deleting" is very cumbersome and also giving lots of errors. Is it possible to delete all the completed/erroneous process instances programatically using GP API? If yes, could you please tell me what the class/package/api is? I searched through the API but did not find anything useful.
    Thanks
    Ram

    Hi David,
    Thanks for the response. When I try to delete all process instances using the "Archiving and Deleting" tool, I get the below error. Looks like there is an error while loading all the process instances.
    java.lang.NullPointerException
         at com.sap.caf.eu.gp.ui.admin.arch.VProcessInstances.createAllInstanceElements(VProcessInstances.java:633)
         at com.sap.caf.eu.gp.ui.admin.arch.VProcessInstances.loadAllInstances(VProcessInstances.java:502)
         at com.sap.caf.eu.gp.ui.admin.arch.VProcessInstances.onPlugFromNavigation(VProcessInstances.java:234)
         at com.sap.caf.eu.gp.ui.admin.arch.wdp.InternalVProcessInstances.wdInvokeEventHandler(InternalVProcessInstances.java:249)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:826)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:881)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    In my worklist, there are 2 workitems in erroneous category. When I try to open them by clicking the links, I get the error "Could not retrieve process instance: contact your system administrator". May be these 2 workitems are the reason for the above error.
    I tried the "Global Settings" to delete the completed, erroneous and terminated processes after 1 day, but it doesn't seem to be working.
    Thanks
    Ram

  • Programatically delete Photoshop Temp##### files

    XP Pro
    CS3
    1GB Ram
    Scripting with JavaScipt
    We run photoshop doing batch processes all week long. Is there anyway to include in the javascript batch process a command to delete the temp file that gets built up. I realize they are normally deleted upon proper program termination but that doesn't always happen.
    Since the name appears somewhat with random numbers I am not sure how I could point directly at that, the constant appears to be "Photoshop Temp" but there is also the numbers at the end of that file name to consider.
    or for another consideration (secondary).
    Can I put at the end of the batch command a line of code to close Photoshop? If so what would that be?
    Thank you,
    Jeff

    Yes, I am talking about scratch files.
    Two parts...
    If the Photoshop application is run all week and we process 1GB of files through there it is going to make a huge scratch file correct? That is also why am curious if I can put a line of code at the end of the script to terminate Photoshop which will delete the scratch file.
    As far as workflow goes in our environment the best way is to take the recommendation of "try67" and use the getFiles() function of the currently logged in user and delete that scratch file if Photoshop will allow me to do that while the Photoshop application is still running.
    Concerning the automatic deletion of scratch files...
    I will take a closer look. I just had to go in delete 4 different scratch files on the day I originally posted this thread (3/7/2009).
    I am going to confirm that the installation is up to date.
    Another question which you will probably be able to answer right away. If I (user "A") am bumped out due to an application crash and someone else (user "B") logs in will it still delete the scratch file upon Photoshop launch?
    Thank you very much for your time in reviewing my question and replying.
    Jeff

  • Programatically Deleting Rows from a Table?

    I need to do some background cleanup tasks that include saving some data and deleting some data into the database. I'm trying to implement this in an extension framework class so that when 'real' application development begins, this background chore code will already be implemented.
    I'm creating view objects programmatically to retrieve data, but I don't know how to insert rows or delete rows. Delete statements in view objects fail since they aren't select statements, and code like:
    cleanupView.remove();
    raises "cleanupView is read-only" errors, since there aren't any entity objects defined for it (I assume, anyway).
    How can you insert and delete rows programmatically from a framework extension?

    My application of this technique is in a framework extension for generic housekeeping chores whose logic I'd like to keep out of the primary application. As such, it isn't possible to use EO and VO's declaratively.
    For anyone else who may travel this path, from the framework extension you can create views and execute DML statements like this: (In this case, in my AppModuleImpl extension)
    ViewObject myView = getDBTransaction().getRootApplicationModule().createViewObjectFromQueryStmt("myView","select * from mytable");
    myView.executeQuery();
    and when you're done:
    myView.remove();
    For DML, it's done by:
    getDBTransaction().executeCommand("delete mytable");
    getDBTransaction().executeCommand("commit");
    I concur that in 'normal' operations this isn't the best way, but rules can never be absolute.

  • Confirm Subtree Deletion....Why this??

    Hello all,
    So today I tried to remove an old user out of AD 2003/2008 and for the first time I get the a message:
    Confirm Subtree Deletion:
    "Object username contains other objects. Are you sure you want to delete object %username% and all of the objects it contains?
    If you cancel the running deletion, the objects deleted thus far will not be recovered.
    WARNING: if you select Use Delete Subtree Server control check box, all objects within the subtree, including all delete-protected objects, will be deleted and the deletion cannot be canceled"
    Check box: Use Delete Subree server Control
    YES or No.
    What is this all about? I haven't encountered this before and not recently while deleting users, old machines, etc??
    Thank You in advance.
    SM

    Hello,
    in the view options enable "Users, Groups, Computers as containers" and check if some related settings belong to it.
    You can also use ADSIEdit.msc to check the subtrees from an object.
    http://mikemstech.blogspot.de/2011/12/active-directory-leaf-object-confirm.html
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://msmvps.com/blogs/mweber/
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.

  • OIM-OID Recon

    Hi,
    I'm currently trying to reconcile users (target recon) from OID and when I try to do that, I get the following error:
    Note : Its a fresh installation and I've made the necessary changes in the IT Resource and the Schedule Task.
    EBUG QuartzWorkerThread-0 XELLERATE.ACCOUNTMANAGEMENT - Class/Method: tcUtilityFactory/getRemoteUtility - Data: moUtil - Value: Thor.API.Operations.tcObjectOperationsClient
    DEBUG QuartzWorkerThread-0 XELLERATE.ADAPTERS - Class/Method: tcADPClassLoader/findClass entered.
    ERROR QuartzWorkerThread-0 XL_INTG.OID - ====================================================
    ERROR QuartzWorkerThread-0 XL_INTG.OID - com.thortech.xl.integration.OID.schedule.tasks.tcTskOIDUserReconciliationparseOrganizationUnit() error parsing the Organizational Unit. Returning as it is - ,dc=ad,dc=XYZ,dc=com
    ERROR QuartzWorkerThread-0 XL_INTG.OID - ====================================================
    ERROR QuartzWorkerThread-0 XL_INTG.OID - ====================================================
    ERROR QuartzWorkerThread-0 XL_INTG.OID - Exception in OID:tcTskOIDUserReconciliation:parseOrganizationUnit()String index out of range: -1
    ERROR QuartzWorkerThread-0 XL_INTG.OID - ====================================================
    DEBUG QuartzWorkerThread-0 XELLERATE.SERVER - Class/Method: tcDataBase/eventPreInsert entered.
    DEBUG QuartzWorkerThread-0 XELLERATE.SERVER - Class/Method: tcDataBase/tcDataBase left.
    DEBUG QuartzWorkerThread-0 XELLERATE.AUDITOR - Class/Method: AuditEngine/getAuditEngine entered.
    DEBUG QuartzWorkerThread-0 XELLERATE.SERVER - Class/Method: tcDataBase/eventPreInsert entered.
    DEBUG QuartzWorkerThread-0 XELLERATE.SERVER - Class/Method: tcDataBase/tcDataBase left.
    DEBUG QuartzWorkerThread-0 XELLERATE.DATABASE - select usr_key from usr where USR_LOGIN=? and USR_STATUS!='Deleted'
    INFO QuartzWorkerThread-0 XELLERATE.PERFORMANCE - Query: DB: 0, LOAD: 0, TOTAL: 0
    DEBUG QuartzWorkerThread-0 XELLERATE.RESOURCEMANAGEMENT - Class/Method: tcObjectOperationsBean/findObjects entered.
    DEBUG QuartzWorkerThread-0 XELLERATE.SERVER - Class/Method: tcDataBase/eventPreInsert entered.
    What I'm not able to figure out is : where from did this *,* come before dc=ad,dc=XYZ,dc=com. I've checked and re-checked all the mentioned values but couldn't figure this out.
    Also, I'm using the latest OID Connector, with the following parameters given in the schedule task :
    ConfigurationLookup : Lookup.OID.Configuration
    ITResourceName : OID IT Resource
    PageSize : 100
    Recon Attribute Lookup Code : AttrName.Recon.Map.OID
    SearchBase : dc=ad,dc=XYZ,dc=com
    SearchFilter : (objectclass=top)
    SearchScope : Subtree
    TargetResourceObjectName : OID User
    Regards

    I didn't find any Organization Unit mapping in any of the look up tables shipped in with the OID connector (Configuration, Recon, Prov, etc). So I manually entered a lookup value in the AttrName.Recon.Map.OID. (Code Key : Organization Unit, Decode Key : o) to map it to OID.
    Still, I'm getting the same error !! :(:(
    I'm able to successfully provision a user to OID though..
    Kindly help !!!!!!!!
    P.S. I wasn't facing any issue when I was using the old connector for OID. Things were going fine there, but facing issues with the latest version of OID connector.. :(
    Regards

  • Delete DC from the track

    Hi Experts,
    I have created a DC in a Track.
    Now i want to delete it from the track.
    i referred to SAP note :864515.
    However applying SAP note for my DCs it throws the error as "Folder or subtree contains local only files or folders"
    whereas i can still see the DC deployed on the server.
    Can you guys help me find the solution to this?
    Regards,
    Ashish Shah

    Hi Ashish,
    Try this.
    1)If Remove from Client does not work, then manually delete the dc folders from the file system.
    2)Check in DTR perspective under this DC that all files exist only remotely (i.e no file under that DC tree in DTR should have a home icon)
    3)In Dev Config perspective, rt-click on this DC and "Create Project" .. the whole point is you should get a "mount" for the resources to be deleted from the DTR.
    4)Close the project and delete the project (select the radiobutton delete the contents from the folder too)
    5)Goto DTR persp, rt-click on _comp folder and Delete subtree
    6)Delete and check-in
    Lemme know how it goes.
    Thanks,
    Rajit

  • Deleting a row from a Parent VO gives NullPointerException

    I am using JDev 11.1.1.2.0
    Deleting a row from a Parent VO gives NullPointerException raised from oracle.jbo.server.EntityImpl.vetoRemoveWithDetails(EntityImpl.java:8214)
    Here is my implementation:
    There are two Entity Objects(Named "Parent" and "Child").
    Both EO are NOT based on a database table. (These are populated from a method in the AM, the method calls a database API that returns an nested array and this array is used to populate the Parent and Child entities)
    All attributes in these entity objects are Non-persistent.
    The View Object "ParentEv" is based on "Parent" EO
    The View Object "ChildEv" is based on "Child" EO
    The View Objects "ParentEv" and "ChildEv" are linked by a view link.
    The Entities "Parent" and"Child" are linked by Entity Association ( as "Composition Association" with "Implement Cascade Delete" checked.)
    I am programatically deleting and populating the View Objects ParentEv and ChildEv from a method in the AM.
    The first time I execute the method in BC Tester, it works fine.
    The second time I execute the method it works fine.
    But on third execution, it gives the below error which seems to be NullPointerException raised from oracle.jbo.server.EntityImpl.vetoRemoveWithDetails(EntityImpl.java:8214)
    I am able to reproduce this in a test case scenario. It always works the first 2 times and fails when the method to delete and populate the VOs is executed a 3rd time.
    If we base the "Parent" and "Child" entities on some dummy database views, it works fine, the problem only occurs when the Entities are NOT based on any table.
    Can someone advise on what could be causing this issue?
    Thanks,
    Mitesh.

    Here's the method that I use in my test case to populate the VOs.
       * This method populates the VOs ParentEv and ChildEv.
       * These VOs are based on EOs Paren and Child, respectively.
       * Before populating the VOs I am deleting any existing rows.
       * The first two times this method is executed, it works fine.
       * The third time this method executes it gives a nullpointerexception raised from
       * oracle.jbo.server.EntityImpl.vetoRemoveWithDetails(EntityImpl.java:8214)
      public void populateMethod(){
        int rowCount = getParentEv().getRowCount();   
        for (int i = 0; i < rowCount; i++) {
             Row row = getParentEv().last();
             if(row!=null)
               row.remove();
        rowCount = getChildEv().getRowCount();
        for (int i = 0; i < rowCount; i++) {
         Row row = getChildEv().last();
         if(row!=null)
           row.remove();
        int k = 0;
        for (int i = 1; i < 5; i++) {   
          ParentEvRowImpl parentEvRow = (ParentEvRowImpl)getParentEv().createRow();
          parentEvRow.setParentPk("Parent " + i);
          parentEvRow.setParentDesc("Parent Desc " + i);
          getParentEv().insertRow(parentEvRow);   
          for (int j = 1; j < 5; j++) {   
         k++;
         ChildEvRowImpl childEvRow = (ChildEvRowImpl)getChildEv().createRow();
         childEvRow.setChildPk("Child " + k);
         childEvRow.setChildDesc("Child Desc " + k);
         getChildEv().insertRow(childEvRow);   
      }==============================================================================
    Here is the Parent.xml for the Parent EO:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE Entity SYSTEM "jbo_03_01.dtd">
    <!---->
    <Entity
      xmlns="http://xmlns.oracle.com/bc4j"
      Name="Parent"
      Version="11.1.1.55.36"
      AliasName="Parent"
      BindingStyle="OracleName"
      UseGlueCode="false"
      RowClass="oracle.jbo.server.EntityImpl"
      DefClass="oracle.jbo.server.EntityDefImpl"
      CollClass="oracle.jbo.server.EntityCache">
      <DesignTime>
        <AttrArray Name="_publishEvents"/>
      </DesignTime>
      <Attribute
        Name="ParentPk"
        IsQueriable="false"
        IsPersistent="false"
        ColumnName="PARENTPK"
        SQLType="VARCHAR"
        Type="java.lang.String"
        ColumnType="$none$"
        PrimaryKey="true"/>
      <Attribute
        Name="ParentDesc"
        IsQueriable="false"
        IsPersistent="false"
        ColumnName="$none$"
        SQLType="VARCHAR"
        Type="java.lang.String"
        ColumnType="$none$"/>
      <AccessorAttribute
        Name="Child"
        Association="model.eo.ea.ChildParentAssoc"
        AssociationEnd="model.eo.ea.ChildParentAssoc.Child"
        AssociationOtherEnd="model.eo.ea.ChildParentAssoc.Parent"
        Type="oracle.jbo.RowIterator"
        IsUpdateable="false"/>
    </Entity>==============================================================================
    Here is the Child.xml for the Child EO:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE Entity SYSTEM "jbo_03_01.dtd">
    <!---->
    <Entity
      xmlns="http://xmlns.oracle.com/bc4j"
      Name="Child"
      Version="11.1.1.55.36"
      AliasName="Child"
      BindingStyle="OracleName"
      UseGlueCode="false">
      <DesignTime>
        <AttrArray Name="_publishEvents"/>
      </DesignTime>
      <Attribute
        Name="ChildPk"
        IsUpdateable="while_insert"
        IsQueriable="false"
        IsPersistent="false"
        IsNotNull="true"
        ColumnName="CHILDPK"
        SQLType="VARCHAR"
        Type="java.lang.String"
        ColumnType="$none$"
        PrimaryKey="true"/>
      <Attribute
        Name="ChildDesc"
        IsQueriable="false"
        IsPersistent="false"
        ColumnName="$none$"
        SQLType="VARCHAR"
        Type="java.lang.String"
        ColumnType="$none$"/>
      <Attribute
        Name="ParentPk"
        IsQueriable="false"
        IsPersistent="false"
        IsNotNull="true"
        ColumnName="$none$"
        SQLType="VARCHAR"
        Type="java.lang.String"
        ColumnType="$none$"/>
    </Entity>==============================================================================
    Here is the ChildParentAssoc.xml for the Association between Parent and Child EOs:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE Association SYSTEM "jbo_03_01.dtd">
    <!---->
    <Association
      xmlns="http://xmlns.oracle.com/bc4j"
      Name="ChildParentAssoc"
      Version="11.1.1.55.36">
      <DesignTime>
        <Attr Name="_isCodegen" Value="true"/>
      </DesignTime>
      <AssociationEnd
        Name="Parent"
        Cardinality="1"
        Source="true"
        Owner="model.eo.Parent"
        DeleteContainee="true"
        LockLevel="NONE"
        ExposedAccessor="false">
        <DesignTime>
          <Attr Name="_aggregation" Value="0"/>
          <Attr Name="_finderName" Value="Parent"/>
          <Attr Name="_isUpdateable" Value="true"/>
          <Attr Name="_minCardinality" Value="1"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item Value="model.eo.Parent.ParentPk"/>
        </AttrArray>
      </AssociationEnd>
      <AssociationEnd
        Name="Child"
        Cardinality="-1"
        Owner="model.eo.Child"
        HasOwner="true">
        <DesignTime>
          <Attr Name="_aggregation" Value="0"/>
          <Attr Name="_finderName" Value="Child"/>
          <Attr Name="_isUpdateable" Value="true"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item Value="model.eo.Child.ParentPk"/>
        </AttrArray>
      </AssociationEnd>
    </Association>==============================================================================
    Here is the ParentEv.xml for the ParentEv VO:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <!---->
    <ViewObject
      xmlns="http://xmlns.oracle.com/bc4j"
      Name="ParentEv"
      Version="11.1.1.55.36"
      BindingStyle="OracleName"
      CustomQuery="true"
      RowClass="model.vo.ev.ParentEvRowImpl"
      ComponentClass="model.vo.ev.ParentEvImpl"
      PageIterMode="Full"
      UseGlueCode="false">
      <DesignTime>
        <Attr Name="_codeGenFlag2" Value="Access|Coll"/>
        <Attr Name="_isExpertMode" Value="true"/>
        <Attr Name="_isCodegen" Value="true"/>
      </DesignTime>
      <EntityUsage
        Name="Parent"
        Entity="model.eo.Parent"/>
      <ViewAttribute
        Name="ParentDesc"
        IsSelected="false"
        IsQueriable="false"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="255"
        EntityAttrName="ParentDesc"
        EntityUsage="Parent"
        AliasName="PARENTDESC"/>
      <ViewAttribute
        Name="ParentPk"
        IsQueriable="false"
        IsPersistent="false"
        PrecisionRule="true"
        EntityAttrName="ParentPk"
        EntityUsage="Parent"/>
      <ViewLinkAccessor
        Name="ChildEv"
        ViewLink="model.vo.vl.ChildEvParentEvVl"
        Type="oracle.jbo.RowIterator"
        IsUpdateable="false"/>
    </ViewObject>==============================================================================
    Here is the ChildEv.xml for the ChildEv VO:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <!---->
    <ViewObject
      xmlns="http://xmlns.oracle.com/bc4j"
      Name="ChildEv"
      Version="11.1.1.55.36"
      BindingStyle="OracleName"
      CustomQuery="true"
      RowClass="model.vo.ev.ChildEvRowImpl"
      ComponentClass="model.vo.ev.ChildEvImpl"
      PageIterMode="Full"
      UseGlueCode="false">
      <DesignTime>
        <Attr Name="_codeGenFlag2" Value="Access|Coll"/>
        <Attr Name="_isExpertMode" Value="true"/>
        <Attr Name="_isCodegen" Value="true"/>
      </DesignTime>
      <EntityUsage
        Name="Child"
        Entity="model.eo.Child"/>
      <ViewAttribute
        Name="ChildDesc"
        IsSelected="false"
        IsQueriable="false"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="255"
        EntityAttrName="ChildDesc"
        EntityUsage="Child"
        AliasName="CHILDDESC"/>
      <ViewAttribute
        Name="ChildPk"
        IsUpdateable="while_insert"
        IsQueriable="false"
        IsPersistent="false"
        IsNotNull="true"
        PrecisionRule="true"
        EntityAttrName="ChildPk"
        EntityUsage="Child"/>
      <ViewAttribute
        Name="ParentPk"
        IsQueriable="false"
        IsPersistent="false"
        IsNotNull="true"
        PrecisionRule="true"
        EntityAttrName="ParentPk"
        EntityUsage="Child"/>
    </ViewObject>==============================================================================
    Here is the ChildEvParentEvVl.xml for the view link between ParentEv and ChildEv VOs:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE ViewLink SYSTEM "jbo_03_01.dtd">
    <!---->
    <ViewLink
      xmlns="http://xmlns.oracle.com/bc4j"
      Name="ChildEvParentEvVl"
      Version="11.1.1.55.36">
      <DesignTime>
        <Attr Name="_isCodegen" Value="true"/>
      </DesignTime>
      <ViewLinkDefEnd
        Name="ParentEv"
        Cardinality="1"
        Owner="model.vo.ev.ParentEv"
        Source="true">
        <DesignTime>
          <Attr Name="_finderName" Value="ParentEv"/>
          <Attr Name="_isUpdateable" Value="true"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item Value="model.vo.ev.ParentEv.ParentPk"/>
        </AttrArray>
      </ViewLinkDefEnd>
      <ViewLinkDefEnd
        Name="ChildEv"
        Cardinality="-1"
        Owner="model.vo.ev.ChildEv">
        <DesignTime>
          <Attr Name="_finderName" Value="ChildEv"/>
          <Attr Name="_isUpdateable" Value="true"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item Value="model.vo.ev.ChildEv.ParentPk"/>
        </AttrArray>
      </ViewLinkDefEnd>
    </ViewLink>

  • OID filter to restrict ocs user in calendar, files, mail

    We are trying to setup some filter in OID in order to restrict some search screen and list of value in calendar, mail and files so that our users doesn't see the users under another subtree of OID.
    We have the following in OID:
    orcldefaultsubscriber: dc=sric,dc=ca
    orclcommonusersearchbase: cn=users, dc=sric,dc=ca
    Under this Common User Searchbase we have about 50 different organization under which the end user of our services are located.
    We want to restrict the users of one organization to his particular organization. So that he cannot see the users of the others organizations.
    For example, in mail, when the user open a new mail and use the address book.
    The user shouldn't see all the user of dc=sric,dc=ca but instead be limited to the user under cn=his organization,cn=Users,dc=sric,dc=ca.
    We currently have OID filter in place to restrict the user of Portal.
    These filter are working fine. Trying to duplicate this functionality for calendar, mail and files.
    Any hints ?

    many thanks for your answer.
    if i can't filter corporate directory. can i disable this function from oracle web client?
    can i hide an user from corporate directory?
    many thanks
    best regards
    giorgio

  • Deletion is not working

    Dear all
    I have summary page in that delete submit button is there
    when i click on delete button i am calliing dialoug page
    in that i click on ok button i am deleting the record
    i wrote the code like this
    /*If user will click on delete button it will call to dialog page*/
    if ("Delete".equals(pageContext.getParameter(EVENT_PARAM)))
    System.out.println("Entered into this delete block...");
    String oid = pageContext.getParameter("oid");
    OAException msg = new OAException("PO", "XX_DELETE_SUPPSITE_CONFIRM");
    OADialogPage dpage =
    new OADialogPage(OAException.WARNING, msg, null, "", "");
    dpage.setOkButtonToPost(true);
    dpage.setOkButtonLabel("Yes");
    dpage.setOkButtonItemName("DeleteYes");
    dpage.setPostToCallingPage(true);
    dpage.setNoButtonToPost(true);
    dpage.setNoButtonItemName("DeleteNo");
    Hashtable delete = new Hashtable(1);
    delete.put("d1", oid);
    dpage.setFormParameters(delete);
    pageContext.redirectToDialogPage(dpage);
    /*if user will click on delete yes button*/
    if (pageContext.getParameter("DeleteYes") != null)
    System.out.println("Entered into delete yes method.....................");
    String s1 = pageContext.getParameter("d1");
    am.xxDeleteQuotation(s1);
    HashMap ht = new HashMap();
    ht.put("Purpose", "New");
    pageContext.setForceForwardURL("OA.jsp?page=/crm/oracle/apps/xxcrm/crmmgmt/quotationmgmt/webui/xxcrmquotationcreationPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null, ht, false,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    in my case when i click on delete yes button it is not going to this deleteyes block
    Regards
    Sreekanth

    Hi,
    try using this...
    if ("Delete".equals(pageContext.getParameter(EVENT_PARAM)))
    System.out.println("Entered into this delete block...");
    String oid = pageContext.getParameter("oid");
    OAException msg = new OAException("PO", "XX_DELETE_SUPPSITE_CONFIRM");
    OADialogPage dpage =
    new OADialogPage(OAException.WARNING, msg, null, "", "");
    dpage.setOkButtonItemName("DeleteYes");
    dpage.setNoButtonItemName("DeleteNo");
    dpage.setOkButtonToPost(true);
    dpage.setNoButtonToPost(true);
    dpage.setPostToCallingPage(true);
    dpage.setOkButtonLabel("Yes");
    dpage.setNoButtonLabel("No");
    Hashtable delete = new Hashtable(1);
    delete.put("d1", oid);
    dpage.setFormParameters(delete);
    pageContext.redirectToDialogPage(dpage);
    /*if user will click on delete yes button*/
    elseif (pageContext.getParameter("DeleteYes") != null)
    System.out.println("Entered into delete yes method.....................");
    String s1 = pageContext.getParameter("d1");
    am.xxDeleteQuotation(s1);
    HashMap ht = new HashMap();
    ht.put("Purpose", "New");
    pageContext.setForceForwardURL("OA.jsp?page=/crm/oracle/apps/xxcrm/crmmgmt/quotationmgmt/webui/xxcrmquotationcreationPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null, ht, false,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    Thanks,
    Gaurav

  • Question of workbook/query/variable deletions

    Hello,
    Needed opinion from the gurus on how deletion of front end objects is handled.
    For example, we have migrated workbooks(including query elements, variables etc) to quality. Some of them need to be deleted and no longer are required in production.
    Can we delete those objects in development and would it create a request similar to how backend obkjects are deleted? So that when the transport is sent out, it would delete the objects in the target systems.
    Or do we manually/programatically delete those objects in the development and in target systems?
    Thanks in advance for your thoughts
    Regards
    Prakash

    Hello,
    Thanks for your input.
    Does the front end deletion get recorded the same way as backend?
    For example, if I delete a query from RSZDELETE. I am not prompted for a transport or a request.

  • Protect object from accidental deletion

    When I first tested this, I noticed that protect object from accidental deletion adds and explicit deny for everyone to delete and delete subtree for that object only. However, after testing a bit further, I noticed that if you create a protected OU inside
    another protected OU, the parent OU will also gain the ACE deny Delete All Child Objects for the everyone group.
    Now, why on earth would that be a good thing?? I know most of you will answer "because of accidental deletion" but if that's the case then the child OU should also have the same rights (and all the problems that are inherited with the having of
    these rights).
    A move of an object is a create on the target OU and a delete on the parent OU. This basically means that if you have:
    An OU named "Groups" that is protected from deletion, with a child OU called "Specific Groups" also protected from deletion, with a Group called "My Test Group" under "Groups" OU and another group called "My Specific
    Test Group" under "Specific Groups" OU then "My Test Group" cannot be moved, deleted, etc whilst "My Specific Test Group" can, despite the fact that both OUs are protected from deletion. Even if you then delegate rights to
    Create, Move and Delete groups because the deny takes precedence the delegation would be useless...
    Unless you are an organization where you never have an OU inside an OU containing other objects, how would you possibly benefit from this, and is there a way (without doing it manually) protect ONLY OU's from deletion without protecting child objects?
    Johh

    Hi Marcin,
    It does facilitate OU protection, but by default in 2008 R2 when you create an OU it is set to be protected. Ensuring people untick the box and then manually protect that OU (by assigning rights directly to it rather than ticking the box) every time an OU
    is created for something as futile as preventing an OU from being deleted is almost a complete waste of time and the effort vs utility almost dictates that we'd be better off not having the prevent accidental deletions there at all. After all, we've survived
    Windows 2000 and 2003 without this functionality...
    As for the scenario, I'll give you a very simple example:
    You have Workstations under Workstations>Department Name>Desktops. You obviously have several GPOs linked at either one of those 3 places. All of a sudden, as part of testing a new deployment, you are required to add another GPO to the existing ones.
    As part of the testing phase, you create a Dev OU under Desktops and link the new GPO to the new Dev OU. At the same time that you do this, do you really go and create a new OU under Desktops to hold all the already existing objects under desktops and therefore
    prevent having any leaf-level objects and an child OU under the same parent OU? You could claim that a better way of doing it would be to create a Test OU at the top level of Workstations, but then you'd have to work out the effective permissions and GPOs
    at the other OU level and replicate it on the newly created one...

Maybe you are looking for

  • Change pointer for HR master data is not getting generated in table BDCP

    Hi, I have done all the required configuration for change pointer for HR master Distribution and it was working fine few days back. Now suddnly it has stopped working. Can anyone assist me on how should i debug it. Thanks Sunil Singh

  • How to read the current selection in a table.

    Hello Experts, I've this issue with the web dynpro. I have a Adaptive Webservice Model in web dynpro. And I have three tables in the UI. When a row is selected in the first table, the second table is populated with the appropriate data (using a metho

  • Adobe X Standard Licensing error

    I am having trouble installing Adobe X Standard on windows 7 machines.  I am putting it on a image.  It is giving users the licensing error message and to uninstall and reinstall.  After we uninstall and reinstall we don't get this message.  I used t

  • How to Patch the new release PSU 11.2.0.3.1

    Dear Expert, This is my first time patch the Oracle RAC on two node cluster SUN SPAR 64 bit. Please someone can provide full proper step for patching the PSU 11.2.0.3.1 . Current RAC database version 11.2.0.3. My grid home and database home is not sh

  • I can't see my Netflix or apple movie icons on the home screen what gives??

    I can't see any icons for my Netflix or apple movies on my home screen, what gives??