GrabXML('f?p=&APP_ID.:&APP_PAGE_ID.:&APP_SESSION.:FLOW_FOP_OUTPUT_#REGID

Would anyone know of the equivalent Portal 10.1.4 call for Step 4: Add PDF Link to Report Screen as stated in Rendering Oracle HTML DB Reports as PDFs Using Formatting Objects Processor -- http://www.oracle.com/technology/pub/notes/technote_htmldb_fop.html
Unless I'm wrong, the same functionality in Apex should be possible with Portal?
Thanks in advance,
CoolBreeze

CoolBreeze, we do not have nay option to output in XML from portal, your best option here would be to use Oracel reports which has excellent integration into Oracel Portal and can also output to any format including XML or PDF.
Cheers,
Mick.

Similar Messages

  • Creating a translatable application

    Hi friends,
    Now am working in translatable application, i followed oracle apex cookbook [Creating Multilingual APEX Applications|http://www.oracle.com/technetwork/community/bookstore/apex-cookbook-chapter-256792.pdf] .
    1. In Globalization tab Application Language Derived From i changed to Item Preference (use item containing preference).
    2. Created a application item FSP_LANGUAGE_PREFERENCE
    3. Created application process on On Load: Before Header (page template header)
    begin
    owa_util.redirect_url('f?p='||:APP_ID||':'||:APP_PAGE_ID||':'||:
    APP_SESSION);
    end;
    Condition Type
    Request = Expression 1.
    LANGThis the url i used to call the application in Arabic language
    http://localhost:7779/pls/apex/f?p=108:1:0:LANG:NO::FSP_LANGUAGE_PREFERENCE:ar-kw
    But nothing changed its still in application primary language .

    Hi Andy,
    I translated my application using xliff file also added navigation bar entries as Arabic but still no change. I done the below steps.
    1. Map your primary language application to a arbic (ar-kw) translated application
    2. Seed translatable text to translation repository.
    3. Download XLIFF file.
    4. Upload XLIFF
    5. Published Application Translation
    Navigation bar entry:
    Target is a: Page in this application
    Page: &APP_PAGE_ID.
    Request: LANG
    Set these items: FSP_LANGUAGE_PREFERENCE
    With these values: ar-kw
    In Manually Edit Translation Repository Translate From, Translate To both showing in english only.

  • Export XML to CSV button (ActionScript2)

    Hello All,
    We are tracking historical data (via xml) and i would like to
    create a button that allows the user to export data to a CSV. I
    know this isn't very detailed, but if anyone can point me in the
    right direction or has done this and would like to share how they
    went about it or anything at all i would really appreciate it.
    thanks in advance

    Assign a static ID to your report region, then use the following SQL to generate a URL that you can associate with your button.
    select
    APEX_UTIL.PREPARE_URL
    ('f?p='||:APP_ID||':'
    ||:APP_PAGE_ID||':'
    ||:APP_SESSION
    ||':FLOW_EXCEL_OUTPUT_R'||region_id||'_en-us:')
    from apex_application_page_regions
    WHERE application_id = :APP_ID
    AND page_id = :APP_PAGE_ID
    AND static_id = 'YOUR_STATIC_ID'
    Scott

  • Translate Application- browser application based on the language defined

    Dear All Expert,
    My oracle apex application is develop in oracle 11g XE edition, apex application primary language is in english. And i would like to switch my application to chinese language based on the language defined on my oracle database table.
    I did translated my application to chinese language and published.
    I created application processes called "set_language", the conditions type is "Request = Expression 1" and i set "Expression 1" to value "LANG". (Fire on header load)
    setlanguage pl/sql as below;_
    begin
    owa_util.redirect_url('f?p='||:APP_ID||':'||:APP_PAGE_ID||':'||:APP_SESSION);
    end;
    I created a button with label "chinese" on my login page. This button will send a request "LANG" and set "FSP_LANGUAGE_PREFERENCE" to value "zh-tw" ,and redirected to my login page again when button pressed. This work fine.
    My question here is how can i automatically browser the apex application based on the language defined on my database table. (I had a table to stored language to be use browser the application.) Mean that i want my apex application to check the language from my db table in order to browser the application based on the language defined.
    How can i do that? Can anyone help on it?
    Another question is about the logout in chinese language display.
    The application will automatically switch to english when i logout my application. How can i maintain in chinese language?
    Thanks a lot in advance!
    Best Regards,
    Apex Junior.

    Hello, (What is your first name?)
    >> I tried to used session as derived my second language which is "zh-tw".
    The Session option allows you to use the built-in procedure apex_util.set_session_lang or the parameter p_lang - as part of the application URL – to dynamically set the application language.
    If you use the p_lang parameter as part of your application URL, the first page – including the login page – will be rendered according to this parameter. In your case it can look something like this:
    http://. . ./f?p=1234 . . . &p_lang=zh_tw
    >> From your reply, you are suggested to use APPLICATION PREFERENCE(FSP_LANGUAGE_PREFERENCE).
    As I mentioned in the last paragraph of my previous reply, if you choose to set the application language for each individual login, based on a parameter you need to fetch (like the database language), you don’t need to use application preference. The latter is useful when the user preference is lasting (i.e., a certain user is using the same language all the time, although you have the option of changing it). If the language can change from one session to another, based on dynamic parameters in the database, the best is to use the * FSP_LANGUAGE_PREFERENCE* item.
    The advantage of using the p_lang parameter is that it allows you to set an appropriate language even for the first application page (usually the login page). Using the FSP_LANGUAGE_PREFERENCE item requires you first to set its value. Before that, the Application Builder uses the primary language to render the first page, and because of that, the first rendering of the login page is in the primary language.
    I want to draw your attention to the Browser (use browser language preference) option. If your application language tightly correlated with the browser language – it’s reasonable to assume that users that want to use zh-tw in the application, also using the same language in their browser – this option is a very simple and straightforward to set the application language from the first page.
    Regards,
    Arie.
    ♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.

  • FLOWS_020200 decimal and comma setting, wrong definition for Croatian lang

    Hi!
    In what table (view) is definition that define for certain language that decimal point and comma.
    Problem is that for Croatian language these two items are flipped. When we change language to German, these two chars are OK.
    So we'd like to change value in some system table where is definition for Croatian language.
    P.S.
    For future versions please put that decimal point =',' and comma ='.' (opposite to current setting)
    THX

    Scott,
    we have successfully solved NLS problem in a way that I have described before.
    Now remaining problem is when we change language (hr-en) with code like:
      IF #OWNER#.tool.get_lang='hr' THEN
        :FSP_LANGUAGE_PREFERENCE := 'en';
        :G_PLEASE_WAIT := 'Searching...please wait!';
      ELSE
        :FSP_LANGUAGE_PREFERENCE := 'hr';
        :G_PLEASE_WAIT := 'Pretražujem...molim pričekajte!';
      END IF;
      htmldb_application.g_unrecoverable_error := true;
      htp.init;
    owa_util.redirect_url('f?p='||:APP_ID||':'||:APP_PAGE_ID||':'||:APP_SESSION);then we get an error because it seems that redirect_url is noto working with alter session (which execute Before page header and Before computations and validations for the same page).
    ORA-06502: PL/SQL: numeric or value error: character to number conversion errorlanguage change process is fired before "alter session" proceses...
    For us it is unacceptable to show wrong number format signs on WEB page.
    Is there any way to solve this problem?
    So please is there any table where we can replace that ...
    Just want to say that when we define "de" (German) as primary language (without our NLS_SETTING processes), that decimal and group format are OK as well as date format (DD.MM.YYYY).
    So please, these settings are placed somewher in Apex table...which one?
    THX!
    Message was edited by:
    Funky

  • Error: ERR-1002 Unable to find item ID for item "APP_SESSION"

    Hello all,
    I created an application for faculty in HTMLDB 1.6.
    To get to the application faculty members log into a different website, and then follow a link to my application. The link re-directs them to a public page which pulls their unique ID from a cookie stored by the first website. After their ID is found they are automatically logged in, or if the ID is not present they are redirected to the main login page.
    A few faculty members have tested the automatic login with success. One member, though, followed the same steps, but when he clicked on the link and was re-directed to the application he recieved an error "error: ERR-1002 Unable to find item ID for item 'APP_SESSION'."
    As for the code, the code first retrieves the cookie and gets the ID from it. The variable term_id is then set to the correct term value. This term value depends on what term was selected from the previous application. The term value may or may not be null (they are not required to select a term prior to being re-directed). If it is null, the faculty member is brought to a term selection page. If it is not null, the faculty member skips this step and moves on to the next page. These steps are known to work properly.
    This plsql code follows directly after, which should login the user and either redirect him/her to the term select page if the term value is null, or the main page if there is a term value present:
    IF term_id IS NOT NULL THEN
    wwv_flow_custom_auth_std.login(
    P_UNAME => faculty_id,
    P_PASSWORD => faculty_password,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||':MAIN_PAGE:'||:APP_SESSION||'::::TERM_ID:'||term_id
    ELSE
    wwv_flow_custom_auth_std.login(
    P_UNAME => faculty_id,
    P_PASSWORD => faculty_password,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||':TERM_SELECT_PAGE:'||:APP_SESSION
    END IF;
    owa_util.redirect_url('f?p=FACULTY_APP:LOGIN:&SESSION_ID.');
    The last part redirects them to the login page if all else fails
    Any idea why one faculty member would receive the message "error: ERR-1002 Unable to find item ID for item 'APP_SESSION'" while others would not?
    *NOTE: All variable and alias names here are not the actual names within the application.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Ah, i see. I thought you only had to use v('APP_SESSION') in the login function while assigned the value of P_SESSION_ID, but I was wrong.
    Thanks a lot Scott! It works perfectly now.
    Tim

  • Logging Activity

    At the moment using Apex 3.2, but looking to upgrade to 4.1
    My company have asked me to look into logging activity from Apex.
    I can get a lot of useful information from the APEX_WORKSPACE_ACTIVITY_LOG view, ie pages viewed and times.
    I also need to log things like which button was pressed and which page process was called.
    Is there a way to do this from the Apex views ?
    Cheers
    Gus

    I am not sure how to get the information for the button clicked or the procedure that ran.Well, you wrote the process that gets triggered when the user presses a button, so just add the logging information to the process itself, something like this:
    begin
      my_logging_package.log_process (:app_id, :app_page_id, :app_user, :app_session, :request, p_procedure_name => 'my_other_package.my_procedure_name');
      my_other_package.my_procedure_name (:p1_name, :p1_address, :p1_phone);
    end;As you can see, you can get a lot of the information dynamically, but you need to provide the procedure name yourself.
    See http://docs.oracle.com/cd/E17556_01/doc/user.40/e15517/concept.htm#autoId38
    Also check out "Logger" for PL/SQL:
    http://tylermuth.wordpress.com/2009/11/03/logger-a-plsql-logging-and-debugging-utility/
    - Morten
    http://ora-00001.blogspot.com

  • How to make login page navigate to last visited page?

    Hi,
    In our application, there are many public pages. In certain page, users need to login and then add or edit something. But login page will navigate to page 1 by default. Uses need to click some times to locate the last visited page.
    I defined a new applicate item "LASTPAGE", and a new application process "setpage":
    begin
    if :APP_PAGE_ID!=101 then
    select :APP_PAGE_ID into :LASTPAGE from dual;
    else
    select 1 into :LASTPAGE from dual;
    end if;
    end;
    "setpage"'s process point is "On Load: Before Header(page template header)"
    In login page 101, log in process is like following:
    wwv_flow_custom_auth_std.login(
    P_UNAME => :P101_USERNAME,
    P_PASSWORD => :P101_PASSWORD,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||':'||:LASTPAGE
    But the thing is it does not work. Log in page still go to page 1.
    Best regards,
    Qiang.
    Message was edited by:
    user535779

    Hi Scott,
    I would like to branch at the page that I am trying to get to from page 101.
    Let say page 12 Requires Authentication
    When I am not logged in , and I try to access Page 12 , I get branched to page 101 (login page).
    Now , from page 101 , I would like to branch to the page I was trying to access , in this case Page 12
    wwv_flow_custom_auth_std.login(
    P_UNAME => :P101_USERNAME,
    P_PASSWORD => :P101_PASSWORD,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||:APP_PAGE_ID
    The problem is that APP_PAGE_ID contains 101 and not 12
    Francis.

  • Apex nobody account

    I have an apex application that has as page 1 (home page) set to public page so there is no login required. It shows at the upper right hand corner the account is 'nobody' I then have a login next to it so the user can actually login to do some work.
    My question is.... it it possible in Apex 4.0 to change the nobody to something else? Nobody sounds kind of odd.
    I would prefer to make it 'Anybody' or anything but 'Nobody'.
    Where is apex getting that nobody information. and what can be done to override it to someother value?
    thanks,
    David Baker

    The nobody is dealing with the issue that no one is logged into application, so it is displaying a default string. You can run a calculation at application start time and have the APP_USER set with whatever value you want...
    BEGIN
        APEX_CUSTOM_AUTH.POST_LOGIN (
            p_uname       => 'DAMIFINOY',
            p_session_id  => v('APP_SESSION'),
            p_app_page    => :APP_ID||':'||:APP_PAGE_ID);
    END;Thank you,
    Tony Miller
    Webster, TX
    While it is true that technology waits for no man; stupidity will always stop to take on new passengers.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Deep Linking.

    Hi,
    Can anyone explain in easy terms how the deep linking works in APEX 2.2.1?
    I want to link to a page via an email, and provide parameters via the URL.
    When I click the link, it does as expected, and sends me to the login page first.
    The login page URL contains the parameter FSP_AFTER_LOGIN_URL which contains the actual details I want to go to (i.e. from the original email URL)..
    Then I submit the login page, which has the standard Login code
    wwv_flow_custom_auth_std.login
    P_UNAME => :P2_USERNAME,
    P_PASSWORD => :P2_PASSWORD,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||':'||:APP_PAGE_ID
    The page then quickly skips back to the login page, and the session variable has changed.
    This happens each time I submit the page.
    If I look in the log file for OHS, I get
    <ip>- HTMLDB_PUBLIC_USER [14/Dec/2006:17:34:24 +0000] "POST /pls/htmldb/wwv_flow.accept HTTP/1.1" 302 5
    <ip>- HTMLDB_PUBLIC_USER [14/Dec/2006:17:34:24 +0000] "GET /pls/htmldb/f?p=111:11:417929099441601843::NO::P11_ID:1241843118 HTTP/1.1" 302 5
    <ip>- HTMLDB_PUBLIC_USER [14/Dec/2006:17:34:24 +0000] "GET /pls/htmldb/f?p=111:11:9946852396693959190::NO::P11_ID:1241843118 HTTP/1.1" 302 5
    <ip>- HTMLDB_PUBLIC_USER [14/Dec/2006:17:34:24 +0000] "GET /pls/htmldb/f?p=LOGIN:2:::::FSP_AFTER_LOGIN_URL:\\f?p=111|11|9946852396693959190||NO||P11_ID|1241843118\\ HTTP/1.1" 302 5
    <ip>- HTMLDB_PUBLIC_USER [14/Dec/2006:17:34:24 +0000] "GET /pls/htmldb/f?p=LOGIN:2:2371000315649385155::::FSP_AFTER_LOGIN_URL:\\f?p=111|11|9946852396693959190||NO||P11_ID|1241843118\\ HTTP/1.1" 200 8633
    Basically I just want the login page to go to what is in FSP_AFTER_LOGIN_URL once the user has successfully passed the wwv_flow_custom_auth_std.login procedure
    thanks

    Login & app 111 are in the same workspace
    page 2 of Login is a public page
    Login's auth type is open door (basically it is using a servlet to get the windows Active Directory details and allows the user to continue once retrieved)

  • Forgot Password link and Templates.

    I configured the Forgot Password Link in PT85212.
    When i click i go futhur to the page where it asks for the USerID.
    When i provide it and Continue ,my browser pops an error message like
    "Object Doesn't support this property or method
    PT_HNAV_TEMPLATE_JS_1.js
    Code=0
    URI:https://..../cd/uat_pwd/cache/PT_HNAV_TEMPLATE_JS_1.js"
    Any idea what could be going wrong?
    Edited by: mmaller0319 on May 1, 2013 9:33 PM

    that reset_pw api call is a pl/sql procedure just
    like any other. sure you could call it from a link,
    but you'd probably want your user to end up somewhere
    after they click it. a nice way to do it would be to
    have your link pop up a confirmation window. when
    your user confirms the desire to reset his password,
    you should have that window call our api and close
    itself. you can find tips/directions for
    implementing that kind of popup functionality all
    over this forum an in how-to docs like...
    http://otn.oracle.com/products/database/htmldb/howtos/
    how_to_create_custom_popups.html
    ...or you could simply code a wrapper around our api
    that redirects your users to a URL of your choosing
    like so...
    create or replace procedure my_logout_link as
    begin
    wwv_flow_fnd_user_API.reset_pw('SCOTT',:WORKSPACE_ID,'
    personalized message to scott about his password');
    htp.init;
    owa_util.redirect_url
    ('f?p=&APP_ID.:&APP_PAGE_ID:&APP_SESSION.');
    end;
    ...and then you'd just grant execute on that
    procedure to htmldb_public_user. after that, you
    could have your reset url link go to a target like
    "my_schema.my_logout_link", and things should work
    fine.
    hope this helps,
    rajI tried using wwv_flow_fnd_user_API.reset_pw and I keep getting an error message telling me that it doesn't exist or it must be declared etc. Am I missing something here?
    Thanks in advance.
    Ami

  • IF Statement

    In a procedure in APEX, can you got to a page in an IF statement?
    eg
    IF a = b THEN
    INSERT
    ELSE
    go to page 1
    ENDIF
    Thanks
    Fiona

    Fiona - In most situations, you can create branches (on the page) to do this. By putting conditions on the branches you specify when they should fire. In rare cases, you may need to redirect to another page immediately from within a page process. To do this, for example to go to page 25 in the current application:  htmldb_application.g_unrecoverable_error := true;
      owa_util.redirect_url('f?p=' || :APP_ID || ':25:' || :APP_SESSION);Scott

  • Interactive Report Performance With Conditional Link

    Apex 3.2
    I have a interactive report.
    The underlying sql would return 127000 rows
    The sql is
    select
      lde.ods_system,
      lde.ldekey,
      msg.sendersystem, 
      msg.messagetype,
      msg.messageversion,
      msg.msgseqnumber,
      msg.alternatekey,
      msg.crudmarker,
      msg.clrbookdate,
      msg.clrbookresult,
      lower('udf_'||msg.messagetype) button,
      lde.ldekey||'.'||msg.alternatekey||'.'||msg.msgseqnumber udm_key
    from
      clr_esbmessageheader msg,
      clr_adm_systemmessage adm,
      udm_lde lde
    where
      adm.ldeid = lde.ldeid and
      msg.sendersystem = adm.system and
      msg.messagetype = adm.messagetype and
      msg.messageversion = adm.messageversion and
      msg.receiversystem = 'SCIPS'
    order by msg.clrbookdate desc
    This report only takes 1 second to display.
    I need to add a conditional link to another page, so I used
    case
    when lower('udf_'||msg.messagetype) = 'udf_distreceipt' then
    '<a class="type" href="' || apex_util.prepare_url('f?p='||:APP_ID||':52:'||:APP_SESSION||'::'||:DEBUG||':RIR'||':IR_MSG_KEY,P52_PG:'|| lde.ldekey||'.'|| msg.alternatekey ||'.'|| msg.msgseqnumber ||','|| 50, null, 'SESSION') || '"title="Go to udf_distreceipt Report">udf_distreceipt</a>'
    else 'no link' end table_link
    The sql seems to be ok, because the report accepted it, but selecting the new column and saving the report takes forever (over 2 mins)
    Now the report takes over 2 minutes to run and I still need to add more conditions.
    Have I coded the link incorrectly ?
    Gus

    Hi Gus,
    Are you wanting to put the link in the query for a specific reason?
    I had to do a similar thing in the past and just completed the column link section for the column.
    Why not just have the following in the query:
    case
    when lower('udf_'||msg.messagetype) = 'udf_distreceipt' then
    udf_distreceipt
    else null END table_link
    Then do the linking using column link section:
    You would specify your link text as #TABLE_LINK# which should then be conditionally displayed due to the case statement, then add in all the page item and values to pass across using a normal link column.
    Thanks
    Paul

  • Interactive report from PL/SQL function

    Hello All,
    i have a pl/sql function that dynamically builds up a sql query and returns it as a varchar2.
    when i create a new report then i can use this function in the report like
    return f_function(param1,param2,v('APP_ID'), v('APP_SESSION'));
    and this works fine.
    Except i cannot create an interactive report for this function, because it is not allowed !!!!
    So how can i use the function in an interactive report ?
    Thanks in advance,
    Marco

    Marco,
    Another rather extreme approach would be to go all the way and make your function pipelined (that is not only build but also execute the query) and then select from it in your interactive report.
    The disadvantage here would be that any supplementary filtering would act on the result set of the function (not as an addition to the where clause of the original query). But if you can live with that...
    The advantage would be that there's less fiddling with column headers.
    Regards,
    Iulian

  • How to reference LEVEL in a TREE's SQL code

    Is it possible to somehow reference LEVEL in a tree's sql code so that you can use a decode statement to selectively create links on specific levels only i.e. NOT on the root level?
    e.g.
    select "CHILD_ID" id,
    "PARENT_ID" pid,
    "NAME" name,
    decode( LEVEL, 1, null,'f?p=' || :APP_ID || ':43:' || :APP_SESSION || '::::P43_CHILD_ID:' || CHILD_ID) link,
    null a1,
    null a2
    from TREETABLE
    order by name
    one solution I've implemented is to create a DB function e.g.
    create or replace function get_tree_level(v_child_id number) return number
    is
    v_level number(2);
    begin
    select level
    into v_level
    from TREETABLE
    where child_id=v_child_id
    start with child_id=1
    connect by prior child_id= parent_id;
    return v_level;
    end;
    and then use
    decode( get_tree_level(child_id) 1, null,'f?p=' || :APP_ID || ':43:' || :APP_SESSION || '::::P43_CHILD_ID:' || CHILD_ID) link,
    but this is too slow as I have quite a few records in the tree and takes too long to render
    regards
    Paul P

    OK I found a workaround after reading
    How to add URL to tree
    The view my tree is build on is constructed out of 3 unions and 4 "selects" ( the first select creates the ROOT NODE where "1" is also used as a hard coded foreign key (Parent_id), in the company table.)
    I just added a new column called tree_level to the query which is hard coded wrt its level on the hierarchy.
    e.g.
    CREATE OR REPLACE FORCE VIEW COMCONSTUTREE ("CHILD_ID", "PARENT_ID", "NAME","TREE_LEVEL") AS
    select 1 as child_id,to_number(null) as parent_id ,'Company' as name,*1 as tree_level* from dual
    UNION
    select COM_ID, 1, COM_NAME,2
    from company
    UNION
    select CON_ID,CON_COMPANY_ID, substr(con_name,instr(con_name,' ')+1) ||', '||substr(con_name,1,instr(con_name,' ')-1),3
    from contact
    UNION
    select STU_ID,STU_CONTACT_ID, STU_LAST_NAME||', '||STU_FIRST_NAME ,4
    from student;
    the tree code now becomes
    select "CHILD_ID" id,
    "PARENT_ID" pid,
    "NAME" name,
    decode( tree_level,1, null,'f?p=' || :APP_ID || ':43:' || :APP_SESSION || ':TREE:::P43_CHILD_ID:' ||CHILD_ID) link,
    null a1,
    null a2
    from COMCONSTUTREE"
    order by name

Maybe you are looking for