Report Column Length Issue
I have a report and no matter what I try I am unable to get the column width accurate or for it to not wrap the text. Currently using 'Application Express 2.2.1.00.04'
I have gone through previous posts and have tried the following:
1. I have tried the following: <div style="width:nnnpx; white-space:normal">#column_name#</div>
Where "nnn" is the width in pixels you need and column_name is the name of the column to be displayed.
**This option put a space before/after the row and this is not a good solution.
2. Another option suggested: <style type="text/css">span.styleme {display:block;width:250px;}</style>
**This option had no effect.
3. This option worked great, however it removed the 'link' that we need on the column. <SPAN STYLE="white-space:nowrap">#APPLICATION_NAME#</SPAN>
Can you help please?
Thanks,
Amy
--Reformatted message so it is legible
<P>
I have a report and no matter what I try I am unable to get the column width accurate or for it to not wrap the text. Currently using 'Application Express 2.2.1.00.04'
<P>
I have gone through previous posts and have tried the following:
<P>
1. I have tried the following:
div style="width:nnnpx; white-space:normal">#column_name#
<P>
Where "nnn" is the width in pixels you need and column_name is the name of the column to be displayed.
<P>
**This option put a space before/after the row and this is not a good solution.
<P>
2. Another option suggested:
<P>
style type="text/css">span.styleme {display:block;width:250px;}
<P>
**This option had no effect.
<P>
3. This option worked great, however it removed the 'link' that we need on the column. SPAN STYLE="white-space:nowrap">#APPLICATION_NAME#</SPAN
<P>
Can you help please?
<P>
Thanks, Amy
Similar Messages
-
Enhance GRC issue status report columns
Hello GRC Gurus
I am new to GRC application and I have a requirement to enhance u201CIssue Statusu201D report fields.
Process:
Goto -> Report Center - > "Issue status" Report -> run based on the condition. It will display ll the issue report in a ALV table formate with the columns
Organization Subprocess Control Issue Ectu2026(As configured in SPRO)
But my requirement is to add a Custom additional Field to the ALV table report:
Is there any enhancement to add the custom field in to the report and implement logic to populate data to the same?
Kindly let me know your comments.
Thanks you ,
Regards,
Magesh
Edited by: mageshB on Dec 28, 2010 6:10 AMYes, of course.
Kindly look into the view cluster:
VC_GRFNREPCOLUMNSC - Reporting: Customizing of report columns
VC_GRFNREPCUST - Report: Customizing -
Oracle APEX 4.0 - Interactive Report - Table Column Filter Issue
Environment: Oracle APEX 4.0 - Interactive Report - Table Column header Filter Issue
We have developed an interactive report using Oracle APEX 4.0, which contains a record count of around 3,000 Rows. All the rows values are unique in nature. When we try to filter the same with the help of column header filter option available in the interactive report,We get only 1000 records.
Could some one help us, why this behaviour under APEX Table Column Header Filter as if it does not display beyond 1000 distinct values.
Is there a way or workaround on how to get all the records in the column header filter?
Thanks in advance.
KrishHi
Thanks for the advice and this issue has been moved to the below URL
Oracle APEX 4.0 - Interactive Report - Table Column Filter Issue Posted: No
Krish -
JavaScript: Disabling textarea in report column cell
Hi,
Andi (ATD) helped me with formatting report columns, coloring them depending on a value. See:
Javascript - Referencing report column value
Now I want to add a feature:
If the value is '1' then disable the textarea in the next column, otherwise not. The function is:
function hilite(f1)
var h = document.getElementById(f1);
var t = h.parentNode;
while (t.tagName != 'TABLE')
t = t.parentNode;
var rows = t.rows;
var k;
var i;
var j;
var c;
var headers = t.getElementsByTagName("TH");
// var textarea = t.getElementsByTagName("textarea");
for (k = 0; k < headers.length; k++)
if (headers[k].id == f1)
c = k;
for (k = 1; k < rows.length; k++)
i = rows[k].cells[c];
j = rows[k].cells[c+1];
if (i.innerHTML == '2')
i.style.backgroundColor = 'yellow';
i.style.color = 'white';
i.style.fontWeight = 'bold';
i.style.fontSize = '18px';
if (i.innerHTML == '1')
i.style.backgroundColor = 'red';
i.style.color = 'white';
i.style.fontWeight = 'bold';
i.style.fontSize = '18px';
// j.style.backgroundColor = 'green'; // testing purpose; colors background green but not textarea
j.style.visibility = 'hidden'; // works fine but ugly
// j.disabled = 'true'; // nothing happens
// j.firstChild.disabled = 'true'; // does not work
// j.textarea.disabled = 'true'; // does not work
}See the 'j' object: I can make the whole cell disappear but it looks ugly. Examining it with firebug I was thinking I must use sth. like firstChild or textarea, but it does not work. I find it still quite tricky to manipulate tables in Apex...
Could someone help with this?
Thanks a lot,
RogerHi Roger,
You're sort of nearly there!
The next cell to the right of the one you are testing will contain a TEXTAREA object. Your j variable can get to this using something like:
j = rows[k].cells[c+1].getElementsByTagName("TEXTAREA")[0];The issue with using the visibility method that you have used will then disappear as you've applied it to the whole TD object, so all borders will go - applying this to the new j will only hide the textarea object instead.
Andy -
Display an alert message through javascript when report column item is null
Hello,
I have a report column item which is an select list item and now i want to display an alert message when value is null, I mean no value is selected, this alert message should be fired when update button is clicked.
Can anyone please help me with this issue.
Thanks,
OrtonYou could try something like this:
declare
x INTEGER;
err_ct INTEGER := 0;
begin
x := 5; -- number of rows displayed
for i in 1 ... x (
IF wwv_flow.g_f08(i)) IS NULL THEN err_ct := err_ct + 1;
END IF;
end loop;
IF err_ct = 0 THEN
RETURN NULL;
ELSE
RETURN 'Nice error message: you must supply a value.';
END IF;This would be used with a PL/SQL validation: Function Returning Error Text. -
How to accessing current row report column value in Lov Query?
Hi,
which access methods (eg. bind variables, substitutions, ...) for getting the current row report column value can be used in the "Lov Query" property of a report column?
As what I know of and what I have read on the forum there are no bind variables for the report columns. For the "Link Text" property it seems that the column values exist as substitution strings (#COLUMN_NAME#). But they don't work in the Lov Query. => And would be good because of a hard parse each time the Lov query is executed.
The following post (Re: Simulating a correlated sub query in lov
is showing a solution to use package variables for temporary storage of the referenced value, but the only problem with that solution is that if a new record is added with the "Add rows to tabular form" process the package variable still contains the value from the last queried row! Is there a way (variable, APEX package, ...) to determine if the lov query is executed for a new record so that the package can return null?
I know that I could write the package in a way that the value is immediately cleared when lov_pkg.keyval is called (one time read), but then I would have to create several variables if I'm accessing the value multiple times in the query or in another query => I think an one time read solution would be very obscurely.
Thanks for your help
Patrick
http://inside-apex.blogspot.comHi Patrick,
I agree that it's a waste to continually use Ajax to go back to the server to get the contents of a dynamic select list.
There are no bind variables for any row item - but what you do have, as per my previous post, is the value of the data entered by the user in the first row. You can pass this into your application process (using get.add("VARIABLENAME", value)), which can use it to retrieve the correct LOV in your Ajax code - this will give you a "bind variable" that your process can use.
What you could do, however, is generate hidden select lists on your page - one for each possible LOV list and replace the contents of the new row's select list with the contents of the appropriate hidden select list. This is easy to do with javascript (using innerHTML functions). Obviously, though, the usefulness of this depends on the number and size of the select lists.
Even if you don't generate them to start with, you can keep a copy of any select lists returned by Ajax in the DOM for use on new rows. So, if you have retrieved a select list, you will have a copy of it in DOM which you can then copy into the new row. If you don't have the list in DOM, use Ajax to get it, store a copy of it and copy it into the new row.
Which method you use will depend on the number/size of select lists needed. If they are few in number and/or size, I would suggest generating hidden lists. If they are large, use Ajax to get them once, store them and then retrieve them from the DOM when needed.
There is another thread here where Arie recommends going to the server every time to make sure you get the most up-to-date data for the lists. If you want to follow this advice, for this reason, use get.add("VARIABLENAME", value) to pass the value to your process. If this is not an issue, you can use one of the other methods I outlined above.
Regards
Andy -
Few values of report column do not display in report while applying filter
Post Author: anuragg11
CA Forum: WebIntelligence Reporting
There are 6 drill filters applied on the report to filter out the report column data. Few values of the report are not displaying in the report when using drill filter. Same issue is with report filter too. If filters are removed then values are appearing in the report. We are using version BO XI R2 & Java runtime JRE 1.4v. It doesn't look issue is with Java version because only few specific data of the report column are not shown in the report when using filter on the data. Example: One of Report data column contains below values: 24.2, 26.9, 120.1, 230, 274.9, 275.8, 333.2 Report is displaying all these values when there is no filter on any data. But report doesn't display data when applying filter on 274.9 or 120.1 howver filter on other values 24.2, 26.9, 230, 275.8, 333.2 are working fine.Hello,
I think i know what your problem is.
Although in table view your 2 requests combine perfectly and show separate results in pivot view BI unfortunaterly adds them up.
One work around would be to go in your criteria add in each request a dummy column. This can be obtained the following way:
1. click on a column to add it in the criteria (it doesnt matter which one)
2. go into the edit formula of that column
3. delete the formula and in its place write 'Dummy Column 1'
Do the same for the second request by adding a "Dummy Column 2'
Now the Pivot Table should also show up correctly
Let me know if it goes well or if you have any further questions,
Kostis -
How to display special characters in APEX Classic Report column
Ref: Thread: How to display newline characters as new lines
Version: APEX 3.2
Hi,
I have created an classic SQL Report with one of the columns being a decode that gives a value 'Post'(the value should be highlighted in Red) on one condition and 'Pre' on another. I have followed the advice given in the page (URL provided above) , i.e. I have changed Strip HTML to 'No', changed Display as to 'Display as text (escape special characters, does not save state)'. I have also passed this value back to the same page to be stored in a page item each time a link (another column in report) in report is clicked. I have tried passing it as #DEADLINE# and \#DEADLINE#\. The issue I face is, instead of the value being highlighted in Red, it gets passed back as a string holding the value 'Post'. Is there any way I can get this to display as it should without the Strip HTML being changed to 'Yes'.
Thanks very much.
Rohi
Edited by: Rohi on 18-Jul-2012 04:21876651 wrote:
Hi,
Thanks for your response.
I am trying to display a page item that is derived from a report column based on a click on the URL link (*view >*>)
This page item (here, it is Manager_ID) should ideally be highlighted when a particular condition is satisfied (achieved using a DECODE in the report).
But it is not displayed like it should be.
I do not want the value to be displayed along with the html tags as a string.
I want the html tags to take effect and highlight the value within it.
Initially, I had set Strip HTML to Yes and the value was returned without any highlighting .
So I changed it to 'No' and and it contained the html tags.
I am not sure what setting in APEX Report Attributes can help me achieve that effect I want.None of the report settings are relevant. They affect the rendering of the report and none of the columns you were changing the properties of were actually rendered.
You can't pass HTML and CSS around in URL parameters.
I suggest you pass *2* values in the column link: the MGR ID and a simple class or colour value computed by the DECODE in the report. I've suppressed the first version of the report and created a new one that does this:
decode(dept.deptno, '30', 'c00', '000') highlight The link column now passes the MGR ID and the HIGHLIGHT colour (red when the condition is satisfied and black when it is not).
I created another hidden and protected page item <tt>P0_HIGHLIGHT</tt> as the target for the highlight value, and used the Pre/Post Element Text properties of the <tt>P0_G_MGR</tt> to wrap it in a <tt>span</tt> whose colour is changed using the <tt>P0_HIGHLIGHT</tt> value as a subtitution string:
<span style="color: #&P0_HIGHLIGHT.;">Having done that, I still don't really get the requirement here. I'm sure that given the full picture I'd be using a completely different approach... -
Increase the column lengths of excel sheet through abap
I developed a abap program and it was displayed the output.
So i need to display this out put in excel sheet.
for that I read the out put and placed in the excel,
the only problem is the column lengths are small
after download i am dragging the each column,
But i need to increase the each column by the program
How can I ?
I am using the following code
lastline = new_line_c + 13.
DO .
READ LINE sy-index LINE VALUE INTO it_read-excel.
APPEND it_read.
IF sy-index > lastline.
EXIT.
ENDIF.
ENDDO.
lastline = new_line_c - 38.
colm = ( length - 37 ) / 18.
colm = colm + 4.
FOR THE EXCEL CONVERTION
INCLUDE ole2incl.
DATA: w_cell1 TYPE ole2_object,
w_cell2 TYPE ole2_object.
*--- Ole data Declarations
DATA: h_excel TYPE ole2_object, " Excel object
h_mapl TYPE ole2_object, " list of workbooks
h_map TYPE ole2_object, " workbook
h_zl TYPE ole2_object, " cell
h_f TYPE ole2_object, " font
gs_interior TYPE ole2_object, " Pattern
worksheet TYPE ole2_object,
h_cell TYPE ole2_object,
h_merge TYPE ole2_object,
h_cell1 TYPE ole2_object,
range TYPE ole2_object,
h_sheet2 TYPE ole2_object,
h_sheet3 TYPE ole2_object,
gs_font TYPE ole2_object,
flg_stop(1) TYPE c.
*DATA: t_excel_bckord LIKE t_excel OCCURS 0 WITH HEADER LINE,
*t_excel_bcklog LIKE t_excel OCCURS 0 WITH HEADER LINE,
*t_excel_blkord LIKE t_excel OCCURS 0 WITH HEADER LINE.
TYPES: data1(1500) TYPE c,
ty TYPE TABLE OF data1.
DATA: it TYPE ty WITH HEADER LINE,
it_2 TYPE ty WITH HEADER LINE,
it_3 TYPE ty WITH HEADER LINE,
rec TYPE sy-tfill,
deli(1) TYPE c,
l_amt(18) TYPE c.
DATA: BEGIN OF hex,
tab TYPE x,
END OF hex.
FIELD-SYMBOLS: <fs> .
CONSTANTS cns_09(2) TYPE n VALUE 09.
ASSIGN deli TO <fs> TYPE 'X'.
hex-tab = cns_09.
<fs> = hex-tab.
DATA gv_sheet_name(20) TYPE c .
M A C R O Declaration
DEFINE ole_check_error.
if &1 ne 0.
message e001(zz) with &1.
exit.
endif.
END-OF-DEFINITION.
DATA: xy TYPE i,
xz TYPE i,
yz TYPE i,
ab TYPE i,
pterm TYPE i.
IF h_excel-header = space OR h_excel-handle = -1.
start Excel
CREATE OBJECT h_excel 'EXCEL.APPLICATION'.
ENDIF.
PERFORM err_hdl.
*--- get list of workbooks, initially empty
CALL METHOD OF h_excel 'Workbooks' = h_mapl.
PERFORM err_hdl.
SET PROPERTY OF h_excel 'Visible' = 1.
add a new workbook
CALL METHOD OF h_mapl 'Add' = h_map.
PERFORM err_hdl.
*GV_SHEET_NAME = '1st SHEET'.
gv_sheet_name = 'Price Comparison List'.
GET PROPERTY OF h_excel 'ACTIVESHEET' = worksheet.
SET PROPERTY OF worksheet 'Name' = gv_sheet_name .
index1 = 3.
LOOP AT it_read.
heading
IF sy-tabix < 4.
it_item = it_read.
IF it_item CS '-----'.
CLEAR it_item.
APPEND it_item.
ELSE.
IF sy-tabix = 1.
it_item+0(1) = deli.
ENDIF.
APPEND it_item.
ENDIF.
ENDIF.
headear data and item
IF sy-tabix > 4 AND sy-tabix < descline1.
it_item = it_read.
IF it_item CS '----'.
ELSE.
REPLACE ALL OCCURRENCES OF sy-vline IN it_item WITH deli.
APPEND it_item.
ENDIF.
ENDIF.
xy = 2.
xz = 38.
discount etc
IF sy-tabix >= descline1 AND sy-tabix < descline.
it_item = it_read.
it_item+12(1) = deli.
it_item+22(1) = deli.
it_item+43(1) = deli.
WHILE xy < colm.
xz = xz + 18.
it_item+xz(1) = deli.
xy = xy + 1.
ENDWHILE.
APPEND it_item.
ENDIF.
payment terms
xy = 2.
xz = 37.
pterm = descline + 6.
IF sy-tabix > descline AND sy-tabix < pterm.
it_item = it_read.
IF it_item CS '-----'.
CLEAR it_item.
APPEND it_item.
ELSE.
it_item+12(1) = deli.
it_item+15(1) = deli.
it_item+36(1) = deli.
WHILE xy < colm.
xz = xz + 17.
it_item+xz(1) = deli.
xy = xy + 1.
ENDWHILE.
APPEND it_item.
ENDIF.
ENDIF.
prepared by
lastline = pterm + 3.
IF sy-tabix >= pterm AND sy-tabix <= lastline.
it_item = it_read.
IF it_item CS '-----'.
ELSE.
it_item+0(1) = deli.
it_item+54(1) = ' '.
it_item+16(1) = deli.
APPEND it_item.
ENDIF.
ENDIF.
remaarks
yz = lastline + 10.
IF sy-tabix > lastline AND sy-tabix <= yz.
it_item = it_read.
it_item+0(1) = deli.
it_item+54(1) = ' '.
APPEND it_item.
ENDIF.
approved by
ab = yz + 5.
IF sy-tabix > yz AND sy-tabix < ab.
it_item = it_read.
IF it_item CS '-----'.
ELSE.
it_item+0(1) = deli.
it_item+54(1) = ' '.
it_item+14(1) = deli.
APPEND it_item.
ENDIF.
ENDIF.
ENDLOOP.
*--Formatting the area of additional data 1 and doing the BOLD
CALL METHOD OF h_excel 'Cells' = w_cell1
EXPORTING
#1 = 1
#2 = 1.
CALL METHOD OF h_excel 'Cells' = w_cell2
EXPORTING
#1 = 1
#2 = colm.
CALL METHOD OF h_excel 'Range' = h_cell
EXPORTING
#1 = w_cell1
#2 = w_cell2.
*CALL METHOD OF gs_cells 'Select' .
GET PROPERTY OF h_cell 'Font' = gs_font .
SET PROPERTY OF gs_font 'Bold' = 1 .
*Bold for the second row
CALL METHOD OF h_excel 'Cells' = w_cell1
EXPORTING
#1 = 2
#2 = 1.
CALL METHOD OF h_excel 'Cells' = w_cell2
EXPORTING
#1 = 1
#2 = colm.
CALL METHOD OF h_excel 'Range' = h_cell
EXPORTING
#1 = w_cell1
#2 = w_cell2.
*CALL METHOD OF gs_cells 'Select' .
GET PROPERTY OF h_cell 'Font' = gs_font .
SET PROPERTY OF gs_font 'Bold' = 1 .
*Bold for the fourth row
CALL METHOD OF h_excel 'Cells' = w_cell1
EXPORTING
#1 = 4
#2 = 1.
CALL METHOD OF h_excel 'Cells' = w_cell2
EXPORTING
#1 = 1
#2 = colm.
CALL METHOD OF h_excel 'Range' = h_cell
EXPORTING
#1 = w_cell1
#2 = w_cell2.
*CALL METHOD OF gs_cells 'Select' .
GET PROPERTY OF h_cell 'Font' = gs_font .
SET PROPERTY OF gs_font 'Bold' = 1 .
*Bold for the fifth row
CALL METHOD OF h_excel 'Cells' = w_cell1
EXPORTING
#1 = 5
#2 = 1.
CALL METHOD OF h_excel 'Cells' = w_cell2
EXPORTING
#1 = 1
#2 = colm.
CALL METHOD OF h_excel 'Range' = h_cell
EXPORTING
#1 = w_cell1
#2 = w_cell2.
*CALL METHOD OF gs_cells 'Select' .
GET PROPERTY OF h_cell 'Font' = gs_font .
SET PROPERTY OF gs_font 'Bold' = 1 .
*Bold for the sixth row
CALL METHOD OF h_excel 'Cells' = w_cell1
EXPORTING
#1 = 6
#2 = 1.
CALL METHOD OF h_excel 'Cells' = w_cell2
EXPORTING
#1 = 1
#2 = colm.
CALL METHOD OF h_excel 'Range' = h_cell
EXPORTING
#1 = w_cell1
#2 = w_cell2.
*CALL METHOD OF gs_cells 'Select' .
GET PROPERTY OF h_cell 'Font' = gs_font .
SET PROPERTY OF gs_font 'Bold' = 1 .
DATA l_rc TYPE i.
CALL METHOD cl_gui_frontend_services=>clipboard_export
IMPORTING
data = it_item[]
CHANGING
rc = l_rc
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
not_supported_by_gui = 3
OTHERS = 4.
CALL METHOD OF h_excel 'Cells' = w_cell1
EXPORTING
#1 = 1
#2 = 1.
CALL METHOD OF h_excel 'Cells' = w_cell2
EXPORTING
#1 = 1
#2 = 1.
PERFORM err_hdl.
CALL METHOD OF h_excel 'Range' = range
EXPORTING
#1 = w_cell1
#2 = w_cell2.
CALL METHOD OF range 'Select'.
PERFORM err_hdl.
CALL METHOD OF worksheet 'Paste'.
PERFORM err_hdl.
CALL METHOD OF h_excel 'QUIT'.
FREE OBJECT h_zl.
FREE OBJECT h_mapl.
FREE OBJECT h_map.
FREE OBJECT h_excel.Hello Ravi,
Thank you very much for your suggestions.. but still have some more doubts:
What i want to do is :
-->call report in background job with a selection criteria.
-->the output of the report should be trasnsfered to excel sheet
-->then the excel sheet should be sent to XI..
My doubts are:
-> is it possible with every report or we need some extra code to achieve this
-> If yes, then how exactly it should be done. can you please explain in more detail.
Thank you very much for your help.
Best Regards,
Jasmeet -
Column link - call java script & assign current report column value to item
Hi,
How to call java script and assing current report column value to item?
I have a button column in the report to 'delete' the selected row.
I want to first show dialog box with message 'Are you sure?'. If yes, process to delete
will be executed, else no action.
In order to fire JS, I used Column Link ->Target=URL.
Problem: The alert is showing but I don't know how to pass selected row's primary
key value to process (to delete selected row).
I have a item which can be used to store selected primary key value but don't know how to assign the value
when button pressed.
Thanks in advance
DipOk. The issue has been resolved by following way.
PAGE PROCESS: delete_request
begin
delete xyz
where id = :P8_id;
commit;
end;BUTTON URL:
javascript: DelRec(null,'CREATE', 'f?p=&APP_ID.:8:&SESSION.:delete_request:NO::P8_id:#id#');Java Script:
<script language="JavaScript1.1" type="text/javascript">
function DelRec(msg, req, url){
var confDel = msg;
if(confDel ==null){
confDel= confirm("Are you sure?");
}else{
confDel= confirm(msg);}
if (confDel== true){
redirect(url); }
</script> -
Hi All,
I have two reports.
1. order report
2. order detail report
when you click on the order report column it display the order detail report as a modal form.
i was done below steps.
1. In page header i was written the below code
<link rel="stylesheet" href = "http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/
redmond/jquery-ui.css" type="text/css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"> </script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"> </script>
<script type="text/javascript">
$( function() {
$('#ModalForm1').dialog(
autoOpen : false ,
width :470,
height: 500,
resize :false,
function openForm1()
$('#ModalForm1').dialog('open');
function closeForm()
$('#ModalForm1 input[type="text"]').val('');
$('#ModalForm1').dialog('close');
</script>
2. order report.
3. order detail report
select * from order_details where order_id = p_order_id;
region header
<div id="ModalForm1" title="Ordered Items" style="display:none">
<p class="msg"></p>
footer
</div>
4. created the hidden item in order detail report.
5. in order report column attributes i was given link like below.
javascript:$s('p_order_id','#order_id#');openForm1();
when i click on the order report column link it passing the row primary key value to hiddent and open the report as modal form. however it is not filter the report with hidden item. it showing the no data found.
problem is hidden item value is not submitting. once we submit that value it showing the 2nd report with filter data.
can any help me to achieve above requirement.
apex: 4.2
oracle 11g
Regards,
Vijay.Vijay,
Issue 1: Your usage of $s() JavaScript API seems to be wrong. For the first parameter, you need to use the name of the hidden page item and not p_order_id.
javascript:$s('P1_ORDER_ID','#ORDER_ID#');openForm1();
Issue 2: Seems like you are not setting the hidden page item's value in session state. Assuming your hidden page item is called P1_ORDER_ID, Under "Region Definition" tab of your "Order Detail Report" under "Source" tab, for page items to submit, enter the name of the hidden page item P1_ORDER_ID.
Thanks!
JMcG -
Script to find report columns with XXS vulnerabilities
Hi,
Report columns with display as "Standard Report Column" are vulnerable to Cross Site Scripting attacks. I have written a simple script to find these report columns and described an easy way to change them all at once. Check: http://wiki.shellprompt.net/bin/view/Apex/XssExamples
Regards PeteHi Pete,
good that you bring up that security issue!
I was talking to Joel during ODTUG about the "Standard Report Column" default the wizard uses and he said that this might be changed in the next version to use the more secure "Display as Text (escape special characters, does not save state)"
Patrick
My APEX Blog: http://inside-apex.blogspot.com
The ApexLib Framework: http://apexlib.sourceforge.net
The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/ -
Substitution string used in custom Report column name does not display in PDF version of report
I am using Apex 4.2.6.00.03, Apex Listener 2 via Glassfish4 and have set up all my applications and reports on this system. We previously used Oracle 10.2, with Apache with a custom fopping document.
My issue is that I have a report that has custom column headings using a substitution string to pull in the begin or end date for the report. When the report is run and displayed, the column headings appropriately display the date. However, when I try to set up the Print to PDF option, the column headings are not displaying correctly.
Is it possible to use a substitution string in the column heading? I am able to use the substitution string in the Page Header and Page Footer and those display correctly.
In the Report Attributes setup I have set the "Strip HTML" to Yes and I have four columns that are using the &"ITEM NAME". string. See below for actual display:
The report column headings in APEX displays correctly (bold is the substitution detail):
Fund Account Description Balance 07/01/2014 Budget/Goal FY 14-15 YTD Actual 02/28/2015 Ending Balance 02/28/2015
In the Print Attributes setup, when I get to the Report Columns section, the Heading column displays the headings as set up in the Report Attributes custom and I am not able to edit these names. See below:
In the version of the report that is Printed to PDF I get the following for display:
Fund Account Description Balance %26amp;P347_BEGIN_DATE. Budget/Goal %26amp;P347_FY. YTD Actual %26amp;P347_END_DATE. Ending Balance %26amp;P347_END_DATE.
Any assistance would be greatly appreciated.
Thanks,
PatFirst, the misspelled word is a test object and not data.
Second, all data display correctly.
Third, text object is displaying the old misspelled word.
Fourth, I have eliminated the possibility that problems in of my pdf export routine cause this issue by exporting directly from Crystal Reports Viewer. I print the report to the crystal report viewer. The report looks good. The text object is spelled correctly. Then I click the Crystal Reports viewer's export button in the left upper corner and I export to both EXCEL and PDF. The excel export looks good. The pdf export is misspelled. All the export occurs internally in Crystal reports.
Fifth, I found outthat all users who have this problem have the ADOBE PDF writer installed. I am just suspicious that ADOBE writer is interferring with Crystal export
Sixth, I cannot recreate this problem on any of our development and test machines. It only happens on end-user laptops.
Seventh, I changed the name of the report that had this problem and created a new version and installed on end-user laptop. The behaviour still persists. User saved the report as both RPT and PDF. RPT export looks good. PDF version has the spelling problem. Data on both reports is up-to-date and good. I copied the same RPT export to my PC and exported it to PDF, the pdf looks good. That is why I think something on the end-users laptops is causing the export to use some cached template.
One more thing I did was to change the report name in VB.NET project, recreated a new package and installed on end-user's laptop. The same exact problem is still there.
I have worked with Crystal Reports more than 15 years and I have never such a weird behaviour before. I know this sounds very weird. We are all baffled by what is happening. -
Bad performance when deleting report column in webi(with "Design – Structure only")
Hi all,
One of our customer has recently upgraded from BO XI to BO4.1. In the new BO 4.1, they encountered a bad performance issue when they were deleting a column in Webi(using "Design – Structure only" mode).
With “Design – Structure only" mode, it took webi about 10 seconds to complete after the customer right-clicked a report column and clicked the "delete". The customer said that they only need to wait for less than 1 second when they did the same in BO XI old version.
The new BO version used is 4.1SP02, installed in Windows Server 2008 R2. (Server with 32 core CPU, 32G memory)
This bad performance happened in both Webi web and Rich Client. (in Webi Rich Client, the performance is a little bit better. The 'delete column' action takes about 8 seconds to complete).
Do anyone know how to tune this performance in webi? Thank you.
Besides, it seems that each time we are making change in the webi report structure in IE or Rich Client, webi need to interact with Server site to upload the changes. Is there any option to change this behavior? Say, do not upload change to Server for when 'deleting report column', only trigger the upload after a set of actions(e.g. trigger when click the "Save" button).
Thank you.
Regards,
Eton.Hi all,
Could anyone help me on this? Thanks!
What customer concerns now is that when they did the same 'column editing' action in BO XI R2 for the same report, they did not need to wait. And they need to wait for at least 7-8 second in the BO 4.1SP02 environment for this action to complete.(data already purged, in structure-only mode)
One more information about the webi report being editing is: there are many sheets in the report(about 6~10 sheets in one report). Customer don't want to separate these sheet into different reports as it will increase the effort of their end users to locate similar report sheets.
Regards,
Eton. -
Urgent - Report Column based on LOV - Value not found in LOV
Hi All,
Recently, we have upgraded to HTMLDB 2.0 from HTMLDB 1.5.
I have a SQL report. One of the columns is based upon LOV - Display as Text (Based on LOV, does not save state).
For the "Ids" of the report, it should display the corresponding "Names" from the LOV.
But, for the cases, where no record exist in LOV for some Id, then it is directly showing the Id instead of "-" (which i have specified in Display Null Text) in the report column attributes.
Before upgrade, it was working fine.
Any idea where is the issue.
Please help.
Thanks in advance,
MonikaHi,
Can anybody help me in sorting out this issue please.
For your reference, i have made a test case on
http://apex.oracle.com/pls/otn/f?p=20451:4:3519837362944582:::::
Here, there are 2 tables
1. MY_EMP_COUNTRY(emoid, empname, cntry_id)
2. MY_COUNTRY_LOOKUP(id, name,active)
LOV is created on table 2
select name d, id r
from my_country_lookup
where active = 'Y'
And, on the page a SQL report is created
select empname, cntry_id
from my_emp_country
where, cntry_id is based upon the LOV.
Since, in lookup table, cntry_id = 4 is set inactive, it is not picked up by the LOV and hence on the report instead of showing the NULL text it is showing the cntry_id (4).
The attributes of report column cntry id -
Named LOV = CNTRY_LOV
Display Null = YES
NULL text = -
Display Extra Value = YES
Am I missing anything.
thanks,
Monika
Maybe you are looking for
-
Hi community! I am using a book to help me learn flash and AS3 but the new book I have is awesome but uses Flash CS3 and codes in AS2. Can someone assist me with this short bit of code to change it to AS3 format? First frame has this code below: stop
-
Stroring certain details in a file, But Could not delete the File.
I am storing certain details using serialization. But when i decide to delete the File i am unable to delete the File. I am attaching a sample Code to understand my problem. import java.io.File; import java.io.FileInputStream; import java.io.FileOutp
-
All my non-recurring appointments have been deleted from my iphone. They are stored in outlook 2010 under the archiveicloud calander. How do I restore these appointments to my phone? Thanks
-
Oracle11g RAC with partitioning and cross instance parallel query problem
I have set up a 300gb TPC-H database using a 4 node RAC environment (8 cpu per node, 16 GB memory, 2 GHz processors) the system is served by 2.5 terabytes of SSD for its IO subsystem managed by a combination of ASM and OCFS2. When I run a large paral
-
I backed up my iphone onto my pc, now where can I find my contacts?
The display is not working so I was told to back up my phone onto my pc to save my contacts. I did this, now where do I find my contacts?