gReport.navigate.paginate at the APEX 5
The APEX 5 gReport no longer exists.
Is there an alternative to gReport.navigate.paginate?
Thank you!
Take a look at what I cooked up in my (previously related, maybe you glanced at it) application and see that you do this. https://Apex.Oracle.com/pls/Apex/f?p=90922:4
Tags: Database
Similar Questions
-
Double authentication with Oracle EBS at the APEX problem
Hello
I am currently working on a project to integrate with Oracle EBS 12.1.3 4.2.4 APEX. We have completed the recommended white paper Oracle configuration. I joined at the request of the APEX of a responsibility of BSE, when I click on the page of the APEX of the EBS, it navigates me to the login page of the APEX, and after I entered my credentials is to show the "No data found" error on the page. Then when I click the OK button again once he navigates me to the login page of the APEX and is validate my login information, allowing me to enter the APEX successfullly.
It's really us boring for double login controls. Appreciate your help with this problem as soon as possible.
Deployment environment
===============
Database: Oracle 11g (11.2.0.2)
Version APEX: APEX 4.2.4
Oracle EBS Version: R12.1.3
Application servers: Apache TomCat 7.0.56 (for APEX), Oracle HTTP Server (EBS)
Web listening port: Oracle REST Data Services (2.0.6)
Authentication: Custom authentication (login page validates users EBS)
Thank you
Sudhakar
It seems that the constructed URL is not allowed. We EBS do not build a valid string. You can see where he puts "CallFromForm" and then adds "& p =...". "URL.
The white paper mentions a required patch, you need else to resolve this problem.
Use the gateway FND. If you do not need to pass parameters through your form to Apex, Oracle now provides a GWY.jsp which allows you to launch the Apex. Install the patches of R12 12316083 and 12726556. Then use the GWY.jsp based on your shape as described in the white paper "Extending Oracle E-Business Suite Release 12 using Oracle Application Express".
Patch 12316083 is mentioned in the white paper, you are missing the 12726556.
Description
This bug solves the problem of pitcher APEX, at the launch of a whole page of APEX
Oracle E - Business Suite forms according to the user interface. An additional url
parameter 'CallFromForm' used to be added to the URL of the APEX, which was originally
APEX page to fail.
-
How you trigger sort column of the APEX report interactive page element?
Hi guys!
A certain page, I have an interactive report of the APEX. Part of the query is similar to:
SELECT
...,
(definition column1) BCV,
(definition column2) RFV,
...
table. RAU,
The TABLE table_name,...
WHERE conditions;
I also have a defined through the following LOV page P121_SORT_BY (selection box) element:
SELECT "BCV" d, "BCV" r FROM DUAL
UNION ALL
SELECT "RF value" d, 'RFV r' FROM DUAL
UNION ALL
SELECT 'RA (USD)' d, "RAU" r FROM DUAL
I've linked a dynamic Action to P121_SORT_BY which runs on the 'Change' event and performs the following JavaScript Code:
var my_column = $v ('P121_SORT_BY');
Alert ('test1');
$x('apexir_COLUMN_NAME').value = my_column;
Alert ('test2');
gReport.column.order ('DESC');
Alert ('test3');
Alert (my_column);
Obiously, there is something wrong with my code JS... What can I do to make my report interactive sort DESCENDING column selected in my page element?
Please note that I also tested the JS without comments and I get pop ups (test1, test2, test3 and the correct name of the column of my_column) but the report isn't back to normal... What am I doing wrong?
Thank you
Digital
Hi all
I found the answer to my question by navigating through the java scripts in Apex.
So, this is what works:
gReport.last_col_id = "BCV";
gReport.column.order ('DESC');
Where "BCV" is actually your name of column position, you can send it by a Page Item and means of descending "DESC" and "CSA" means growing.
I hope this helps other people too.
Thank you
Digital
-
Clear cache original linking in the APEX
I use the theme 4, Topaz. Region_Position_06 is a link from origin.
I placed a chart of the company at this position on the zero page, and when a user clicks on any page, she leaves this page and go to the home page, a main menu page. So, no matter how deep, a user can be in the pages of the application, she can always click this logo image and return directly to the main menu page.
It's convenient, but there is a problem. By clicking on this logo, does not clear the cache on the page that fate of the user or, indeed, on any page in the trail of pages, the user has taken to access the current page. I navigate especially with buttons and always empty the cache on a page when I'm out there. I need to find a way to do this when a user clicks on the image of the logo.
I would like your ideas to solve this problem.
Published by: Doug Sep 29, 2012 14:45Doug wrote:
fac586,Thanks for your help. I think you have put me in the right direction. Now, everything I need to know is how to get there. You say "add a ClearCache parameter to the URL in the original linking." Clear the memory cache for the session would deal with the problem, but I need to know where to find the URL of the original linking.
The original linking is defined in the attributes of the application (in APEX 4.x, click the button modify application properties on the home page of the app in the App generator). 4.2 the apex, there is an attribute of home page for each user on the User Interface tab interface. In previous versions, it is located on the Security tab.
Always identify your version of APEX and so help can be provided...
-
State protection of session and browsing to URLs outside the apex
Hello
I'm working an application, in which basis on a unique key for each customer, and I show you her address on map (google.api) I used the apex util to prepare the url and activate checksumprotection on that element for success.
I have another page that is the customer also details on this unique base, which works great as its peak in only
what I notice is that, when I browse to url (maps.google.com) external session is different from what I had originally, posing problem when I want to navigate from card (java script Info window) to access details by using the same unique key of the client.
I read that it was a bug in 4.1, but I use 4.1.1 assuming that the bug has been fixed.
DB 11G
Oc4j
Linux
Kindly helpHello Red Bull,
Following article will help you to google maps api integration through web services:
[url http://www.oracle.com/technetwork/developer-tools/apex/application-express/integration-086636.html#GOOGLE] Request Express integration with Google Maps
OR
You can try just of plugins available on http://apex-plugin.com.
One of them which can be your help is:[url http://apex-plugin.com/oracle-apex-plugins/item-plugin/location-map-image_97.html] View the location on a Google map
by @Peter Raganitsch including the blog post is:
http://www.Oracle-and-apex.com/plugin-location-map-image/
I hope that helps!
Kind regards
Kiran -
Limitation of the APEX: sharing pages between several APEX applications
I was hoping if someone with a little more experience architect APEX could comment on some of the limitations that I see and I have to make good decisions, working around the problem.
Any suggestions are welcome.
One of the limitations I've seen, it's how APEX handles applications and pages. Each application appears as an island, it has its own set of pages, the processes of connection, templates, CSS, JS, references etc.. Regarding the CSS and Javascript, you can be defined in a central location, but still, every new developed APEX application must be configured to make use of your 'standard '.
The more traditional web solutions showing each as stand-alone web page and any web page can call/reference any other page and pass information to session between them.
With APEX, however this doesn't seem to be the case.
A solution would be to have a huge demand for APEX, where all the pages are the property of this unique application.
Unfortunately, we use of APEX and EBS R11 (& R12) together; all APEX applications are started in the menus of the EBS. I had drawn a SSO solution between the two (without using oracle SSO). However, each APEX application is unique, as small modules instead of complete applications. In other words, we tend to use APEX as an alternative for Oracle Forms - each APEX application is a standalone program.
I always wanted to be able to apply the same connection process and look and feel in the brand new APEX app we write.
The way I went to this subject has been meticulously creating a 'model' APEX application. Embedded in the application of this model are all our shared CSS, JS and models that apply the site appearance. It also contains our custom library of signature unique code and debugging custom logger (think log4j but for APEX).
So whenever a developer began work on a new APEX application, they start by cloning the model and automatically inherit all the functionally and website presentation.
My concern is if this is really the best way to do it, or if I'm missing something?
I am also concerned move forward when I wants to establish the change in appearance across all of our web applications that I need to touch each APEX application since. I'm trying to mitigate this by ensuring that almost all the programming logic is contained in packages of PL/SQL, CSS and Javascript only referenced and external application of the APEX. But this does not always with models, or with a logic that is rooted in the actual pages of the APEX etc.
At least APEX allows you to easily enough copy pages between applications, but it does compare not just to have a single page shared between all applications of the APEX.
Is there a better way to go about this?Hi attis.
I think you can't really compare a module with an APEX application forms. I wouldn't say to create an APEX application every time when you have created a module of forms in the past.
A forms module is just a few pages of an application to the APEX. Then you really should have more then a few pages in an APEX application. Certainly, a huge application is also not the way to go, but I group them for example by logical areas such as HR, logistics, order...As Sc0tt already mentioned, you must use the 'Subscribe' mechanism of shared components to make it easier to update all your applications with the model updates. But there is more, you should also share your user name and just have in one place and use the "simple APEX based SSO" that allows all applications within a workspace can share the same session. Simply set the 'Cookie' namesake in your authentication for all your applications and when you bind an application to another and include a valid session id you should not have to log in again and you can also set the session state in that other application.
So here's what I'd do
(1) creating a master application that contains
(a) your theme and other components shared that you want to share
(b) must be also some basic navigation lists to navigate between your applications...
(c) create a sign with the name "Redirect to connect main app" and type accounts APEX (no matter) where you define the name of 'Cookie' to 'Cbx_missmost' and the URL of invalid session to the login page of your creation 'hand connection app '. For example: f? p = 9999:101: & SESSION.(2) create a model application which is a copy of the claim, but where change you the "subscription" of your models, authentication scheme and components shared in the main application. This will serve as your App developers if they want to create a new application.
(3) create your 'hand connection app' (eg. app 9999 id) by
) a copy of your new model application
(b) remove the inside authentication scheme (this is just made for this main connection app)
(c) create a new type to use. But important: set the name of 'Cookie' to 'Cbx_missmost '. This will ensure that all applications have the same session cookie.
(d) If you use APEX 4.1.1 you will automatically be redirected to the calling application after successful login.(4) start to create new applications by copying your 'model' application that contains all subscriptions.
(5) If you run this application, it automatically redirects to your main connection application if the current session is not valid. This will avoid to have the same logic of authentication in your applications.
(6) If you need to change your templates or shared components you just do in the "master" application and click on the "publish" button to push the changes for all your applications.
But still, try to avoid many small applications, I think that make handling just unnecessarily complicated. It is an APEX application has a few hundred pages. For example, our APEX app Builder (app 4000) has more than 1260 pages.
Concerning
Patrick
-----------
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
Hi all
I have a requirement in my application project database, in which I developed using the Apex 4.0 version...
In my DB application page, I got a report that contains the following column
*) summary resolution *) actual_resolution_date
in front of a column of 'analytical resolution', I have a button icon change...
Shortly after that clicking Edit the icons he has to navigate to another page which consist of the only field that shows only the detailed content of the resolution summary column...
Because my requirement is in the column of the report of the review of resolution, it must show the content as in the manner of suspicion... for example...
-analytical resolution - actual_resolution_summary -.
-edit - the question is...---24 - jan
-edit - other...---13 - jan
-edit - question re...---20 - jan
-edit - the question...---18 - jan
My requirement in the report is the way above...
It must show that the detailed content of the resolution summary column shortly after pressing the button change icon...
Normally in my resolution summary report it must show the data in a way suspicion...
How can I able to achieve...
any help will be appreciated...
Iz all wells
GTA...Hello
OK, my original interactive report is based on:
select "ID", TEXT_FIELD FROM ATD_LONG
I just changed this:
select "ID", REGEXP_SUBSTR(TEXT_FIELD, '^(\S+)\s(\S+)\s(\S+)') || '...' TEXT_FIELD FROM ATD_LONG
The REGEXP_SUBSTR() function gets the first three words of the field and adds «...» "at the end. Each "(\S+)\s" is a Word, so add or remove these channels to get more/less words. Make sure that you keep the name of the original domain under the column alias (TEXT_FIELD in my case - at the end of the line).
If you want the field on the form to be read-only, change the page element and scroll down to the 'Read only' section and select "Always" and click on "Apply Changes". I just did this on my example page
Andy
-
Cannot navigate back to the previous screen (screen cannot be closed with the ESC key)
Hi all
I create simple BB app with eclipse jde 4.6.1, here the code example.
class myApplication extends UiApplication { // applicatione entry point public static void main(String[] args) { // create an instance of our app myApplication theApp = new myApplication(); // "run" the app theApp.enterEventDispatcher(); } // app constructor public myApplication() { myScreen screen = new myScreen(); pushScreen(screen); } }
where my screen is like this
public class myScreen extends MainScreen implements ListFieldCallback { private Vector menu; private ListField menuList; private MenuItem menuItem = new MenuItem("Details",100,10){ public void run(){ int index = menuList.getSelectedIndex(); if (index == 1){ Dialog.alert("list "+index+" selected"); } } }; public void drawListRow(ListField listField, Graphics graphics, int index, int y, int width) { ListField menulist = (ListField) listField; MenuRowManager rowManager = (MenuRowManager)menu.elementAt(index); rowManager.drawRow(graphics, 0, y, width, menulist.getRowHeight()); } public myScreen(){ super(DEFAULT_MENU|DEFAULT_CLOSE); setTitle(new LabelField("myScreen", LabelField.USE_ALL_WIDTH | DrawStyle.HCENTER)); this.addMenuItem(menuItem); createListMenu(); } public void createListMenu(){ menu = new Vector(); menuList = new ListField(){ protected boolean keyChar(char key, int status, int time){ if (key == Characters.ENTER){ // open next window int index = getSelectedIndex(); switch (index){ case 0: // break; case 1: // break; case 2: // break; case 3: // break; default: // about break; } } return true; } }; menuList.setCallback(this); menuList.setRowHeight(60); menuList.setBackground(BackgroundFactory.createSolidBackground(Color.BLACK)); // first item BitmapField mIcon = new BitmapField(Bitmap.getBitmapResource("image1.png")); LabelField lblM = new LabelField ("First list item", DrawStyle.LEFT); lblM.setFont(Font.getDefault().derive(Font.BOLD)); MenuRowManager menuM = new MenuRowManager(); menuM.add(mIcon); menuM.add(lblM); menu.addElement(menuM); // 2nd item BitmapField tIcon = new BitmapField(Bitmap.getBitmapResource("image2.png")); LabelField lblT = new LabelField("Theater Near Me", DrawStyle.LEFT); lblT.setFont(Font.getDefault().derive(Font.BOLD)); MenuRowManager menuT = new MenuRowManager(); menuT.add(tIcon); menuT.add(lblT); menu.addElement(menuT); add(menuList); } }
and the definition of menuRowManager is like that
public class MenuRowManager extends Manager { public MenuRowManager() { super(0); } // Causes the fields within this row manager to be layed out then // painted. public void drawRow(Graphics g, int x, int y, int width, int height) { // Arrange the cell fields within this row manager. layout(width, height); // Place this row manager within its enclosing list. setPosition(x, y); // Apply a translating/clipping transformation to the graphics // context so that this row paints in the right area. g.pushRegion(getExtent()); // Paint this manager's controlled fields. subpaint(g); g.setColor(0x00CACACA); g.drawLine(0, 0, getPreferredWidth(), 0); //g.drawLine(10, 0, 10, getPreferredHeight()); // Restore the graphics context. g.popContext(); } // Arranges this manager's controlled fields from left to right within // the enclosing table's columns. protected void sublayout(int width, int height) { // set the size and position of each field. int fontHeight = Font.getDefault().getHeight(); int preferredWidth = getPreferredWidth(); // start with the Bitmap Field of menu icon Field field = getField(0); layoutChild(field, 48, 48); setPositionChild(field, 0, 6); // set the menu title label field field = getField(1); layoutChild(field, preferredWidth - 16, fontHeight+1); setPositionChild(field, 55, 30-fontHeight/2); setExtent(preferredWidth, getPreferredHeight()); } // The preferred width of a row is defined by the list renderer. public int getPreferredWidth() { return Graphics.getScreenWidth(); } // The preferred height of a row is the "row height" as defined in the // enclosing list. public int getPreferredHeight() { return 60; } }
the problem is, when the first screen showed (pushed), I cannot "navigate back (close) the screen with ESC, won't my code?" Am I missing something here?
Thanks in advance
You want to substitute keyChar() into your custom domain.
Don't forget that you must re - delegate all keystrokes that you do not consume.
-
Built at the point for the apex group
We use: APP_USER to retrieve the name of the current user of the APEX.
Similarly, is it built in variable to retrieve the name of the Group of the user?
FOR INFO:
I use for authentication and authorization Apex users and groups.
I use 5 APEX
Mazelin wrote:
We use: APP_USER to retrieve the name of the current user of the APEX.
Similarly, is it built in variable to retrieve the name of the Group of the user?
N ° users can be assigned to multiple groups. Use the APEX_UTIL. GET_GROUPS_USER_BELONGS_TO method of the API.
-
I find it difficult to upgrade the apex 4-5. Can someone help me?
have installed the database 11g (Express Edition). And trying to upgrade to the apex 5, using slobaray.com, but I'm stacked along the way; Please can someone help me? Here is the script, and I have indicated where I stacked by selection, the problem:
c:\oraclexe\app\oracle\product\11.2.0 > cd c:\oraclexe\app\oracle\product\11.2.0\server\apex
c:\oraclexe\app\oracle\product\11.2.0\server\apex > sqlplus
SQL * more: Production of the version 11.2.0.2.0 on Sat Feb 13 20:52:57 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Enter the user name: sys as sysdba
Enter the password:
Connected to:
Oracle Database 11 g Express Edition Release 11.2.0.2.0 - 64 bit Production
SQL > select TABLESPACE_NAME from dba_tablespaces where nom_tablespace like '% APEX %';
no selected line
SQL * more: Production of the version 11.2.0.2.0 on Sat Feb 13 21:01:30 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Enter the user name: sys as sysdba
Enter the password:
Connected to:
Oracle Database 11 g Express Edition Release 11.2.0.2.0 - 64 bit Production
SQL > home
Microsoft Windows [Version 10.0.10240]
(c) Microsoft Corporation, 2015. All rights reserved.
c:\oraclexe\app\oracle\product\11.2.0\server\apex > exit
SQL > show user
The USER is "SYS".
SQL > @apexins APEX is TEMP
Enter the value 4:
My confusion are:
(1) in the application of slobaexpet the
SQL > select TABLESPACE_NAME from dba_tablespaces where nom_tablespace like '% APEX %';
has given an answer to
TABLESPACE_NAME
------------
APEX
Mine is;
no selected line.
I don't know what was wrong with my work.
(2) SQL > @apexins APEX TEMP is
Enter the value 4:
I don't understand what the "enter the value of 4:" means and what to enter to continue on.
I suspended the process that I am waiting for the solution.
I'd appreciate someone's help.
Kind regards
GODIS-Tei
Hi Godis-Tei,
It is easy to explain.
(1) I don't know what are the instructions you follow, but it seems to suggest that you create a separate tablespace for APEX. Not a bad suggestion, but in your case, since you are new, you should be able to simply use the existing SYSAUX tablespace.
(2) you are prompted for an additional argument because you have not specified all necessary parameter values when calling apexins.sql. I suggest that you run again, and with the following arguments:
sysaux sysaux @apexins is temp
That's all! Good luck.
Joel
-
Dynamic action real action is not available in the APEX 5.0
Hi all
We did the/import export of APEX 4.2 to version 5.0 of the APEX, but I am unable to find the real Action of dynamic Action in APEX 5.0. Can someone help me on this.
LnTInfotech wrote:
We did the/import export of APEX 4.2 to version 5.0 of the APEX, but I am unable to find the real Action of dynamic Action in APEX 5.0. Can someone help me on this.
Assuming that this refers to you being unfamiliar with the default constructor of app UI Page Designer in APEX 5.0. See "dynamic Page Designer action management" for more details. True/false actions appear as nodes in the dynamic Action of the left pane of the designer of Page navigator tab:
If you do not use the Page Designer, you can move on to the familiar view of the component:
-
Report of long duration in the APEX
Hello
I'm on version 4.1.1.00.23 of the APEX. I have a report at the APEX, which takes about 50 seconds to run at APEX. When I run the same query in sqldev it works about 6 seconds. Why this same query takes a lot more time in APEX?
Similar questions a few times. The usual answer is: it makes no difference. You think it runs faster to SQLDev, but this isn't really the case. SQLDev will show you the first Recordset up, while the Apex will be waiting for the entire results set.
Another option is that you use an interactive report with the columns related to a LOV. APEX will join your main query and LOV queries in a single query. So, there is indeed a different query, passing through Apex.
-
parameter as in the apex problem
Hi all
Can someone help me how to get the pop up message when we use shipment_date_to less shipment_date_from then as in the below example we use Shipment_date_from = 1 January 2015 and shipment_date_to must be higher Shipment_date_from = 1 January 2015 but I used shipment_date_to = January 31, 2005, that does not in this case We get an error message. How to achieve this in the APEX.
Pls try it
-
I have an external PLSQL procedure that dynamically creates a report out of the HTML tags that I then called an anonymous block APEX PLSQL. I'm making bad images with the following code:
in the external procedure. How do you get around that? (NOTE: the procedure is too big to store directly in the APEX)....
' < style td = "width: auto;" "padding: 0px 5px 0px ' > '. spc_rec. SPC_VIABILITY_STATUS. "< table > ' |
"< style td =" width: auto; " text-align: left; "padding: 0px 5px 0px" > ' | spc_rec. SPC_VIABILITY_REASON. "< table > ' | TD > < img src = "" #IMAGE_PREFIX #check2.gif "alt =" "/ > < table > '"
....
Thanks in advance
PaulP
Hi Paul,.
You can use the global variable of the APEX package below to get the image prefix in pl/sql. Of course, your procedure should be in APEX, schema analysis application.
APEX_APPLICATION. G_IMAGE_PREFIX
Kind regards
Hari
-
Apex_ir.get_report acting strange in the apex 5
Hello world
According to the guidelines of this thread, I've implemented the service recommended to manage the requirement.Dynamic action for "no filter selected" on IR
This works well in the apex 4.2
In 5 Apex, I get an error: ORA-06502: PL/SQL: digital error or value
I spent hours trying to understand what is happening and the strange thing is that the function returns the correct value (as a number). When I remove the call to the function of my sql IR base then it starts to work, of course, does not have the functionality I'm looking for.
Any ideas? I'm on 5.0.0.00.31
Thank you!
Hello
had a look at the code of apex_ir.get_report, and due to some code changes necessary it will never work inside the international registration data source more. But I played a little and it seems that the following code does exactly what you want. But no guarantee that it works also in a future version of the APEX.
create or replace function get_filter_count(p_application_id in NUMBER, p_page_id in NUMBER) return NUMBER AS l_region_id number; l_report_id number; l_count number; BEGIN select region_id into l_region_id from apex_application_page_regions where application_id = p_application_id and page_id = p_page_id and source_type = 'Interactive Report'; l_report_id := apex_ir.get_last_viewed_report_id ( p_page_id => p_page_id, p_region_id => l_region_id ); select count(*) into l_count from APEX_APPLICATION_PAGE_IR_RPT r, APEX_APPLICATION_PAGE_IR_COND f where r.base_report_id = l_report_id and r.session_id = apex_application.g_instance and f.report_id = r.report_id and f.condition_type in ( 'Search', 'Filter' ); return l_count; END get_filter_count;
Concerning
Patrick
Maybe you are looking for
-
Firefox tells me it is open. And said: "Program does not react", but if I close it in forced stop, it does not. I don't know what to do. Please help me?
-
After updating to the latest firefox, 33 in my view, to start I initially get the firefox icon and then it immediately goes to video the independence of firefox (34 seconds). Its irritating and I can not seem to get rid of. Firefox icon shows and the
-
Cannot save a bookmark to NEW folder - FF wants me to rename the EXISTING parent folder
I can't save a bookmark in a new folder. This is the way that I take from the main menu:Bookmarks | Bookmark this PageClick on the drop down arrow to the right of the folderSelect ChooseNavigate to the folder parent in which I would like a new subfol
-
Since iOS 9.3.1 my phone plays music on its own when the headphones are connected
Since the last update, my battery does not last a whole day more and for some strange reason when my headphones are plugged into the music start playing without me from music. Music plays on its own at random times. Several times when I have my phone
-
The initial installation included ahead nero burning rom software that is now missing after a system recovery. Unfortunately I can not find (Ahead Nero) software on the cd for additional software or any other cd that came with the computer (Satellite