Default Tree in oracle apex4.1

Hi,
i have a table named as "DMS_DOCUMENT_MAS"
Doc_id is the primary key.
i have specified in this table document with their folder name.
This table as folder name , sub folder name and their document name. Subfolder can be null.
How i can create default tree in apex4.1.
Thanks * Regards
Vedant

Dear Vedant,
Take on my detailed steps here
Re: Question regarding Trees in APEX
If this question is answered, please mark the thread as closed and assign points where earned..
Best Regards
Mahmoud

Similar Messages

  • Customizing the default tree

    Hi,
    I am using the default tree structure in oracle apex.I want to improve the look and feel of the default tree.Any help to customize the tree will be appreciated :).
    Thanks in advance

    Hi TJ,
    You can add styling into the tree template itself. What you do, though, depends on what the tree template already has.
    If we assume that none of the entries in the tree's template shows name="..." on any tag and the tree is constructed as a table - that is, the Before Tree setting is just:
    <table border="0" cellspacing="0" cellpadding="0">we can update this to (A) give the table tag an ID and (B) add some styling above that to target each tree node. There should be only types of node in the tree - ones without any link and ones with a link. The ones without a link should be just text in a TD tag. The ones with links should be text in an A tag.
    So, if we give the tree an ID of "mytree", we can change the Before Tree template setting to:
    <style type="text/css">
    #mytree td {color:darkblue; font-size:16px;}
    #mytree a {color:darkblue; font-size:16px;}
    </style>
    <table border="0" cellspacing="0" cellpadding="0" id="mytree">Then the text in either the TD tag or the A tag will be darkblue and 16px. I have done that here: [http://apex.oracle.com/pls/otn/f?p=21374:1]
    If your template does include the name="+classname+" attribute for tags, you can override this by adding the following above the TABLE tag in the Before Tree setting:
    <style type="text/css">
    .classname {color:darkblue; font-size:16px;}
    </style>Then, no matter what the original classname style was, your setting will override this.
    Andy

  • How to not display nodes in a tree if Oracle roles are NOT used?

    How to not display nodes in a tree if Oracle roles are NOT used?
    We don't use Oracle DB roles to grant users access to Forms from the menu. We use a template and role system of our own. Basically a few tables with templates and roles.
    We want to convert our normal Forms menu to a tree menu and one of our key requirements is that when the tree is populated ONLY nodes with programs (i.e. forms) he has been granted to execute is shown.
    Since we don't use Oracle Roles how to do this in a tree?
    I created a function to show/hide LEAF nodes, BUT problem is that there are sub-menu nodes showing even if the leaf-nodes under it has not being displayed. My function has suppressed it.
    My tree query is like this:
    SELECT
         t.status, LEVEL, t.label, t.icon, t.node VALUE
    FROM
         tma_tree_menu t
    WHERE
    tma_authenticate_sys_chk_role(USER, t.node) = 1
    CONNECT BY
         PRIOR t.node = t.master
    START WITH
         t.MASTER IS NULL
    ORDER SIBLINGS BY
    t.position
    The tma_authenticate_sys_chk_role will return 1 only if the user has access to the form under that node.
    I tried the FTree functions in Forms but even that has nothing.
    Any help would be greatly appreciated.
    Edited by: Channa on Mar 17, 2010 6:49 AM

    Would you share the source code? I guess what I need is how exactly you retreive the user credentials from the DB table and set that boolean variable.
    and then how to condition it in UIX?

  • Anyone knows how to implement Decomposition Tree in Oracle BI products? to

    Hello Everybody
    Recently I'm trying to use Oracle BIEE plus to upgrade our old report service in our product. I'm a newbee to OracleBI products but I have a question that oracle support guys in our region also could figure out a clear answer. If anybody here can give me some clues it would be appreciated.
    I once used ProClarity BI product before, and ProClarity report service can provide a very powerful visualization tool like Decomposition Tree. I'm quite interested this function. But I searched many Oracle BIEE plus and ESSBASE documents, it seems Oracle BI can' implements the functional for which Proclrity Decomposition Tree can provided?
    Is there any body knows any other solution to implement Decomposition Tree in Oracle BI product?
    Thanks

    Appreciated the quick response:)
    Yes. I don't find the directory object .. I'm not very familiar with biee so far so might be me slight this object in my investigation.
    I need to check this object and see how it works.
    And thanks for your advise.

  • Default users in oracle 10g

    Hi,
    how can we check the default users in oracle 10g which were created at the time of database creation??

    Hello...
    Please find the user and its usage in 10G:::
    User Purpose
    =========================
    SYS      Oracle Data Dictionary/ Catalog
    SYSTEM The default DBA user name (please do not use SYS)
    OUTLN Stored outlines for optimizer plan stability
    DBSNMP Oracle Intelligent agent
    DIP Generic user account DIP for processing events propagated by DIP.
    TSMSYS User for Transparent Session Migration (TSM) a Grid feature
    ORACLE_OCM Owner of packages used by Oracle Configuration Manager
    Please make your thread answered!!!!

  • Default port of Oracle 9i Database --- Oracle database installation

    Hi,
    I am new to oracle..searched across internet to know this particular detail of Oracle 9i database installation.
    My query being..Can Oracle database be installed in a way to use port's other than 1521. When do we go for making use of a port other than 1521. What are the risk's and benifit's.
    How to make use of a port other than 1521 while making use of OUI(oracle universal installer) to install a 9i database on windows OS.
    Can someone provide an answer to my queries/ some link where I can find the answer.
    Thanks,
    R S

    you have to change the port no in listener.ora file which exists on Oracle_home/network/admin/listener.ora like
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = Griat-xp.bebo.tech.com)(PORT = 1521))
      )from this to
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = Griat-xp.bebo.tech.com)(PORT = 1522))
      )afterwords you have to reload the listener by using lsnrctl on command prompt
    in this way you can change the default port of Oracle
    Regards
    Singh

  • Dynamic SQL report  on Oracle apex4.0

    Hi Everyone,
    I have two reports in one page.One is the Interactive and other is Sql report. Based on the selection of the row(using checkbox) in the interactive report, the sql report has to display the selected columns.
    Note :The report has to be loaded whenever a row is selected and without submitting a button
    Can anyone please suggest?
    I am using oracle Apex4.0
    Regards
    Raj

    I believe you store the values in the checkboxes. For example, your Interactive Report query looks like:
    SELECT '<input type=checkbox value='||OBJID||' />' AS CHECKBOX, T.*
    FROM SOME_TABLE T
    and in "Report Atributes" the CHECKBOX is displayed as "Standard Report Column".
    *1.Create a hidden check list input field.*
    It will store a list values of selected checkboxes. make it long enough, eg. 1000.
    Let's say the input name is: P000_X_CHECK_LIST
    *2. Create Dynamic Action*
    This dynamic action is supposed to fill in the P000_X_CHECK_LIST with a list of values, separated by ":" character.
    These values will be an input for the SQL report.
    Name: Update Check List
    Event: Change
    Selection Type: jQuery Selector
    jQuery Selector: input:checkbox
    Action: Set Value
    Set Type: JavaScript Expression
    function check_list() {
    var n = "";
    $(":checked").each( function () {
    n = n + (n === "" ? "" : ":") + $(this).val();
    return n;
    check_list();
    Selection Type: Item(s) - P000_X_CHECK_LIST
    *3. Adjust the "SQL report" query with this magic formula*
    AND SEARCHED_ITEM IN (
    SELECT item
    FROM (SELECT REGEXP_SUBSTR (str, '[^:]+', 1, LEVEL) item
    FROM (SELECT :P000_X_CHECK_LIST str
    FROM DUAL)
    CONNECT BY LEVEL <= length (regexp_replace (str, '[^:]+')) + 1)
    for example:
    SELECT O.*
    FROM SOME_OTHER_TABLE O
    WHERE SEARCHED_ITEM IN (
    SELECT item
    FROM (SELECT REGEXP_SUBSTR (str, '[^:]+', 1, LEVEL) item
    FROM (SELECT *:P000_X_CHECK_LIST* str
    FROM DUAL)
    CONNECT BY LEVEL <= length (regexp_replace (str, '[^:]+')) + 1)
    *4. Adjust the Dynamic Action:*
    Advanced: Event Scope: "live"
    *5. Add one more True action to the Dynamic Action:*
    Action: Refresh
    Selection type: Region
    Region: The region of the "SQL report".
    Volia!
    Best regards,
    Krzysztof

  • Unused service in Solaris 10 and default user in Oracle 10

    Hi,
               Our SAP system (ERP6 EHP4) were installed on Solaris 10 and Oracle 10
               Questions are:
               - Which ports of /etc/services on Solaris 10 can disable without affect with SAP?
               - Which default users in Oracle 10 can lock or disable (or change password)?
               Ps. For Auditing purpose and security hardening in SAP ERP6 EHP4.
    Best regards,
    Choosak B.

    HI,
    For port information use this guide
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4e515a43-0e01-0010-2da1-9bcc452c280b?quicklink=index&overridelayout=true
    Regarding change in password of oracle users you can change all passwords using BRTOOLS.
    Any how SAP only use OS level authntication and SAP<SID> user .
    But still you should not lock any user but change in password is supported for all users.(Use brtools to perform same)
    Adding up:   http://help.sap.com/saphelp_nw04/helpdata/en/4f/c3883989676778e10000000a11402f/content.htm
    Regards,
    Edited by: Gagan Deep Kaushal on May 11, 2010 9:49 PM

  • Hierarchy tree in oracle forms problem

    Hello Experts,
                         I am new in oracle forms.I am using oracle forms 11g with weblogic server 10.3.5 at windows 7.I have two table as tbl_country and tbl_state.I have to make a hierarchy tree in oracle forms.My table structure as:
    tbl_country
    CREATE TABLE "SCOTT"."TBL_COUNTRY"
       (    "CNTRY_CODE" NUMBER NOT NULL ENABLE,
        "NAME" VARCHAR2(80 BYTE),
         CONSTRAINT "TBL_COUNTRY_PK" PRIMARY KEY ("CNTRY_CODE")  
    tbl_state:
    CREATE TABLE "SCOTT"."TBL_STATE"
       (    "SATE_CODE" NUMBER NOT NULL ENABLE,
        "COUNTRY_CODE" NUMBER NOT NULL ENABLE,
        "STATE_NM" VARCHAR2(80 BYTE),
         CONSTRAINT "TBL_STATE_PK" PRIMARY KEY ("SATE_CODE")
         CONSTRAINT "FK_CNTRY_STATE" FOREIGN KEY ("COUNTRY_CODE")
    Table Date as:
    insert into tbl_COUNTRY values(0,'country ');
    insert into tbl_COUNTRY values(91,'HHH');
    insert into tbl_COUNTRY values(72,'III');
    insert into tbl_COUNTRY values(83,'JJJ');
    insert into tbl_state values(1,'state',0);
    insert into tbl_state values(2,'BH',91);
    insert into tbl_state values(3,'CI',72);
    insert into tbl_state values(4,'DI',72);
    insert into tbl_state values(5,'EH',91);
    insert into tbl_state values(6,'FI',72);
    insert into tbl_state values(7,'GJ',83);
    insert into tbl_state values(8,'HJ',83);
    insert into tbl_state values(9,'IH',91);
    Desired Output in oracle forms tree:
    |__Country
             |____HHH
                       |____BH
                       |____EH
                       |____IH
             |____III
                      |__CI
                      |__DI
                      |__FI
             |____JJJ
                       |__GJ
                       |__HJ
    I Have tried but got no output
    select
    1 ,level, esm.name,NULL,to_char(esm.CNTRY_CODE)
    from   (SELECT c.name,c.cntry_code from TBL_COUNTRY c union all select s.STATE_NM,s.COUNTRY_CODE from tbl_state s) esm
    connect by prior esm.CNTRY_CODE = esm.CNTRY_CODE
    start   with esm.code=0
    what is going wrong here.
    thank you
    regards
    aaditya

    If you have never worked with a Forms Tree control, I recommend you look at this tutorial: How To Create a Hierachical Tree form.
    Craig...

  • How i embed notepad as a default editor in Oracle forms10g

    Dear all,
    I want to use Notepad or wordpad as a default editor in oracle forms for every text item that is placed in my module.
    To get it i have already done the following things :
    1.In the default.env file i added a new line
    FORMS_EDITOR=C:\WINDOWS\system32\notepad.exe
    2. In the regedit
    i added a new string variable FORMS_EDITOR in the following path
    HKEY_LOCAL_MACHINE\SOFTWARE\KEY_ORACLE10gds\FORMS_EDITOR
    Value_data : C:\WINDOWS\system32\notepad.exe
    3. InORACLE forms Builder
    EDIT->Preference->General_tab->check the use System_editor
    But all this doesn't work.Stile if i press ctrl+E it shows the default editor not my notepad as a editor.
    Please give me the suggestion ASAP.
    Thanks in advance.

    I don't think thats possible in 10G, as it is web-based now.

  • How to set the default tree node in JTree?

    I want to set a default tree node in JTree when start the program,
    what is the method or the function to call?
    Thanks~

    If you by "default" mean "selected", then you can use one of the setSelectionXXX methods in the JTree API.
    If you by "default" mean something else, never mind this post :-)

  • OC4J- Default Island in Oracle application forms reports services

    Hi,
    Please can any one answer this question.
    How many cun current sessions will support in OC4J default island in oracle forms & reports services?
    Regards,
    Latha

    Yes, by using SSO you can achieve it. The partner applications should be registered with SSO.
    Method will depend on your version of OAS for the two applications.

  • Caps lock on Functionality in oracle apex4.1 on login page

    How to implement Caps lock on Functionality in oracle apex4.1 on login page?
    Edited by: 975943 on Dec 10, 2012 3:23 AM

    Rohit,Thanks for prompt reply.
    I have created on Display item named 'P1_CAPSLOCK',which will be enable instead of showing alert using following code.
    <div class="ui-state-highlight ui-corner-all"> <table><tbody><tr><td> <span class="ui-icon ui-icon-alert"></span> </td><td> <p>Caps Lock is enabled.</p> </td></tr></tbody></table> </div>and have added following file in JS
    <link type="text/css" href="/i/libraries/jquery-ui/1.8/themes/cupertino/jquery-ui.css" rel="stylesheet">and have updated your code as,
    $x_Hide('P1_CAPSLOCK');
    $('#P1_PASSWORD').keypress(function(e)
       var s = String.fromCharCode( e.which );
        if ( s.toUpperCase() == s && s.toLowerCase() != s && !e.shiftKey ) {
            $x_Show('P1_CAPSLOCK');
    });now i wanna disable this display item same time when user off the caps lock key.Have sent you linkedin req.kindly accept.
    Edited by: OracleMiracle on Dec 11, 2012 5:18 AM

  • Make an hierarchical Tree in oracle Forms 6i

    Hi everybody,
    I want to make an hierarchical tree. I work in Forms 6i
    I create one non database block e.g. 'Bloc2' then
    add hierarchical control item in that. e.g 'Menu'.
    I create a record group named 'RG_DATA_TEST'
    Before I use a table in this record_group.
    I want a tree as this :
    - Menu1
    Menu1 option1
    Menu1 option2
    - Menu1 option3
    Menu option3 Sub opt 3
    + Menu2
    the table 'Menu_tree' is described' :
    CREATE TABLE MENU_tree
    ID NUMBER(5),
    LABEL VARCHAR2(128 BYTE),
    ICON VARCHAR2(40 BYTE),
    MASTER NUMBER(5),
    STATUS NUMBER(1) DEFAULT 1,
    VALUE VARCHAR2(128 BYTE)
    Here the data in the table :
    INSERT INTO MENU_tree ( ID, LABEL, ICON, MASTER, STATUS, VALUE ) VALUES (1, 'Menu1', 'mainmenu', NULL, 1, NULL);
    INSERT INTO MENU_tree ( ID, LABEL, ICON, MASTER, STATUS, VALUE ) VALUES (
    2, 'Menu1 Option 1', 'optionmenu', 1, 1, 'Dialog11');
    INSERT INTO MENU_tree ( ID, LABEL, ICON, MASTER, STATUS, VALUE ) VALUES ( 3, 'Menu1 Option 2', 'optionmenu', 1, 1, dialog12');
    INSERT INTO MENU_tree ( ID, LABEL, ICON, MASTER, STATUS, VALUE ) VALUES (4, 'Menu1 Option 3', 'optionmenu', 1, 1, NULL);
    INSERT INTO MENU_tree ( ID, LABEL, ICON, MASTER, STATUS, VALUE ) VALUES ( 5, 'Menu1 Opt 3 Sub Opt 3', 'suboptionmenu', 4, 1, 'Dialog131');
    INSERT INTO MENU_tree ( ID, LABEL, ICON, MASTER, STATUS, VALUE ) VALUES ( 6, 'Menu2', 'mainmenu', NULL, -1, NULL);
    INSERT INTO MENU_tree ( ID, LABEL, ICON, MASTER, STATUS, VALUE ) VALUES ( 7, 'Menu2 Option1', 'optionmenu', 6, 1,'Dialog21');
    The record_group use this instruction SELECT :
    SELECT STATUS, LEVEL, LABEL, ICON, VALUE
    FROM MENU_tree
    CONNECT BY PRIOR ID = MASTER
    START WITH MASTER IS NULL
    And At the trigger When_new_form_instance , i do this code :
    DECLARE
    htree ITEM;
    V_IGNORE number;
    BEGIN
    HTREE := FIND_ITEM('BLOC2.MENU');
    V_IGNORE := POPULATE_GROUP('RG_DATA_TEST');
    FTREE.POPULATE_TREE(htree);
    END;
    When i run the forms, It don't give me a structure of node.
    It give me only a icon with two arrows.
    Where is the problem ?
    Must I add code somewhere ?
    Help me for your ideas.
    Regards.
    Edited by: 794982 on 17 sept. 2010 04:55
    Edited by: 794982 on 17 sept. 2010 05:01
    Edited by: 794982 on 17 sept. 2010 05:04
    Edited by: 794982 on 17 sept. 2010 05:06
    Edited by: 794982 on 17 sept. 2010 05:13
    Edited by: 794982 on 17 sept. 2010 05:19
    Edited by: 794982 on 17 sept. 2010 05:23

    Ok Francois Thanks for your response.
    Just I pricise i work with oracle forms version 9.0.4.0.19 .
    But I am putting this code in trigger When_New_form_Instance but it didn't work.
    When I execute it just shows a line with two arrows but not a real tree.
    Then I do a block-non based and a elemnt with type hierarticall tree and a canevas.
    and i create a record_group. and in a palette property of the element i precise the canevas and the record_group
    I don't khnow where is the problem ?
    Any other suggestion ? please
    Regards.

  • How to change the default logo in Oracle UCM11g?

    Hi,
    I want to change the default oracle logo into custom logo in Oracle UCM11g.Please tell me how can i change that?Is that i have to create any layouts for that?
    Thanks

    Kyle's Blog offers sample component. Look at the bottom of the blog or use this link: https://www.samplecode.oracle.com/tracker/tracking/id/CS607/linkid/prpl1003
    You'll have to register at Sample Code site to obtain access. With this sample it's easy to start and modify by your needs.
    For building custom components recomended start is this book: http://www.amazon.com/Definitive-Stellent-Content-Server-Development/dp/1590596846/ref=sr_1_1?ie=UTF8&s=books&qid=1251332342&sr=8-1
    It's considered as Content Server Bible.
    There are many good advices and guides within this forum. Search for the "custom component development".
    Regards,
    Boris

Maybe you are looking for

  • To overcome Authorization error while executing a Function module

    Hello Friends, In my custom workflow , I need to execute a validation  function module ( SAP standard ) in a dialog step  - Approval step. But the issue is approvers will not have authorization to the FM ( They have minimum authorization - Just to ap

  • RFC to File scenario.. Messages not available in sxmb_moni

    Hi Experts, I have created simple RFC to File scenario in my sandbox system.  First time I am doing this type of scenario. When I execute the program which is created to call the RFC Function Module nothing is coming into sxmb_moni in sap system as w

  • IPS Tech Tip - Evasions - TCP/IP examples and handling - Sig team presentation

    Hi Customers, Its summer time and nothing evokes cool quite like a discussion into the TCP / IP stack and how creative attacker types try to hide attacks behind it. This presentation will feature a security researcher from our signature team and wil

  • Storage for jpg, files and photoshop files??

    Premier elements.  How to store HUGE amount of one's notes(Word & Excel),  jpg, and Photoshop files away from computer to save memory??  Used Adobe's library, but now only accepts 50 files a month. Extremely low budget production.  High quality work.

  • Faulty batch of 20" iMacs?

    Hi, I am pretty new to Apple, i have recently started as a LAN admin at a company that does pre press work and has amongst other computers and servers about 12 iMacs, a mixture of 17, 20 and 24" iMac intel units. I have 4 off the 20" units and I have