Make col in an interactive report as a link col & redirect to another appl.
Hello,
I want to make a column in my interactive as an link column and when I clicked on it for a particular record this should redirect me to that particular record in another application page.
Like for example say i had made the col emp_name as an link col and i clicked on it(for a particular row say emp_name as scott), it should redirect me to an another application page(for that particular record - scott).
Like I used the RIR and I have created an hidden item p5_item in another page.
http://host:port/pls/apex/f?p=307:5::::RP,5,RIR:P5_ITEM,IR_emp_name:
Can anyone help me out with this issue.
Edited by: user11940294 on Oct 20, 2009 11:31 AM
THANKS FOR REPLYING VARAD,
I HAVE SET THE COLUMN AS A LINK COL AND MENTIONED THE URL AS
http://HOST:PORT/pls/apex/f?p=120:2::::2,RIR:P2_PITEM,IR_EMP_NAME:
BUT THE THING IS THAT I AM ABLE TO REDIRECT TO AN ANOTHER APPLICATION PAGE BUT NOT ABLE TO FILTER OUT THE RESULTS ( FOR THAT PARTICULAR RECORD - SAY ONLY FOR EMPNAME AS SCOTT).
CAN YOU HELP ME OUT WITH THIS.
THANKS.
Similar Messages
-
How to make a column in interactive report dropdown box
Hi Friends,
In simple reports we are having one option to make a column as a dropdown box.Is there any such option in
interactive reports.Please help,
Thanks,
NavHi Nav,
You can create a lov using the APEX_ITEM.SELECT_LIST in report query. http://download.oracle.com/docs/cd/E14373_01/apirefs.32/e13369/apex_item.htm#insertedID12
For e.g.
http://apex.oracle.com/pls/otn/f?p=50942:63
Thanks,
Manish -
How to make new column of Interactive Report permanent
Hi,
after changing the query of an interactive report (adding a new column) you have to add the column from the Actions Menu -> Select Columns function of the report.
But this change isn't permanent. After i logout and login again, or a user goes to the specified report, the column isn't visible.
Is it possible to make this permanent, because the only solution i have found it to recreate the report, which is not a good idea.
Thank you.
Teo
Edited by: temm on Sep 14, 2011 11:21 AMHi,
Login to Apex builder. Run page where you have IR.
Select columns you like display. Then from action menu save report default layout.
Regards,
Jari
Edited by: jarola on Sep 14, 2011 11:23 AM
See documentation
http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21674/bldapp_rpt.htm#sthref1287 -
Opening a specific Interactive report from a link
Hello,
I have a chart which links back to a page with interactive report. I want to make sure that every time user clicks on the link on the chart page, he is shown the default report view. But currently it shows the last viewed report from various saved reports. Is there a way I can call the default report. I tried RIR in clear cache section of the link but does not seem to take me back to default report.
Any help is highly appreciated.
Regards,
BhaveshHave you looked at the actual Javascript that is called when an interactive report is reset? You might be able to use this in a region that is conditionally "displayed" when the page is called from the chart. Perhaps using the REQUEST as the condition.
Craig
[www.oracleapplicationexpress.com|http://www.oracleapplicationexpress.com] -
Create Filter on an Interactive Report in a Link
Hello,
Here is info on my environment:
Database: 10.2.0.1.0
O/S: Windows XP
APEX: v3.2.1
I am trying to use the IR<operator>_<target column alias> feature to filter the linked Interactive Report. The feature does not seem to work. Does this feature work on a 10g database?
Background:
I am building the application (AnyCo Corp) described in the _2 Day + Application Express Developer’s Guide_ . On page 4-27 the section titled "_Linking a Column Value to Another Page_" describes linking from the Department report to the Employee report with the Column Link item IR_DEPARTMENT_ID. The link did not work, however.
The included APEX Users Guide discusses this feature. The path to the relevant section is: Home > Adding Application Components > Creating Reports > Editing Interactive Reports > Linking to Interactive Reports. The Guide describes the string IR<operator>_<target column alias> with lots of operators.
This is a neat feature. Unfortunately, no matter how I try to use it, it does not work. What am I doing wrong?
LeonCheck out these blog postings from the APEX Dev Team:
http://anthonyrayner.blogspot.com/2008/07/dynamic-date-filtering-in-interactive.html
http://dpeake.blogspot.com/2008/03/advanced-interactive-reports.html -
Interactive Report with 2 Links
I have an interactive report that was built from application wizard when I import an excel spreadsheet.
The report has an edit link already that is working. The information for that link appears to be on the report attributes tab under the link column section. I need to add another link and found code on the forum which I will put below.
The problem is the new link column shows, but the button doesn't show, just all the code seen starting with the a href. So - is there a syntax problem that anyone can see? Any input is appreciated. Thanks -- Shelly.
SELECT CASE WHEN (:A_ROLE = 'MASTER') THEN
'<a href="'
|| 'f?p=&APP_ID.:3:&SESSION.::&DEBUG.::'
|| 'P3_ID:'
|| ID
|| ">'
|| '<img src="#IMAGE_PREFIX#show.gif" border="0">'
|| '</a>'
ELSE NULL END LINK_COL,
"ID",
"PARTNUMBER",
"DESCRIPTION",
"SPI",
"HTS",
"ECCN",
"GRI",
"SOURCEOTHER_INFORMATION",
"COUNTRY",
"INITIALS",
"CHANGE_DATE"
from "PARTS_CLASSIFICATION"
where
NVL(PARTNUMBER,'@') LIKE (:P10_PARTNUMBER || '%') escape '@'
and NVL(DESCRIPTION,'@') LIKE (:P10_DESCRIPTION || '%') escape '@'
and NVL(SPI,'@') LIKE (:P10_SPI || '%') escape '@'
and NVL(HTS,'@') LIKE (:P10_HTS || '%') escape '@'
and NVL(ECCN,'@') LIKE (:P10_ECCN || '%') escape '@'
and NVL(GRI,'@') LIKE (:P10_GRI || '%') escape '@'
and NVL(SOURCEOTHER_INFORMATION,'@') LIKE (:P10_SOURCEOTHER_INFORMATION || '%') escape '@'
and NVL(COUNTRY,'@') LIKE (:P10_COUNTRY || '%') escape '@'
and NVL(INITIALS,'@') LIKE (:P10_INITIALS || '%') escape '@'Hi Shelly,
The post doesn't show the code that you have used, so I can not say if there is a syntax error.
However, you should first check, on Report Attributes, that the LINK column is showing as "Standard Report Column" instead of "Display as Text (escape special characters)"
Andy -
Make interactive report column nowrap
How do I make one of the interactive report column nowrap? In the standard report, I can add "white-space:nowrap" to column formatting, but IR does not have this option.
Hi,
Regular reports typically use different class name and other attributes for headings/data cells.
In some cases, the TD tag that contains the data uses the "headers" attribute containing the column name or alias. Many browsers can use this for styling.
For example: [http://apex.oracle.com/pls/otn/f?p=267:114]
In the region's Region Header, I have:
<style type="text/css">
td[headers=ENAME] {background-color:red}
#ENAME {background-color:yellow}
</style>I've used the background-color style to make it obvious, but other styling can be used if required. On this report, the column heading uses the column name/alias for the ID, so I've also used #ENAME to style that as well.
Andy -
Increase the Performance of Search In Interactive Report
Hi,
I created a report which has about 10000+ records. To load the report it is not taking much time. But when i make a search in interactive report it is taking lot of time. Please suggest me how to increase the performance of interactive search.
I am using Oracle apex 3.2 and Oracle 10g XE database.
Please suggest me.
Thanks
SudhirHi,
1) I am using Row Ranges Pagination from X to Y
2) To Execute it takes about 1.15 seconds
3) This is the function am using to make a call
FUNCTION FUNC_ORACLE_CONTRACT(P_SERIAL_NUMBER IN VARCHAR2,P_FLAG IN VARCHAR2)
RETURN VARCHAR2
AS
L_LOCATION_ID NUMBER;
L_SYSTEM_ID VARCHAR2(200);
L_ENTITLEMENT_ID VARCHAR2(200);
L_CREATED_DATE DATE;
L_COMPANY_NAME VARCHAR2(500);
L_LEGAL_NAME VARCHAR2(500);
SELECT DISTINCT LOCATION_ID, SYSTEM_ID, ENTITLEMENT_ID, CREATED_DATE
FROM CUSTOMER_LICENSES
WHERE PRODUCT_SERIAL_NUMBER = P_SERIAL_NUMBER OR
ENTITLEMENT_ID = P_SERIAL_NUMBER OR
ACTIVATION_ID = P_SERIAL_NUMBER ;
BEGIN
OPEN C1;
FETCH C1 INTO L_LOCATION_ID, L_SYSTEM_ID, L_ENTITLEMENT_ID, L_CREATED_DATE;
IF P_FLAG = 'COMPANY_ID' THEN
SELECT COMPANY_NAME || ' (C)' INTO L_COMPANY_NAME
FROM CUSTOMER_LOCATIONS
WHERE LOCATION_ID = L_LOCATION_ID;
IF L_COMPANY_NAME IS NULL THEN
SELECT LEGAL_NAME || ' (P)' INTO L_LEGAL_NAME
FROM PARTNER_LOCATIONS
WHERE ID = L_LOCATION_ID;
RETURN L_LEGAL_NAME ;
ELSE
RETURN L_COMPANY_NAME ;
END IF;
ELSIF P_FLAG = 'SYSTEM_ID' THEN
RETURN L_SYSTEM_ID;
ELSIF P_FLAG = 'ENTITLEMENT_ID' THEN
RETURN L_ENTITLEMENT_ID;
ELSIF P_FLAG = 'LOCATION_ID' THEN
RETURN L_LOCATION_ID;
END IF;
CLOSE C1;
EXCEPTION
WHEN NO_DATA_FOUND THEN
RETURN NULL;
WHEN OTHERS THEN
RETURN NULL;
END FNC_ORACLE_CONTRACTS;Edited by: Sudhir_Meru on Apr 9, 2013 4:11 PM -
Search bar value from Interactive Report
Could someone help me to acces the value entered in the search bar and pass it to another page?
Basically our apex interactive reports has a link which allows to edit single records. However customer is looking to edit multiple records at the same time and I am thinking if I can pass the search bar value to an tabular form, then it will allow to update multiple records
Thanks
Rajesh AlexHi Rajesh,
There are a set of views that seem to contain the data for the IR:
APEX_APPLICATION_PAGE_IR
APEX_APPLICATION_PAGE_IR_CAT
APEX_APPLICATION_PAGE_IR_CGRPS
APEX_APPLICATION_PAGE_IR_COL
APEX_APPLICATION_PAGE_IR_COND
APEX_APPLICATION_PAGE_IR_RPT
You could have a look through these to see if any help.
Andy -
Clear Filter on Interactive Report
I created an application in Application Express 4.2.0.00.27. Four of the pages have interactive reports. I applied the filter to the report on page 46 to show only rows with LAST_NAME LIKE ‘%JONES%’ and the rows are filtered correctly. When I navigate to the calling page 12 and then back to page 46 the filter is still in effect. The clear cache on the calling page 12 is checked. Is there a property of the page or report which will clear the filter on page 46?
See Linking to Interactive Report in the documentation.
To reset an interactive report in a link, use the string "RIR" in the Clear-Cache section of a URL. This is equivalent to the end user choosing the Reset option from the interactive report actions menu on the target page. The report is returned to the default report settings specified by the developer or saved by the user. -
What is best way to link two interactive reports?
Hi,
=================
Basic Set UP
=================
I've created two interactive reports-- Project report in Project page and Task report in Task page.
Project report in Project page can contain multiple projects.
Task report in Task page can contain multiple tasks.
One project can have multiple tasks.
But one task can have only one project.
=================
What I'm trying to achieve
=================
When I click a Project Name, it should pass Project ID to Task page and display tasks that are pertaining to the project.
When I create a new task, the passed Project ID should be mapped to the task.
=================
Challenges
=================
1. How can I pass Project ID from Project page to Task page while clicking Project Name in Project page ?
2. How can I get Project Name in Task page based on the Project ID passed from Project page ?
3. How can I display tasks pertaining to the Project Name ?
4. How can I take Project ID passed to Task page and map it to a new task?
Thanks,
Guy1. How can I pass Project ID from Project page to Task page while clicking Project Name in Project page ?Create hidden item in Task Page, for example :P2_PROJECT_ID. Than link on required column to Task page:
Interactive Report -> Edit Column -> Link.
2. How can I get Project Name in Task page based on the Project ID passed from Project page ? There is two ways you can create a function that will return project name by id or you can post project name to task page (The second way is unsafe, you can miss some parts of your project name if you will have a ',' symbol)
3. How can I display tasks pertaining to the Project Name ?In interactive report source add condition to your query, for example:
and task_table.project_id=:P2_PROJECT_ID -
Pre populating search in interactive report
Hi Folks
I an using an interactive report which returns a very large amount of data, which means that just accessing the report page can take 10 to 15 minutes and as you can imagine the users are not very happy. So, I was wondering if it is possible to set an interactive report so that is does not return anything when entering the page but only returns when a search is submitted?
I thought of maybe having a page inbetween access the interactive report and the link to the report where you could somehow enter your search term and submit it to then pre-populate the search field in the interactive report....I am sure there must be an easier way...any ideas?
Thanks
LynnDo you need all of the features of an interactive report? You could add a text field and set your query to look at the value in the next field via a standard SQL report.
In your current interactive report are you trying to display all rows at once? Even if you query on specific values in the search bar is your result set taking a long time? -
Question - Resetting Interactive Reports on Different Pages
Hi,
I currently have 5 pages, each with an Interactive Report. Page 1 contains column links with filters to the other 4 pages.
Once a user has clicked a column link with the relevant column filtered on the Interactive Report on the other page, the only way I can see for the user to reset each Interactive Report is to manually reset the report on each page.
Is there any way to perform the "RIR" or "CIR" clear cache setting on all the Interactive reports for a delimited list of pages via one button click?
Thanks in advance,
- StuartHi Simon,
The scenario could be that the user clicks on 3 different column links on page 1 and the Interactive Reports on those linked pages are filtered. The user is happy with the information and decides that he/she wants to look for completely different data within the Interactive Report on page 2 (3 or4).
When they go to that page, it is still filtered based on the column link. To reset the report, they need to manually select Reset from IR menu. This would need to be done for each of the other pages with previously filtered reports.
The Reset I am looking to perform is almost like when each page is visited. It would be similar to performing a clear page cache on multiple pages and you pass the page number as a parameter from one button click using a PL/SQL block. i.e.
BEGIN
APEX_UTIL.CLEAR_PAGE_CACHE('1');
APEX_UTIL.CLEAR_PAGE_CACHE('2');
APEX_UTIL.CLEAR_PAGE_CACHE('3');
END
Ideally, if there was some way to do something similar for all or specific Interactive reports then it would reduce the number of clicks made by the user.
The application is to be aimed at users, who need to get information with as few clicks as possible.
- Stuart -
How to expor interactive report to an excel file
hi,
+I am trying to export interactive report by providing link as export to excel at bottom of the report.+hi,
step 1:- Download process type plugin named "excel_plugin". this is process type plugin.
step2:- Import the given plugin in your application from shared component-> Plugin
step3:-To use this plugin add a new process to a page in your application, based on this plugin
Use as Process Point "On Load - Before Header"
Use a Condition Type Request = Expression 1
Expression1 = XLS
step 4:- Create one button on your page.
Action : Redirect to Page in this Application and page number should be your report page.
Request : XLS
I hope it will help you to resolve your issue.
thanks,
jitu -
Interactive report loosing pagination state
Hi I need your help please,
I have a page with 2 reports in a master detail fashion. The master report is an interactive report with a link that when clicked loads the record detail on the second report; this works fine.
However when the page reloads after the click the master (interactive) report is apparently re-queried from the database and the rows change, it goes back to pagination 1 , independently if when I clicked on the record it was in the pagination 3 or 11 or any, as a consequence even when I have the detail loaded in the second report I cannot see the original row in which I cliked on the main report.
How to avoid this?
Thanks,
_OMHi 170a424f-1515-4eb1-98cc-a0d75da3970c,
Could we get you to go into the profile and change 170a424f-1515-4eb1-98cc-a0d75da3970c to some convenient name, nickname or handle?
Start a new thread. Yes, that's exactly what the "powers that be" want you to do. Start a new "thread" not resurrect an old one. In the general case, your situation may be different enough that a different solution would be warranted. You can refer to this old thread for reference. Besides there are a couple things we need to known that affect what the possible solutions can be. When old, particularly closed threads, are re-opened, additional points cannot be assigned for those who help with the solution. This is import to some folks.
[And I have to type most this in because copy/paste has not been working for me on the forum.]
Full APEX version
Full DB/version/edition/host
OS Web server architecture (EPG, OHS or APEX listener/host OS)
Browser(s) and version(s) used
Theme used
Template(s) used / modified -- (Which is relevant/important for some problems.)
Region/item type(s)
Okay, to your question. I think a solution might be to refresh each region (master, detail) separately -- a partial page refresh. Have you done that before?
Start a new thread of your own and perhaps someone will have the help you need.
Kind regards,
Howard
Maybe you are looking for
-
How to get the UDDI Key to publish a service provider system in SR?
Hi, I am following instruction in appendix 1 & 2 of the white paper at https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1079b1af-dcb7-2b10-9ebb-eafcaa3cbbea?overridelayout=true trying to publish a service provider system into the s
-
New Macbook hard drive can't locate Time Machine files of backup on external drive
I just got my hard drive replaced as it was failing. Just before I took it to the apple store I backed up my hard drive using time machine, on a separate hard drive: phew! I checked that time machine was operating fine before I took it in to get th
-
How do I get headers to reproduce on other pages in the document?
I've spent about 30 minutes on this problem and I'm running out of time. I opened my newsletter project in new Pages and things are not as they should be in the template. I'll leave the griping to other people. They're doing a great job expressing my
-
Email notification - Application Owner Issue
Hi All, We are trying to config email notification on planning.we have to save the SMTPserver with application Owner user ID .........but the user ID application owner is deleted.......when we try to create the same user in HSS & try to give access p
-
Exchange 2013 Non Deliverable Messages do not show correct information
I tried looking around for a solution for this but have been unable to. We have a new (1 month old) single-server installation of Exchange 2013 CU5, running on server 2012. It's in coexistence with an Exchange 2007 box. All users, groups, and everyt