Setting the APEX interactive report items
Hi,
I need to reset the APEX interactive report items like apex_ir_APP_USER to some value.
I put the below jQuery code in the javascript header page it did not work:
<script type="text/javascript">
$document.ready(function() {
$('#apexir_APP_USER').val('NEW VALUE');
</script
Any suggestions ??
Thanks
The reason of me trying to set the apex interactive item is:
For the interactive report, we enabled the subscription service, so that users can subscribe for the selective reports.
So, when a user clicks the Actions button and selects the subscription option, then the couple of fields like email address, subject etc., are populated, with the default values.
The email address field is auto populated with the user id like abc.efg.
And, the email address field i would like to manipulate and change to [email protected]
Now i was able to change the value of the hidden variable, apexir_APP_USER with the below code but when i select subscription option i still see the same user id populated in the
email address field.
<script type="text/javascript">
$(document).ready(function() {
alert('test'+ $("#apexir_APP_USER").val());
$("#apexir_APP_USER").val("Value changed");
alert('changed value '+ $("#apexir_APP_USER").val());
</script>
Similar Messages
-
Download Customization in Apex Interactive Report
Hi All,
I am using Apex 3.2.
I have some requirement, for the download the interactive data into xl sheet we can go to action menu and download the report. But in the report there is one edit link ,I dont want down load edit link data. How to avoid this edit link data.
Thanks,
pnr
Edited by: pnr on Mar 28, 2011 5:59 AMHello Tony,
Your suggestion on the other thread is interesting and will be helpful on some other reporting I am doing. However, I am still running into an issue. I am unable to get the 2nd interactive report query below 114 columns since I have to keep those fields together so they can look at those fields when they make computations.
I never did say 100 + columns is "Always" needed. However, it is still a needed feature in my opinion. I been using APEX for 2 years. This is the first time I needed this many columns. I am currently working with Institutional Advancement, which by next month will want to have over 200 columns available to them since not only will they be looking at constituents but, they will want to look at corporations as well. Discover isn't an option at this time.
"Maybe someone can build an ad-hoc report builder for APEX applications that can be attached to applications? We have such items in Oracle Forms application I maintain now.."
That would be delightful...
Regards,
Kelly -
How to set different default interactive reports for different user groups?
I'm probably overlooking an obvious solution, but how do I set different default interactive report for different user groups?
For the same interactive report, I want one set of users to see a default where the default filter is based on column X. However, another group of users doesn't have authorization to see that column so I need to set the default filter to something else for them.
ThanksYou can set a filter on a report in a URL - would that help? I think with apex 4.x you can also link to a saved default report or alternative report...
-
Online Store 1.0 - which process set the value of App Item 'FULLNAME'
Hi,
I just very curious about which process set the value of App Item 'FULLNAME' ini the packaged Apex App - Online Store 1.0 .
At Navigation Bar, there is a entry named "If you are not &FULLNAME., Click here |". However I can't find how the app set this application item value in any process when login.
any idea, I will be very appreciated.
Thanks in advance.
PPMonkeyCheck the post-authentication process in the current authentication scheme and the call to ols_getname.
Scott -
How to set the value of application item using pl/sql in application process
Hi guys,
I want a global variable (application item) whose value will be set at the start when a user logs in to the application. The value will be retrieved from database using a sql query. I do not know the exact syntax to set the value of application item in application process. Also i want to know in which type of application process should i use to set the value of application item when a user starts a session. The value of application item varies from user to user.
Please help.
I am using apex 4.2
Regards,
WaqasYou can use the application item as bind-variable with its name. ie. your application item is named G_MY_APPLICATION_ITEM, then you can access/set it using :G_MY_APPLICATION_ITEM.
For example
BEGIN
-- assign like a variable
:G_MY_APPLICATION_ITEM := 'LARRY';
-- use in a SQL statement
SELECT WHATEVER_COLUMN
INTO :G_MY_APPLICATION_ITEM
FROM MY_TABLE
WHERE USERNAME = :APP_USER
END;
Peter -
Passing Interactive report item values to flash chart.
Hello,
I am trying to pass an interactive report item value to a 2D column chart type in the chart query as :IR_EMPNO but the item value comes as null and the chart does not show any data. when I am passing this value to another form item and referencing it in the chart query as :P2_EMPNO, it works fine!! have anyone encountered such problem? Please help.
Regards.Thank you Varad...
Unfortunately, I am still getting no data found. (and there IS data).
a) Do you mean in the link column section of the report attributes? that is done: item 1 name= IR_P2_FID, value = #FID#
b) Do you mean my changing my hidden page item to ir_p2_fid with its source value as #FID# ? also done.
Do I need this hidden item?, and if not how do I refer to link in the where clause of the called page's sql region?
3) Where Fishery_id = :IR_P2_FID
Where Fishery_id = &IR_P2_FID
Thanks again!
Pamela -
APEX Interactive Report - CSV Export Limitations?
Hello,
I have an interactive report generated for some users.
The issue I'm having right now is that the results that the users need is over 100k and the export to csv option caps out at 65,535 rows. Is this a limitation on APEX Interactive Report's side and is there anyway to get around it so we can send 100k records (or more) to the users without them splitting the report many ways?
Thanks in advance.
IvanIvan,
I'm afraid that I can't answer your question. The APEX insiders will have to field that one.
As one that dislikes voluminous reports, have tried swaying your users that you now have this great interface to drill to the data you need versus downloading gobs of data and filling up their hard drives. Ask if there is something else your application can do that they would do with all that data in Excel.
Jeff -
Is it possible to set the child index of items in the design view?
Is it possible to set the child index of items in the design view? I have a large png that is on top of everything in design view which is really annoying
Yes it is possible to do so. Goto View>>Tools Pallete. This will open up a tools pallete which you can use to modify the colours and other viewing options of graphs and anything else on the front panel.
For your purpose u select the background of the graph and click on the "set colour squares" present in the lower bottom corner of the pallete. This will open up a whole range of colors you can select for the purpose. There in the black and white strip of colours, there is a box titled "T" on the right most corner. Select that "T" and your background color will go transparent.
Have a nice day. Happy codings.
Regards
Asad Tirmizi
Design Engineer
Institute of Avionics and Aeronautics
" Its never too late to be, what u want to be"
Using LabVIEW 8.2 -
Is that possible to add set pagination to interactive reports?
Hi, Guys:
Is that possible to add set pagination to interactive reports like that in classic reports (like row 1 to 20, row 21to 40,...)? I know Jarola had implemented it on
http://actionet.homelinux.net/htmldb/f?p=100:1
see thread Column Alignment / Pagination in Interactive Reports
I can add arrow to last page of report, but I still cannot figure out how to add set pagination to interactive report like what Jarola did, could anyone help me on this?
Thanks.
Sam
Edited by: lxiscas on Nov 6, 2012 3:22 PMI made it!
http://dbswh.webhop.net/htmldb/f?p=BLOG:READ:0::::ARTICLE:41900346848694
Edited by: lxiscas on Nov 6, 2012 4:44 PM -
How to download the file Interactive report
Hi ,
I am using that Issue Tracker 1.0 in APEX 4. I added one more item as File upload. Here we uploading screen shots. Now what happened when i press the create button the file name got stored in my table. the file stored in Apex_Application_files.
After inserting the data its shows the Interactive report ,In that report i have a download link for each and every issue when i pressed the button the corresponding file should be come...
How to download that particular file. ?????
In that report there is a option for Link URL in that URL manually i passed on file id. Its working..
Now i have one item i stored the file id. How to pass the Item to My URL??
Please help me out.
Thanks in advance
Cheers,
Shan.....
Edited by: JayaShan on 8 Jan, 2010 12:58 PMSearch Google for a tutorial using terms like "AS3 FileReference download tutorial"
Here is a link for that search...
http://www.google.com/search?q=AS3+FileReference+download+tutorial&rls=com.microsoft:en-us &ie=UTF-8&oe=UTF-8&startIndex=&startPage=1&rlz=1I7GGNI_en -
APEX Interactive Report - sum multiple columns table1 X with table2 value
I have a challenge in oracle apex, were i want to sum multiple columns to give 3 extra rows namely points, Score, %score. There are more columns but chose only few for now.
Below is an example structure of my data:
Town | Sector | Outside| Inside |Available|Price
Roy-----Formal----0----------0----------1------0
Kobus Formal--0 ---------0--------- 1------0
Wika ---Formal----0----------0--------- 1------0
Mevo----Formal----1----------1---------1------0
Hoch----Formal----1----------1---------1-------1
Points--------------2----------2----------5-------1
Score-------------10---------10---------10------10
%score-----------20---------20---------50------10
Each column has a constant weighting (which serves as a factor and it can change depending on the areas) in this case the weighting for this areas are the ones in the first row for the sector Formal:
Sector |Outside| Inside |Available|Price
Formal----1----------1 ----------1-----1
Informal--1----------0 ----------2-----1
I tried using the aggregate sum function in apex but it wont work since i need the factor in the other table. Which is where my challenge started
To compute the rows below the report:
points = sum per column * weighting factor per column
Score = sum of no of shops visited (in this case its 5) * weighting factor per column
% score = points/Score * 100
The report should display as described above. With the new computed rows below.
I kindly ask anyone to assist me with this challenge as i tried searchin on the internet for solutions but havent come across any.
Thanks a lot for your support in advance!!>
Please update your forum profile with a real handle instead of "823433".
I have a challenge in oracle apex, were i want to sum multiple columns to give 3 extra rows namely points, Score, %score. There are more columns but chose only few for now.
Below is an example structure of my data: Use <tt>\...\</tt> tags as described in the FAQ when posting code and sample data and layouts. Please edit the OP and reformat the example using <tt>\...\</tt> tags so it's clear.
Town | Sector | Outside| Inside |Available|Price
Roy-----Formal----0----------0----------1------0
Kobus --Formal----0 ---------0--------- 1------0
Wika ---Formal----0----------0--------- 1------0
Mevo----Formal----1----------1---------1------0
Hoch----Formal----1----------1---------1-------1
Points--------------2----------2----------5-------1
Score-------------10---------10---------10------10
%score-----------20---------20---------50------10Each column has a constant weighting (which serves as a factor and it can change depending on the areas) in this case the weighting for this areas are the ones in the first row for the sector Formal:
Sector |Outside| Inside |Available|Price
Formal----1----------1 ----------1-----1
Informal--1----------0 ----------2-----1I tried using the aggregate sum function in apex but it wont work since i need the factor in the other table. Which is where my challenge started
To compute the rows below the report:
points = sum per column * weighting factor per column
Score = sum of no of shops visited (in this case its 5) * weighting factor per column
% score = points/Score * 100
The report should display as described above. With the new computed rows below.
I kindly ask anyone to assist me with this challenge as i tried searchin on the internet for solutions but havent come across any.How critical to the solution is using an interactive report? It would be much easier to do this in a standard report where you've complete control over the query SQL and the report structure.
When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
<li>Full APEX version
<li>Full DB/version/edition/host OS
<li>Web server architecture (EPG, OHS or APEX listener/host OS)
<li>Browser(s) and version(s) used
<li>Theme
<li>Template(s)
<li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand. -
I have two issues with respect to Interactive Report in ApEx
1. I used the Aggegrate Function to sum up the values. Though the Values are displayed, i want to have the Wordings " Totals". How to go about that
2. In the Interactive Report, i use the Highlight option to color a set of rows based on some condition. Now after saving the report (primary), i as an end user still see the Query Part with an X. As a developer i dont want my end users to see that portion. From the end user point of view, he should be able to see the report with various colors as defined by me, but without seeing the X mark. (I got the answer to this through another forum,..thanks)
But the first one still remains...
Kindly help.
Edited by: Vraj2k on Nov 25, 2011 4:50 PMHello,
Do you want some customers appear twice or not in your top 10?
If not in your select you would need to specify DISTINCT (or probably look a bit more inside the query because you might have a cartesian product that makes the rows appear more than once).
Next you can order by Value and then only show the first 10. You can do that dynamically with the interactive report or directly in your query. On Asktom you see some nice examples about top n queries: http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:2853107469873
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/
REWARDS: Please remember to mark helpful or correct posts on the forum -
Display PDF file in the Apex query report using HTML Expression
Hi Folks,
I have PDFs stored in BLOB columns along with FILE_ID column in the database.
I want to display these to the APEX user on the page at runtime.
I have created a SQL Query report page to display FILE_ID column.
I am using HTML Expression property of the FILE_ID column to pull the image from the table using PROC_DISPLAY_DOCUMENT procedure.
I typed folowing code int the HTML Expression text area of the FILE_ID column of the report page :
<img src="#OWNER#.proc_display_document?p_id=#file_id#"/>
I am using following Procedure code:
create or replace procedure "PROC_DISPLAY_DOCUMENT"(p_id number) as
s_mime_type varchar2(48);
n_length number;
s_filename varchar2(400);
lob_image blob;
Begin
select MIME_TYPE,dbms_lob.getlength(blob_content),file_name,blob_content
into s_mime_type,n_length,s_filename,lob_image
from tbl_upload_file
where file_id = p_id;
owa_util.mime_header(nvl(s_mime_type, 'application/octet' ),false);
--set the size so the browser knows how much it will be downloading
htp.p( 'content-length: '|| n_length );
--The file name will be used by the browser if the users does a "save as"
htp.p( 'content-Disposition: filename="' || s_filename ||'"');
owa_util.http_header_close;
--Download the BLOB
wpg_docload.download_file( lob_image );
exception
WHEN NO_DATA_FOUND THEN
RAISE_APPLICATION_ERROR(-202121,'Record matching screenfield filename not found, PROC_DISPLAY_DOCUMENT.');
end;
--This is very Important
--grant execute on PROC_DISPLAY_DOCUMENT to public;
This code does not work and report does not display PDF image.
Any help to troubleshoot this code will be appreciated.
Thank you in advance.
JayaHi Dimitri,
I hope you can see HTML Expression code now. Thank You for responding.
I have PDFs stored in BLOB columns along with FILE_ID column in the database.
I want to display these to the APEX user on the page at runtime.
I have created a SQL Query report page to display FILE_ID column.
I am using HTML Expression property of the FILE_ID column to pull the image from the table using PROC_DISPLAY_DOCUMENT procedure.
I typed folowing code int the HTML Expression text area of the FILE_ID column of the report page :
[!-- img src="#OWNER#.proc_display_document?p_id=#file_id#" ]
I am using following Procedure code:
create or replace procedure "PROC_DISPLAY_DOCUMENT"(p_id number) **
mimetype varchar2(48);
n_length number;
s_filename varchar2(400);
lob_image blob;
Begin
select MIME_TYPE,dbms_lob.getlength(blob_content),file_name,blob_content
into s_mime_type,n_length,s_filename,lob_image
from tbl_upload_file
where file_id = p_id;
owa_util.mime_header(nvl(s_mime_type, 'application/octet' ),false);
--set the size so the browser knows how much it will be downloading
htp.p( 'content-length: '|| n_length );
--The file name will be used by the browser if the users does a "save as"
htp.p( 'content-Disposition: filename="' || s_filename ||'"');
owa_util.http_header_close;
--Download the BLOB
wpg_docload.download_file( lob_image );
exception
WHEN NO_DATA_FOUND THEN
RAISE_APPLICATION_ERROR(-202121,'Record matching screenfield filename not found, PROC_DISPLAY_DOCUMENT.');
end;
--This is very Important
--grant execute on PROC_DISPLAY_DOCUMENT to public;
This code does not work and report does not display PDF image.
Any help to troubleshoot this code will be appreciated.
Thank you in advance.
Jaya -
Interactive Report & Item Value in Page 0
Hi,
Is it true that Interactive Report query couldn't read item value from Page 0?
I have this Interactive Report region using the :P0_EMP_SEQ in the where CLAUSE, i found out that the value is always blank/NULL.
I created a normal Report region to test the SQL, I can see records being returned.
Cheers,
-JoelHi,
When you are on page 32, check that there is value on page 34 item session state
http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21674/concept_ses.htm#sthref100
Regards,
Jari -
APEX Interactive Report not shown complete on production system
Hello,
I have a problem with my Apex 4.1.1 application on customers production server.
On our development system (Oracle 11.2.0.3) the Apex IR with the query down below delivers 1.500 rows and the page loading is finished after 3 seconds.
On our customers production system (Oracle 11.1.0.7) the same IR shows only the first 800 rows and then page loading runs endless. When i add a pagination with 500 rows everything works fine.
When i execute the Query in SQL Workshop the 1500 rows are delivered on both systems within 0,4 seconds.
What could be the problem?
kind regards
Stefan
Here the source of the Interactive Report:
select o.oid, o.obj_id, o.obj_name, f.finanzst_oid finanz_kosten_oid, 'Finanzierung' art, fst.BEZ bezeichnung, f.grundstueck_bet grundstueckskosten, f.bau_bet baukosten,f.von_datum, f.bis_datum, f.sort
from afa_objekte o, afa_finanz f, afa_finanzst fst
where o.aktiv is not null
and o.oid = f.objekte_oid
and f.finanzst_oid = fst.oid
union
select o.oid, o.obj_id, o.obj_name, k.kostenst_oid finanz_kosten_oid, 'Kosten' art, kst.BEZ bezeichnung, k.grundstueck_bet grundstueckskosten, k.bau_bet baukosten, k.von_datum, k.bis_datum, null sort
from afa_objekte o, afa_kosten k, afa_kostenst kst
where o.aktiv is not null
and o.oid = k.objekte_oid
and k.kostenst_oid = kst.oid
order by obj_id,sort nulls first,finanz_kosten_oid,von_datum;any ideas? anyone?
Maybe you are looking for
-
IMac doesn't recognise any USB external hard drives
2011 iMac running on OS X 10.7.5 1. I have tried 3 different hard drives now and none of them work on iMac but all work on Macbook Pro 2. Not appearing anywhere - evenin in Disc Utility 3. Tried to remove all other USB's in use and still no joy 4. Tr
-
How do I change the "gray" color selection for icons in Finder to brown?
Is there a way to change the selection of colors offered by the dropdown File menu for desktop and folder icons? I use a lot of color coding for the files and folders in my windows, and gray just looks like "dimmed out" to me. I know how to get the c
-
How to retrieve an email in Sent folder after the email was accidently deleted?
I was looking through the Sent folder, and went to close an email. It was deleted, I cannot see how to retrieve it.
-
Offsetting Account for Sundry Debtors and Sundry Creditors
Hi All I want to create offsetting account for Sundry Debtors and Sundry Credtitors.Where to create it. Warm rgs anand
-
Motion opinions wanted please!
I'm using FCPX for home videos and the occasional experiment, and am wondering whether Motion is worth buying? I still have Live Type from my FC Express days, and thought that was a great little programme for titles. Motion seems to do more. Does any