Hierarchical tree not showing

Hi, My hierarchical tree is not showing on the form, I have the following situation;
I have a table with the parent and child coloumns, I have created a Record_Group using a query that I have tested in PL/SQL it works
select 1, level, form_name
from iso_forms
connect by prior form_name=action
start with action is null
The rsult is
1 LEVEL FORM_NAME
1 1 Edit
1 2 Holder
1 2 Isotopes
1 2 Laboratories
1 2 Personal
1 2 Incident
1 2 Equipment
1 2 Over Exposure
1 2 Archive
1 1 Print
1 1 Queries
11 rows selected.
I have set in the properties of the tree to use the Record_Group that has this query, but when I run the form I only see a blank square where the tree should be showing.
Can anyone tell me what I am doing wrong?
Thank you
Michael

a control block is one not based on a table/view/procedure . check the block's query data source name. its must be blank.
I suggest you create a procedure where you create the record_group using
CREATE_GROUP_FROM_QUERY,populate_group and ftree.set_tree_property
Here is my code that I i used to populate my tree .it works:
PROCEDURE populate_the_tree IS
grp recordgroup;
error_number number;
grpname varchar2(20) :='rg_group';
tree_id item :=find_item('ctrl.tree');
grp_qry2 varchar2(500) :='select -1,level,ename,null,empno from emp start with mgr is null connect by prior empno=mgr';
begin
     grp := find_group(grpname);
     if not id_null(grp)
          then delete_group(grp);
     end if;
--     grp := create_group_from_query(grpname,grp_qry1||grp_qry2);
     grp := create_group_from_query(grpname,grp_qry2);
     error_number:=populate_group(grpname);
     if error_number <> 0
          then message('Error while populating tree');
          raise form_trigger_failure;
     end if;
     ftree.set_tree_property(tree_id,ftree.record_group,grp);
END;
Message was edited by:
lewismak2000

Similar Messages

  • Hierarchical tree not showing up while running the form

    Hi Gurus,
    I have a problem while running forms in 10g AS.
    The hierarchical tree control is showing up when I run the form in my local development (win xp) system. But, when I run the same form through my 10g Application server(linux), the hierarchical tree control is not showing up.
    Can anyone suggest some solutions ?
    Thanks in advance.
    Sundar K

    Hi Andreas,
    Thanks for the reply.
    The form shows a blank square-box, instead hiearchical tree. I can see other controls like text-box, LOV, command button on the same form.
    The java console shows,
    Downloading http://test.abits.com:7778/forms/java/frmall_jinit.jar to JAR cache
    Downloading http://test.abits.com:7778/forms/java/f60tree.jar to JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    The problem persist, even though I change the appsweb.cfg file to use frmall.jar instead of frmall_jinit.jar.
    I'm using 10g application server (iAS 10.1.2.0.2).
    Kindly advise. Thanks in advance.
    Sundar K

  • Hierarchical Tree not showing using a record group to populate

    Hi, I am trying to set up an hierarchical tree. Can someone please give me the exact steps I need to take to get this right.
    I am trying to create a hierarchical tree to behave like a menu on a Main form from where I will call the other forms of my application.
    I have done the following
    select 1, level, null, form_name, form_name
    from iso_forms
    connect by prior form_name=action
    start with action is null
    and get this when I run the statement in pl/sql
    1 LEVEL NULL FORM_NAME FORM_NAME
    1 1 Edit Edit
    1 2 Holder Holder
    1 2 Isotopes Isotopes
    1 2 Laboratories Laboratories
    1 2 Personal Personal
    1 2 Incident Incident
    1 2 Equipment Equipment
    1 2 Over Exposure Over Exposure
    1 2 Archive Archive
    1 1 Print Print
    1 1 Queries Queries
    My tree on my main form is still blank, I have checked that the tree is the only item in the block but I am not sure how to confirm that it is a control block. I created the tree in layout editor by clicking on the Hierarchical Tree icon on the left and then dragging out a block, so I am assuming that the block is of the correct type.
    Thank you for your assistance
    Michael

    a control block is one not based on a table/view/procedure . check the block's query data source name. its must be blank.
    I suggest you create a procedure where you create the record_group using
    CREATE_GROUP_FROM_QUERY,populate_group and ftree.set_tree_property
    Here is my code that I i used to populate my tree .it works:
    PROCEDURE populate_the_tree IS
    grp recordgroup;
    error_number number;
    grpname varchar2(20) :='rg_group';
    tree_id item :=find_item('ctrl.tree');
    grp_qry2 varchar2(500) :='select -1,level,ename,null,empno from emp start with mgr is null connect by prior empno=mgr';
    begin
         grp := find_group(grpname);
         if not id_null(grp)
              then delete_group(grp);
         end if;
    --     grp := create_group_from_query(grpname,grp_qry1||grp_qry2);
         grp := create_group_from_query(grpname,grp_qry2);
         error_number:=populate_group(grpname);
         if error_number <> 0
              then message('Error while populating tree');
              raise form_trigger_failure;
         end if;
         ftree.set_tree_property(tree_id,ftree.record_group,grp);
    END;
    Message was edited by:
    lewismak2000

  • CRXI & CR9 - Group Tree not showing/available

    I have a report where the Group Tree is NOT showing for both CRXI & CR9! Display Group Tree is checked in both versions. This report has 3 groups. This has happened on other reports. I have tried unchecking the Display Group Tree option and saving report, then checking it again and saving it, but still unable to view Group Tree.
    I have other reports with grouping and the Group Tree is available.
    Any suggestions?
    Thanks,
    JSR

    Please test by implementing following steps:
    1.Open this report in the designer and save with some other name.
    2.Create a new connection to the desired database and use 'Set datasource location'  option under Database tab to set the datasource location to this new connection.
    3.Open each group and re-select the database field (on which the group is based).
    4.Check whether ther are any errors (at run time ) while refreshing this report.
    Please provide following information:
    1.Exact version of crystal reports(Help>>About Crystal Reports)
    2.Has anything changed with this report since the last use.
    Thanks

  • Scorecard Strategy Tree Not Showing Demical Scores

    Our score range is between 1 and 5, when i am opening objective in edit mode, score is 3.84 an it is OK but score in strategy tree is 3, we realesed that strategy tree can not show decimal scores, how can i solve this problem.

    Yes, that was the reason.
    The scorecard link the KPI using absolute path (you see it if you open the XML of the scorecard using Catalog Manager or on the filesystem), so even if you moved the scorecard to a shared folder it was still trying to read the KPIs from your "my folder". Only you (or anybody else using your same account) were able to see them, all the other users have the "structure", but nothing more. It's still a point that sometimes when moving objects people forget (also because for them it works fine ....).

  • Hierarchical Viewer not showing Folder Label for Accessors

    Hi,
    I am using JDev 11.1.1.5.
    I am using Hierarchical Viewer component to show master detail relationships. My tree structure is as follows:
    Locations (Level 1)
    ----->Departments (Level 2)
    ----------->Employees (Level 3)
    ----------->Rooms (Level 3)
    Employees and Rooms are the accessors of Departments (they are same level). For these accessors, I already set the Folder Labels in Tree Binding. So, in the Hierarchical Viewer, under Departments Node, there are 2 nodes to group for Employees and Rooms. But these 2 nodes are empty. They should show the Folder Labels that I defined in the tree binding.
    I tested with the ADF Tree component. It is showing folder labels correctly.
    How do I customize (to show the labels) these nodes? Could you please help me with this issue? Thanks.
    Best Regards,
    cmoster

    Hi All,
    I achieved with the following code changes in jsff page. I put this code inside the Departments Node.
    <af:outputText value="*#{node=='EMPLOYEES' ? node:''}*" inlineStyle="font-family:tahoma;font-size:14px;color:blue;font-weight:bold;" id="ot8"/>
    <af:outputText value="*#{node=='ROOMS' ? node:''}*" inlineStyle="font-family:tahoma;font-size:14px;color:green;font-weight:bold;" id="ot82"/>
    The folder labels in the tree binding are "EMPLOYEES" (for Employees Accessor) and "ROOMS" (for Rooms Accessor). After that, these 2 nodes are showing EMPLOYEES and ROOMS respectively.
    Please suggest me if it can be done with the other ways.
    Best Regards,
    cmoster

  • BW Hierarchies sometimes not showing as pick list

    Hi,
    we have created a Crystal Report that uses a parameter that should be picked from a BW hierarchy (a cost center group). We created the report and published it via the BW publisher to BO and then included it with an iView in the BW Portal.
    Now when I log on to the portal and call the report, I'm presented with the static pick list (top 200 values) most of the time instead of the hierarchy view (as described in http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsandBWquery+elements in the lower part of the article)
    When I then log on to the CMC and call the report there, I first get the flat list, too, but when I call the report 2 or 3 times, I get the hierarchy view. When I now go back to the BW Portal, I get thet hierarchy view there as well...
    any idea what causes this issue? How can I influence which selection screen is being displayed? (particularly as I don't want everyone to have to log on to CMC first...)
    Thanks...

    Hi Duncan,
    thank you for your reply. It's really sort of tricky.
    After the pick list is up and ready once, It'll be shown fine from that point on until, I assume, my CMC login expires.
    So maybe it's some permission problem?
    I just tested the following:
    <ul>
    <li>log into portal, call report -> flat list
    <li>log into CMC -> call report (does not have to be the same, just has to have a hierarchy pick list, a simple report does not do the trick) -> check that it has the hierarchy pick list
    <li>go back to the portal, call the report again -> hierarchy pick list comes up ok
    <li>log off from CMC
    <li>go back to the portal, call the report again -> flat list again...
    </ul>
    the whole thing works the same when I replace CMC by InfoView. The strange thing is that I have to log in to Infoview the first time I call the report from the portal (even though we have SAP credentials in BO), but this does not seem to be sufficient. I have to call one of the reports in Infoview or CMC first to make it work from the portal.
    Concerning the trace, I'll have to look into this together with our sysadmins, but I'll see what I can get.
    Thanks again for your ideas,
    cheers
    MU

  • Hierarchical Folders not showing as opened on launch

    iPhoto 6.0.4 on 10.4.7
    I have four sets of hierarchical folders. In the first three I have two, one and four albums at the next level.
    In the fourth I have another second level folder, then a third level folder; then four albums.
    When I quit iPhoto and relaunch, the albums in the hierarchies of the first three folders are all visible (that is, small black arrow down).
    In the case of the fourth folder (the one with the subfolders), the hierarchy is always closed on launching iPhoto - although I always leave the hierarchy expanded (that is, small black arrows down),
    Is there a way to force iPhoto to launch with all folder/album hierarchies expanded?
    TIA!
    Everything else works fine in iPhoto - and everywhere else for that matter :-))

    Mark:
    Just created a folder with a subfolder containing a subfolder which contained 4 albums (that's what you have right?). Upon closing and opening iPHoto the all folders remained open.
    Try deleting iPhoto's cache folder(s) that are in your User/Library/Caches folder. See if that will help.
    Do you Twango?

  • Request a Simple Sample of adding Hierarchical Tree Node

    Hai! if you are familiar with hierarchical tree. please show me
    some sample of adding node to the hierarchical tree(simple
    adding node)
    If you are providing code, please also provide information where
    the code am I suppose to be put cause i'm still new in oracle.
    Thanks in advance for spending some time on it...
    Eric :)
    null

    Here is the code for both the tree node selected and tree node activated triggers
    Tree Node Seleceted code:
    :CONTROL.Node_Activated := null ;
    :CONTROL.Node_Selected := Ftree.Get_Tree_Node_Property('CONTROL_TREE.MENU', :SYSTEM.TRIGGER_NODE, Ftree.NODE_VALUE) ;
    ===========================================================
    Tree Node Activated code:
    Declare
    LN$I Pls_integer ;
    Begin
    :CONTROL.Node_Selected := null;
    :CONTROL.Node_Activated := Ftree.Get_Tree_Node_Property('CONTROL_TREE.MENU', :SYSTEM.TRIGGER_NODE, Ftree.NODE_VALUE) ;
    If :CONTROL.Node_Activated IS NOT NULL Then
    if :GLOBAL.curr_proc_id <> :control.node_activated or :control.node_activated
    is null then                          
    CALL_FORM(:CONTROL.Node_Activated);     
    else
    Set_Alert_Property( 'AL_FORM_OPENED', ALERT_MESSAGE_TEXT,
    :CONTROL.Node_Activated || ' is already opened. Please check your current or previously opened library.' );
    LN$I := Show_Alert( 'AL_FORM_OPENED' ) ;
    end if;          
    end if ;
    end ;

  • Hierarchical Tree: When-Tree-Node-Activated is not working

    I'm working Forms 10G rel.2.1 and also using application server 10G 2.
    my problem is in Hierarchical Tree [When-Tree-Node-Activated] is not working in Enter this is working in Enter+Tab
    I want to this trigger is working in only Enter.
    I'm waiting quick response

    node_value is only item which have transfer the form or report name
    Trigger Name : WHEN-TREE-NODE-ACTIVATED
    Declare      
         htree                Item ;
    Begin
         --clear_values;
    --           htree := Find_Item('tree.htree');
    -- Find the value of the node clicked on.
    :node_value := ftree.Get_Tree_Node_Property(htree, :SYSTEM.trigger_NODE, Ftree.NODE_VALUE);
    ----Above node value transfer the procedure and call the form with node_value(Form Name)
         Execute_CMD_PROC;
    Exception
         When Others Then Null;
    End ;
    when i enter then no value but when i enter+tab then show the form

  • Some JMS objects do not show up in JNDI tree

    Hello friends. I have a situation where some of my JMS Queues do not show up in
    the JNDI tree. Other Queues / Topics show up fine. I cannot find any difference
    in the interface that tells me what my cause this to happen. Any insight would
    be appreciated.
    brian

    are you using a cluster? if so check the multicast to see if its working
    right.
    Where are you looking up the JNDI tree? in the console or are you checking
    the JNDI tree via weblogic.Admin LIST command? the LIST command may be a
    better way to see it for sure.
    sree
    "Brian" <[email protected]> wrote in message
    news:40b74519$1@mktnews1...
    >
    Hello friends. I have a situation where some of my JMS Queues do not showup in
    the JNDI tree. Other Queues / Topics show up fine. I cannot find anydifference
    in the interface that tells me what my cause this to happen. Any insightwould
    be appreciated.
    brian

  • af:tree do not show up default tree image like folder or plus icon

    Hi all,
    I am new to ADF and stuck with the problem where af:tree component do not show up default icons to expand and collapse.I am using websphere. Please help me to know where i am getting wrong to get the icons.
    Thanks in advance
    Irfan.

    quote:
    Originally posted by:
    bregent
    Always include a url when you have questions about your web
    pages.
    Sorry, newbie to these forums here.
    here's a link to one of them:
    http://www.onlineschoolsurveys.com/banner_trial_2.html
    With this page I tried using a table and put the images in
    spots in the table. The empty spots are where there should be
    images. The two images that are there were made by other people.
    This link is actually quite obnoxious.
    http://www.onlineschoolsurveys.com/oss_banner.html.
    With this one, again the only image that shows up is one that I
    made originally as a bmp export out of Snap Surveys, turned into a
    gif in Photoshop (I think). In the table toward the bottom with the
    pink squares there should actually be two pink squares, one should
    have an image in it. Being a practice page that I did not expect
    others to look at I left the obnoxious background. If this is too
    annoying, I can remove the background and repost.
    Did you define a site in the site manager?
    I'm sorry but I do not know what this means. I regularly have
    a site at www.onlineschoolsurveys.com. The first link goes to a
    page that is actually a part of the website- I tried using a
    template I know works thinking that maybe the non-templated page
    was flawed. So if you are asking if these were loaded to an active
    website: yes, I regularly have pages at that website, but no, these
    pages are not intended to be a part of my regular website. I was
    just using that space to practice.
    Do the linked images exist within the defined site?
    Yes, the images were uploaded. They should exist in an image
    folder. Although it may be really stupid for me to make a link to
    an unprotected list of files, here is the list of images in my
    images folder:
    http://www.onlineschoolsurveys.com/images/
    Since I am new to using a message board for help, please advise me
    if I should not post such directories in the future.
    Thanks for your quick response.
    Mel

  • Connect by prior working in sql but not in forms 10g hierarchical tree

    Hello Friends,
    I have the following connect by prior example which is working in sql command prompt but not in Forms 10g hierarchical tree item type. Can you please let me know why ?
    configuration: Forms 10g patchset 10.1.2.0.2 and oracle 11g database on windows 7
    SQL> SELECT 1 InitialState,
    2 level Depth,
    3 labeller NodeLabel,
    4 NULL NodeIcon,
    5 to_char(reportno) NodeValue
    6 FROM reports where formname = 'billinin.fmx' or reportno > 9999
    7 start with reportno > 9999
    8 CONNECT BY PRIOR reportno = labelno
    9 /
    INITIALSTATE DEPTH NODELABEL N NODEVALUE
    1 1 FIRST 10000
    1 2 report1 UD Label 1
    1 2 report2 UD Label 2
    1 2 report3 UD Label 3
    1 1 SECOND 10001
    1 1 THIRD 10002
    If I write this command in forms hierarchical tree, then it is working, why not the above code ?
    SQL> SELECT 1 InitialState,
    2 level Depth,
    3 labeller NodeLabel,
    4 NULL NodeIcon,
    5 to_char(reportno) NodeValue
    6 FROM reports
    7 start with reportno > 9999
    8 CONNECT BY PRIOR reportno = labelno

    Thanks Room,
    This command worked ! I will put the sample working code here. It will help you to filter the records in a tree in sql command prompt as well as in forms hierarchical tree 10g.
    SELECT 1 InitialState,
    level Depth,
    labeller NodeLabel,
    NULL NodeIcon,
    to_char(reportno) NodeValue
    FROM reports
    start with reportno > 9999
    CONNECT BY PRIOR reportno = labelno
    AND FORMNAME = :reports.testitem

  • Md04 not showing Overview tree

    In my case  MD04 is not showing the overview tree.
    First case
    For material x if i put Plant  and MRP area same then its not showing the overview tree.
    Second case
    When i put MRP area (as per configuration ) and plant in this case it is showing the overview tree.
    please suggest.

    Dear Amit,
    system is giving correct results,
    if your order will show the tree in which mrp area it is.
    now suppose you dont put any MRP area in the intial screen and put plant only. then system will consider that plant same as mrp area.
    now if you put the the MRP area and the respective plant.
    orders in that MRP area will be shown. and order is is only shown when there is pegged ordes to that order.
    in your case there may not be dependant orders.
    and you cant see the same orders in 2 cases you told.

  • Performance Point Decomposition Tree does not Showing the Any Dimensions

    Hi,
     Actually i have created three (dimension) filters in Dashboard which is associated with Analytic grid. Among those three dimension two of them in Analytic Chart 'Bottom axis' remaining one dimension in Analytic Chart 'Background'.
    Now the decomposition tree is not working. but i would moved BackGround dimension to bottom axis then then decomposition  tree is working fine.
    Why? Does decomposition tree not work, if any dimension would be in analytic chart 'BackGround'.
    Can anyone tell answer for issue? Any work around for this?
    It would be great if any one would give a correct Solution. Thanks in Advance.
    Thanks & Regards
    Poomani Sankaran

    One  observation which is, if All the filter Dimensions would be in bottom axis  then the Analytic grid Decomposition Tree is working fine. If i would keep any one of dimension in 'Back Ground' then it is not showing any dimension in Decomposition
    Tree.

Maybe you are looking for