ORACLE tags in Unstructured templates

I'm trying to call a function using the oracle tags in a UI template. If I put the same code in a dynamic page it works fine but when in a template it doesn't work.
I noticed that the application templates have function/procedure calls in their html the_value column in the wwv_sys_app_template_details$ table. I'm therefore assuming that I'm missing some specific formatting or something that I'm supposed to be using??? I've tried htp.print/htp.p but I can't get the value returned from my function to display.
Any suggestions would be most appreciated. thanks.

Hi
if you call a procedure from a UI template, you must grant that procedure to public, otherwise you don't see anything.
#write my_schema.my_proc: for example
create or replace my_proc as
begin
htp.p('Hello');
end;
#in sqlplus: conn my_schema/my_schema@my_sid
grant execute on my_schema.my_proc to public;
#in the UI template:
<ORACLE>begin my_schema.my_proc; end;</ORACLE>
It works,
Ettore

Similar Messages

  • Oracle tags in templates

    I know I've seen posts on this in the past, but can't find them for the life of me. I've searched through about 20 pages of search results with no hits, so I must ask again.
    Can someone explain why the functionality of the oracle tags were removed from the HTML templates? And is there a way I can solicit to have it put back in?
    Thanx.

    Hello,
    >>
    There certainly may be other ways to do what we want without the ORACLE tags, but constructing the pages in Oracle Portal and ApEx would be much different in that scenario and it would be nice have a common way of developing the "template" of a page in both environments.
    Am I making this too complicated?
    >>
    I think you are in one respect and not in another.
    As for page templates( the more complicated part), the cold hard fact is APEX and Portal are two different animals and their template systems are just different, the easiest way to take care of those differences is to make as much of your Look and Feel derived from an external CSS. This will allow you to apply the same look and feel to any development environment you might have to use in the future as well.
    As for the menu that is slightly different. What I would do is create a PL/SQL package that creates the required HTML structure, then you can call that package using a PL/SQL region in APEX, and I guess &lt;oracle> tags or whatever else Portal uses to output PL/SQL sections.
    One way I've done something similar is to use the XMLDB functions of the database to render out the html i need to make menu's tree's etc, It's pretty easy to get what you want and is very generic.
    Regards,
    Carl
    blog : http://carlback.blogspot.com/
    apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5

  • ORACLE tags in Templates vs Dynamic Pages

    Hello all,
    I have a procedure that prints the Portal version:
    Create or Replace PROCEDURE MATSTESTSCHEMA.SHOW_PORTAL_VERSION
    as
    l_ver varchar2(20);
    BEGIN
    l_ver := portal30.wwctx_api.get_product_version();
    htp.print(l_ver);
    END;
    I can call this procedure successfully from a Dynamic Page with
    the following embedded syntax in the HTML code:
    <ORACLE>
    BEGIN
    MATSTESTSCHEMA.SHOW_PORTAL_VERSION;
    END;
    </ORACLE>
    I want to use some procedure calls in my templates as well.
    Tried to use the same syntax as above but it does NOT work.
    The whole code block between the <ORACLE>-tags seems to be
    ignored as soon as a procedure call is included.
    A simple syntax like this DOES work in a template:
    <ORACLE>
    BEGIN
    htp.p('hello');
    END;
    </ORACLE>
    Why doesn't it work to call procedures from the templates???
    Has anyone alse run into this?
    PS! I'm using Portal version 3.0.7.6.2
    Will soon upgrade to the latest version...

    What I'm trying to do is to do a redirect of a page depending on
    some conditions which my PL/SQL procedure can determine. So I
    hoped that I could call my procedure from the page template
    header and the procedure would print a redirect tag, if
    appropriate. Something like this:
    Page template (part of..)
    <HTML>
    <HEAD>
    <ORACLE>
    BEGIN
    MYSCHEMA.DO_REDIRECT;
    END;
    </HEAD>
    The DO_REDIRECT procedure prints the META tag for a redirect of
    the browser if it finds it necessary. otherwise it would do
    nothing..
    <META     HTTP-EQUIV="Refresh"
         Content     = "30;
         URL=http://www.oracle.com">
    But calling procedures from templates as described above does
    not seem to work, at least in version 3.0.7.6.2.
    (We're in the process of upgrading to the latest version)
    Does this work in 3.0.9 ?
    ...or does anyone know a better way to do this?
    Any advice is really apreciated.

  • Using the ORACLE tag

    Hi,
    I am trying to remeber how to use PL/SQL code using the <ORACLE> tag in some of the pre-defined portlets.
    Please HELP!
    I tried to use this in HTML portlet
    <ORACLE>
    execute schema.some_procedure;
    </ORACLE>
    ... and it didnt work.
    Thanx for any advice.
    Petr

    Petr,
    I'm not sure why the HTML portlet doesn't display but I was able to display using an unstructured UI template.
    for e.g
    <oracle>
    declare
    enduser varchar2(20);
    begin
    enduser:=portal.wwctx_api.get_user;
    htp.p(enduser);
    end;
    </oracle>

  • How to set/get URL-parameters from ORACLE -tag?

    How do I set/get parameters in a URL, using the <ORACLE>-tag?
    We are trying to create a UI Template containing a dynamic
    stylesheet selection dialogue on top of every page. The question
    we are facing now is how to pass parameters (in our case,
    stylesheet settings) between different pages.
    Any ideas/comments are appreciated!

    How do I set/get parameters in a URL, using the <ORACLE>-tag?
    We are trying to create a UI Template containing a dynamic
    stylesheet selection dialogue on top of every page. The question
    we are facing now is how to pass parameters (in our case,
    stylesheet settings) between different pages.
    Any ideas/comments are appreciated!

  • ORACLE tags not working after 1.5.1 patch

    I have some logic in my template the looks up information from some Oracle tables. This logic worked fine in 1.5.0, however, after applying the 1.5.1 patch it does not perform the Oracle logic, but shows the Oracle code as HTML on the page. Here is the code in question: (This is not the entire code, but one HTML TD that comes before the Oracle code, and one HTML TD that comes after it)
    <TD align="center" valign="top"><A
    href="/pls/portal/PORTAL.home"><IMG src="#WORKSPACE_IMAGES#ihome.gif" alt="Home" border="0"></A></TD>
    <ORACLE>
    BEGIN htp.tableData(htf.anchor2('javascript:help_openTopic(''/insitehelp/Insite_Help.htm'', ''' || pkg_insite_general.help_link(v('APP_ID'), v('APP_PAGE_ID')) || ''')', '', '', '', '><IMG src="#WORKSPACE_IMAGES#ihelpl.gif" alt="Help" border=0'), 'center');
    END;
    </ORACLE>
    <TD align="center" valign="top"><IMG src="#WORKSPACE_IMAGES#ilogout.gif" alt="Logout" border="0"></TD>
    This is what displays on the web page:
    BEGIN htp.tableData(htf.anchor2('javascript:help_openTopic(''/insitehelp/Insite_Help.htm'', ''' || pkg_insite_general.help_link(v('APP_ID'), v('APP_PAGE_ID')) || ''')', '', '', '', '>

    Your removal of functionality in a bug fix has broken a production application for us. This does not seem like something that should have been done with a "patch"
    I have just read all that I can find on "shortcuts" and am not finding what I need.
    Here is what we are doing:
    We are using RoboHelp for our help content. We have a help icon and a help link on the header of the page. This is defined in our template. We have to have the name of the module (Page Alias) to link the page being run to the help content for that page. Since you do not have a system variable for page name or page alias, I have had to put this information into an Oracle table. I was looking that up with a function within the Oracle Tags.
    Can I create a shortcut that would create the following code pl/sql code into a PL/SQL function body:
    BEGIN
    htp.tableData(htf.anchor2('javascript:help_openTopic(''/insitehelp/Insite_Help.htm'', ''' || pkg_insite_general.help_link(v('APP_ID'), v('APP_PAGE_ID')) || ''')', '', '', '', '><IMG src="#WORKSPACE_IMAGES#ihelpl.gif" alt="Help" border=0'), 'center');
    END;
    and call this shortcut where this help icon needs to appear like:
    <TD align="center" valign="top">
    "CALLHELPWITHICON"
    </TD>
    I have done the above, but it does not work. What am I doing wrong, how can I get this to work? We have had to remove our help icons because of this patch.
    I thank you so for your research on this.

  • Error While running Oracle Look and feel Template Form -  (LAF_TEMPLATE)

    Forms Version 10.1.2.3
    JRE version 1.6.0_30
    Operating System Windows XP
    I am trying to setup oracle look and feel project on my local machine.
    For that i upgraded forms to 10.1.2.3 then i also applied path no *9593176* (But not yet performed steps related to jacob and webutil).
    Problem : When i run Oracle look and feel template form it comes up with following error.*
    Forms Applet version is : 10.1.2.3
    Exception in thread "thread applet-oracle.forms.engine.Main-1" java.lang.NoSuchMethodError: oracle.forms.handler.IHandler.getApplet()Ljava/applet/Applet;
         at oracle.forms.fd.DrawLAF.init(DrawLAF.java:285)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    Hello,
    I have spent a lot of time to indicate wherever I could that you don't have to ask questions about the LAF on this forum. You have two other different locations, a dedicated email and a dedicated forum.
    At the first sight, it seems that you have not used the laf_10123.jar in your archive tag.
    Thank you,
    Francois

  • ORACLE Tags in Dynamic Pages

    In the beta version, a Dynamic Page could be developed that did not contain the Oracle tags, <ORACLE> and </ORACLE>. The production version appears to require the use of these tags.
    I've tried to work around this by using <ORACLE> select ' ' from dual</ORACLE> which gave me a blank, but with a different color background and <ORACLE>htp.br;</ORACLE> which Oracle Portal would not accept.
    Any suggestions on how to create a Dynamic Page where the Oracle tags do not impact the display of the page?
    Fran Bailey
    EDS - Meredith Account

    I am running 3.0.6.6.5 on Solaris 2.6.
    I entered your work around (<ORACLE>begin null; end;</ORACLE>) and got this error message when I tried to save the HTML code:
    ORA-06550: line 1, column 15:
    PLS-00103: Encountered the symbol
    "end-of-file" when expecting one of the following:
    ; <an identifier> <a double-quoted
    delimited-identifier>
    The symbol ";" was substituted for "end-of-file" to continue. (WWV-11230)
    Failed to parse as MAH - BEGIN NULL;
    END (WWV-08300)
    Any other suggestions would be appreciated.

  • Oracle Tag in Report Header Text

    I am trying to use the Oracle tag in the Report and Customization Form Text Header Section. I would like to show the current date/time as well issue a select statement. Does this not work?
    <ORACLE>
    htp.p(to_char(sysdate,'Day, Month DD YYYY HH:MI AM'));
    </ORACLE>

    Hi,
    You can only enter plain text or HTML tags here. If you want to use select statement or plsql you can use the
    additional plsql code sections to do this.
    Thanks,
    Sharmila

  • Oracle tags and JavaScript

    Attention JavaScript and Oracle Guru's,
    My company has come up with a great requirement using JavaScript and dynamic pages to provide end users with a Systems Availability Information portlet, which scrolls text along the screen.
    This is as follows.....
    They want a Portlet which scrolls text along the screen on the users home page. This has been easy enough to implementbut now this information has to be supplied from the database (an Internal Systems Operation team input information into this table via a form)
    HmmmmOracle tags do not work within JavaScript. So I have created a hidden form on the outside of the JavaScript to pass in text.
    This works great with normal text variables, so I thought the addition of Oracle tags would be the next logical step needed to pass data from the database into the scrolling text Portlet.
    With use of the <Oracle> tags and hidden variables I have managed to come up with the following....
    <html>
    <body>
    <form id="hiddenOracleForm">
    <input type="hidden" name="recordset1" value="<oracle> select * from mnunn.matt_ticker_table</oracle> ">
    </form>
    < !-- START OF SCRIPT -->
    <HTML>
    <BODY BGCOLOR="FFFFFF" TEXT="000000" LINK="0000FF" VLINK="800080" ALINK="FF0000">
    <head>
    <script language="JavaScript">
    < !-- begin
    var max=0;
    function textlist()
    max=textlist.arguments.length;
    for (i=0; i<max; i++)
    this=textlist.arguments[i];
    document.write('the variable for rs1 is ' + rs1);
    var rs1 = document.forms['hiddenOracleForm'].recordset1.value;
    tl=new textlist
    rs1
    var x=0; pos=0;
    var l=tl[0].length;
    function textticker()
    document.tickform.tickfield.value=tl[x].substring(0,pos)+"_";
    if(pos++==l) { pos=0; setTimeout("textticker()",1000); x++;
    if(x==max) x=0; l=tl[x].length; } else
    setTimeout("textticker()",50);
    // end -->
    </script>
    <head>
    <body onLoad="textticker()" >
    <center>
    <form name="tickform"><input type=text name="tickfield" size=40></form>
    </BODY>
    </HTML>
    < !-- END OF SCRIPT -->
    <img src="file://hofisintranet1/qualitydocs$/DW/stag bitmaps/monfaq.gif" border="0">
    < !-- START OF SCRIPT -->
    < !-- For more scripts visit http://www.hof.co.uk -->
    <FORM><input type="button" Value="Click here for full details" ONCLICK="window.open('http://www.hof.co.uk', 'Sample', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width=635,height=260')"></FORM>
    < !-- END OF SCRIPT -->
    </body>
    </html>
    Now when this scrolls along the screen, I do not get the expected outcome from the database table. Instead it scrolls.<TABLE border=
    I dont know where this information has come from because it should say..
    Enter password:
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    JServer Release 8.1.7.0.0 - Production
    SQL> select * from mnunn.matt_ticker_table;
    INFO
    This is information taken from the portal database
    SQL>
    Has anybody tried this before or got any ideas on where I could be going wrong??????
    Thanks for any help..Matt.
    null

    I'll try for the repost. This time without the compilation of the code......here goes.
    Attention JavaScript and Oracle Guru's,
    My company has come up with a great requirement using JavaScript and dynamic pages to provide end users with a Systems Availability Information portlet, which scrolls text along the screen.
    This is as follows.....
    They want a Portlet which scrolls text along the screen on the users home page. This has been easy enough to implementbut now this information has to be supplied from the database (an Internal Systems Operation team input information into this table via a form)
    HmmmmOracle tags do not work within JavaScript. So I have created a hidden form on the outside of the JavaScript to pass in text.
    This works great with normal text variables, so I thought the addition of Oracle tags would be the next logical step needed to pass data from the database into the scrolling text Portlet.
    With use of the <Oracle> tags and hidden variables I have managed to come up with the following....
    <form id="hiddenOracleForm">
    <input type="hidden" name="recordset1" value="<oracle> select * from mnunn.matt_ticker_table</oracle> ">
    </form>
    <!-- START OF SCRIPT -->
    <BODY BGCOLOR="FFFFFF" TEXT="000000" LINK="0000FF" VLINK="800080" ALINK="FF0000">
    <head>
    <script language="JavaScript">
    <!-- begin
    var max=0;
    function textlist()
    max=textlist.arguments.length;
    for (i=0; i<max; i++)
    this=textlist.arguments[i];
    document.write('the variable for rs1 is ' + rs1);
    var rs1 = document.forms['hiddenOracleForm'].recordset1.value;
    tl=new textlist
    rs1
    var x=0; pos=0;
    var l=tl[0].length;
    function textticker()
    document.tickform.tickfield.value=tl[x].substring(0,pos)+"_";
    if(pos++==l) { pos=0; setTimeout("textticker()",1000); x++;
    if(x==max) x=0; l=tl[x].length; } else
    setTimeout("textticker()",50);
    // end -->
    </script>
    <head>
    <body onLoad="textticker()" >
    <center>
    <form name="tickform"><input type=text name="tickfield" size=40></form>
    </BODY>
    <!-- END OF SCRIPT -->
    <img src="file://hofisintranet1/qualitydocs$/DW/stag bitmaps/monfaq.gif" border="0">
    <!-- START OF SCRIPT -->
    <!-- For more scripts visit http://www.hof.co.uk -->
    <FORM><input type="button" Value="Click here for full details" ONCLICK="window.open('http://www.hof.co.uk', 'Sample', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width=635,height=260')"></FORM>
    <!-- END OF SCRIPT -->
    Now when this scrolls along the screen, I do not get the expected outcome from the database table. Instead it scrolls.<TABLE border=
    I dont know where this information has come from because it should say..
    Enter password:
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    JServer Release 8.1.7.0.0 - Production
    SQL> select * from mnunn.matt_ticker_table;
    INFO
    This is information taken from the portal database
    SQL>
    Has anybody tried this before or got any ideas on where I could be going wrong??????
    Thanks for any help..Matt.

  • Dynamic Page / Oracle Tags/ Javascript

    I'm attempting to insert values from an Oracle database into javascript code that creates a scrolling text area. I'm assuming I need to use <oracle></oracle> tags to do so, but I'm not sure exactly how to populate what I need in the code. Any ideas?
    The code is below. The area that needs to be populated with the data is in the Array variable, and I've used "Database Value 1, 2, 3" as placeholders.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
         <title>Untitled</title>
    <style TYPE="text/css">
         <!--
         .TextScrollStyle {
              visibility:hidden;
              font-family:Verdana;
              font-weight:bold;
              text-align:center;
              padding:0;
              margin:0;
              width:100%;
              overflow:hidden;
         -->
         </style>
    <script language="JavaScript1.2">
              var TS_message = new Array();
    TS_message[0] = '<div align="left">Database Value 1</div>';
         TS_message[1] = '<div align="left">Database Value 2</div>';
              TS_message[2] = '<div align="left">Database Value 3</div>';
    var TS_scrollwidth=400
              var TS_colorFG = 0x000000;
              var TS_colorBG = 0xFFFFFF;
              var TS_ymax = 50;               
              var TS_ystep = 1;               
         var TS_speed = 2;                    
    var TS_pause = 100;
              var TS_fadestep= 20;               
    if (document.all)
    document.write('<style>#containerarea{width:'+TS_scrollwidth+'}</style>')
    </script>
    </head>
    <body>
    <DIV id="containerarea">
    <SCRIPT LANGUAGE="JavaScript1.2" SRC="\\Portalapp\ORACLE\iSuites\portal30\java\textfader.js"></SCRIPT>
    </DIV>
    </body>
    </html>

    You can write a piece of PL/SQL for
    TS_message[0] = '<div align="left">Database Value 1</div>';
    TS_message[1] = '<div align="left">Database Value 2</div>';
    TS_message[2] = '<div align="left">Database Value 3</div>';
    between <ORACLE> tags:
    declare
    cursor ...
    begin
    loop for i in cursor loop
    htp.p('TS_message[0] = ''<div align="left">'||i.value||'</div>''; ';
    end loop;
    end;
    Hope it helps.

  • Help on oracle tags inside dynamic pages

    Hi All
    I have used dynamic pages like this , i create a html form inside a dynamic page on submit of which a procedure gets called & inserts the values in the table.
    I see some <oracle> tags every time i create a dynamic page but have never used them. Could some one tell how to use these tags. whether they can be used to call a procedure or can i embed any dml statements in these oracle tags.
    Kindly somebody could explain it with an example.
    Regards
    Sushant

    There is a brief description in the online help - see http://isd-demos2.oracle.com:7778/help/wvtdynam.htm.
    You can also search this forum - there have been many examples posted here.
    If you have further questions about dynamic pages, the Portal Applications forum would be a better place to post them.
    Regards,
    Jerry
    Portal PM

  • Help on oracle tags in dynamic pages

    Hi All
    I have used dynamic pages like this , i create a html form inside a dynamic page on submit of which a procedure gets called & inserts the values in the table.
    I see some <oracle> tags every time i create a dynamic page but have never used them. Could some one tell how to use these tags. whether they can be used to call a procedure or can i embed any dml statements in these oracle tags.
    Kindly somebody could explain it with an example.
    Regards
    Sushant

    Hi,
    You can do all that you can do in a plsql block.
    Here is an example which paints a form for the employee records and submits them. On submit a procedure submit_form is called.
    <HTML>
    <HEAD>
    <TITLE>Example</TITLE>
    </HEAD>
    <BODY>
    <FORM action="<schema name>.submit_form" method="post">
    <H2>Example of A Dynamic Page</H2>
    <ORACLE>
    begin
    for c1 in (select * from scott.emp )
    loop
         htp.p(c1.empno);
         htp.p(c1.ename);
         htp.p(c1.deptno);
         htp.p(c1.hiredate);
         htp.p(c1.sal);
         htp.p('<input type="hidden" name="p_empno" value='||c1.empno||'>');
         htp.p('<input type="text" name="p_comm">');
         htp.p('<br>');
    end loop;
    htp.p('<input type="submit" name="p_action">');
    end;
    </ORACLE>
    </BODY>
    </FORM>
    </HTML>
    Thanks,
    Sharmila

  • JSF Page Fragment based on Oracle Dynamic Tabs Shell Template

    Hi
    JDeveloper 11.1.1.6
    Can we create a JSF Page Fragment (jsff) based on an Oracle Dynamic Tabs Shell Template ?
    I tried to create this jsff page and added in a bounded taskflow.
    In the create jsff wizard, it will allow us to select the Oracle Dynamic Tabs Shell Template, but when trying to use this taskflow in the another page (jspx), it is giving the following exception.
    javax.faces.FacesException: javax.el.PropertyNotFoundException: Target Unreachable, 'tabContext' returned null
    at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:261)
    at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:222)
    Basically the reason why I am trying to do like this is that I have to simply drop the taskflow in a page as a region.
    The ViewController project code will only be created as an ADF Library Jar File and be used in other projects
    (it will not be deployed as a web application (war))
    More about the requirement:
    I have a BPM Application in which I have 2 ADF ViewController projects, one for only BPM Human Task related UI and another for only ADF functionality.
    I am writing a custom BPM Workspace kind of ADF Application and want the UI to be based on the Oracle Dynamic Tab Shell Template.
    ADF ViewController project is deployed only as a ADF Library Jar file.
    Another advantage I can have is I can test my ADF code within JDeveloper.
    (If I create a jspx page based Oracle Dynamic Tab Shell Template in the BPM Human Task Related UI project, I will not be able to run it in JDeveloper and test it.
    Otherwise I have to deploy to the SOA environment each time I make a change)
    Thanks for any help.
    Sameer

    Hi,
    the dynamic tab shell template can only be used with top level (JSPX) pages (in 12c also with Facelet pages). There is no configuration for templates that would make the JDeveloper IDE to not show the template of the selected page is a fragment.
    Frank

  • Need docs on ORACLE tags.

    Since search engines almost universally crop out characters like < and > in their databases, I'm having trouble finding documentation on the <ORACLE> tags feature of the portal.
    I want to know what all the ramifications are of using this mechanism for dynamic web content... performance issues, scoping, variable persistance, can you define procedures, etc?
    Can anyone point me to good pages (including OTN) that document this feature of the portal?
    Thanks.
    Scott
    Message was edited by:
    Scott S

    http://download-uk.oracle.com/docs/cd/B14099_19/portal.1014/b13809/apdxhtmt.htm#BABJJIBE
    contains some info on the <ORACLE> tags
    Basically you can put your PLSQ code to call a procedure or whatever u like
    I think that you can find some useful stuff in the portal online help
    Cheers
    Diego

Maybe you are looking for