Pretty basic and easy, but still i have a sticky note at my monitor which reminds me of what is what.A typical APEX URL looks like this:means:open Application 2500 on Page 1 using Session 259880But there can be much moreMost of this stuff here is described very well in the, Chapter ““, nonetheless i try to explain it using my own words.The complete APEX URL Syntax looks like this: take a closer look:. – the protocol, can be http or https.
apex.oracle.com – your domain/host/server, whatever you want to call it. Can also be localhost. /pls – indicates that you are using Oracle HTTP Server with modplsql. If you are using APEX Listener or Embedded PL/SQL Gateway this part is obsolete/missing. /apex – the entry from your dads.conf file (this a file on your application-server or EPG where the target database is configured) – in case of EPG its just one entry pointing to localhost, in case of an OAS you can have multiple entries, each pointing to an other database. /f?p= – procedure “f” is called and parameter “p” is set to the complete rest of the string. Remember: APEX uses modplsql.
“f” is a public procedure, this is the main entrypoint for APEX. Or you could say: “f” is APEX. AppId – the number or the Alias of the Application.:PageId – the number or the Alias of the Page.:Session – unique Session ID, can be 0 for Public Pages or empty (then APEX creates a new Session).:Request – a Request Keyword. This is basically free text, just a string you can specify to react in a process or region condition on. You could pass the keyword “CREATE” and have a condition on the delete button of your page saying “dont’t display this button if request is CREATE”.In other words: use the REQUEST to control the behaviour of your page.When pressing a button, the button sets the REQUEST to the button-value (e.g.
10: Build in date and number format masks Additionally we will use the 'fielddatabold' class definition from our style sheet to display the data column values in a bold font. The definition for the class 'fielddatabold' can be found in the core.css style sheet, which is part of Oracle HTML DB applications. Beautify your number column inside an APEX report with a percent-sign then. It is not longer a number column and the sort will be assigned as it. And add this under the 'Column Attributes'Columns Formatting'HTML Expression'. Tobias Arnhold: IT Berater im Bereich Oracle APEX und Business.
SAVE), so that you can control the processes in the page processing (Submit) phase.:Debug – set to YES (uppercase!) switches on the Debug-Mode which renders debug-messages and timestamps in your Browser window. This helps to detect wrong behaviour of your page or performance issues and everything else. Every other value then YES turns the Debug-Mode off.:ClearCache – you can put a page id or a list of page ids here (comma-separated) to clear the cache for these pages (set session state to null, ). But there is more: RP resets the pagination of reports on the page(s), a collection name deletes the collection, APP clears all pages and application-items, SESSION does the same as APP but for all applications the session-id has been used in.:Parameters – comma seperated list of page-item names. Good practice is to set only those page-items which are on the page you are going to. Accepts page-items as well as application-items.:ParamValues – comma separated list of values.
Each value is assigned to the corresponding Parameter provided in ParamNameList (first value assigned to first parameter, second value assigned to second parameter, and so on).The trick here is not having values which contain either a comma “,” or a colon “:”. Both would lead to side-effects and errors, as APEX gets confused when parsing the URL. Using a comma works, if enclosed by slashes: e.g. 123,89.:PrinterFriendly – set to YES (uppercase!) switches the page into PrinterFriendly-Mode, uses the Printerfriendly template to render the Page.
You can also hide regions or other elements in PrinterFriendly-Mode using the PRINTERFRIENDLY variable in a condition.There are also some more Blogs dealing with URL Syntax, take a look at some of them:,.Edit: thanks to Alistair Laing who pointed out the typo (wrong slash direction) in escaping the ParamValues. Its fixed now.This entry was posted in, and tagged,. Bookmark the. So I’m kind of a newbie with Apex and I have a question: I have a report which uses a parameter. The report is generated from a SQL statement which uses this parameter (:P2RBINumber). Normally, I use a combo box on the report that the user uses to choose the RBINumber parameter but I’d like to have this parameter in the URL as an alternative.
The report item is RBINUMBER and I’ve tried::::RBINUMBER:13-005: but I get the error “Unable to find item ID for item “RBINUMBER” in application “103”. What am I missing in the URL?
I’ve tried shifting the parameter and parameter value to different places but have had no success.Thanks. Thanks that you replied.I needed to get a drill down link from a chart to open in a new window but I got stumped at a few things like how to catch the event of clicking on a pie chart.
I did try out this for creating the link:Select APEXUTIL.PREPAREURL (‘f?p=&APPID.:&APPPAGEID.:&APPSESSION.::NO::P522STATUS,P0RETURNPAGE,P522TODAYONLY:&P522STATUS.,&P0RETURNPAGE.,FALSE’,’blank’) link from dual;but it did not have the checksum on the end and I kept getting the no checksum error on opening the page. What am I actually missing?