Report parameters for pdf instance
Hi,
is there a way to read the parameters from a pdf report instance? I already successfully retrieved the report parameters from a CrystalReport using the IReport.getReportParamters. Is there a similar way to do this for pdf instances or Excel instances?
Thanks in advance.
Hello Sebastian,
The InfoObject representing the scheduled instance to PDF should implement the IReportProcessingInfo interface, that defines the method to retrieve the params. You should cast to IReportProcessingInfo.
It's undocumented, but works.
Sincerely,
Ted Ueda
Similar Messages
-
Weblogic 10.3.4 as report printer for PDF printing using apex_fop.jsp
Hello,
Is it possible to use the apex_fop.jsp in combination with Oracle Weblogic 10.3.4 for PDF printing?
We have managed to get our Apex application to print PDF documents using Apache FOP with Oracle Weblogic 10.3.3 or Apache Tomcat 6 as a report printer.
But when we are trying the Oracle Weblogic 10.3.4 server as report printer, we will get the Error 500--Internal Server Error error in the pdf.
One of application server log shows the error "Expected Node-set in Path Expression".
Regards,
Mathieu Meeuwissen
Edited by: Meeuwtje on 17-jan-2012 17:00Steve,
I am using JSF2.0 and getting javax.el.ExpressionFactory NoClassDefFound issues.
OEPE Helios
Weblogic 10.3.3
I have an EAR containing one WAR.
WEB-INF/lib
el-api-2.2jar
el-imp-2.2.jar
jsf-api.jar (2.1.1)
jsf.impl.jar (2.1.1)
jstl.jar (1.1.0-D13)
web.xml has
<context-param>
<param-name>com.sun.faces.expressionFactory</param-name>
<param-value>com.sun.el.ExpressionFactoryImpl</param-value>
</context-param>
EAR has
weblogic-application.xml with
<wls:prefer-application-packages>
<wls:package-name>org.eclipse.persistence.*</wls:package-name>
<wls:package-name>javax.faces.*</wls:package-name>
<wls:package-name>com.sun.faces.*</wls:package-name>
<wls:package-name>com.sun.el.*</wls:package-name>
<wls:package-name>javax.el.*</wls:package-name>
</wls:prefer-application-packages>
I see by your post that JSF2.0 support can be solved by either deploying a shared-library or using the weblogic.Deployer utility. Unfortunately, we don't have access to change the Weblogic instance in any way. I was hoping that using the prefer-application-packages would be sufficient to use alternative classes to Weblogic's but I have not been able to get it to work for the javax.el classes. I have tried not including javax.el and the app deploys but then accessing a page produces a javax.el.ELResolver no method found for invoke. Invoke being a newer method defined in el-api-2.2.jar. If I was able to convince them to add some shared libs, what are all the jars that would be required to make this work?
Any suggestions would be greatly appreciated.
Thanks
John -
I have following code to generate the report for pdf format.
I would like to let users to choose report type 'pdf' or 'excel'
I need pass the user select from user interface to <cfreport format= "PDF" or "Excel".
Can you please advise how I can pass the user select Report Type from lsReportType to my cfReport?
Your help and information is great appreciated,
Regards,
Iccsi
<cfstoredproc procedure="spGetReportType">
<cfprocresult name="rsReportType" resultset="1">
</cfstoredproc>
<cfreport format = "PDF" template= "MyReport.cfr" query="#myQuery#">
</cfreport>
<td><select width="50" name="lstReportType" id="lstReportType">
<cfoutput query="rsReportType">
<option value="#rsReportType.ReportTypeID#" <cfif (isDefined("form.ReportTypeID") AND form.ReportTypeID EQ rsReportType.ReportTypeID)>selected="selected"</cfif>>#rsReportType.ReportType#</option>
</cfoutput>
</select></td>Change format="PDF" to format="#VariableName#" where VariableName contains the text "PDF" or "Excel".
-
I am working on Acrobat XI Pro and Word 2013, previously when using Pro 9 and Word 2007 I could create a url link and add the open parameter #page=3 and then the link would open the pdf document on the specified page. See example
http://wyp-infoshare/sites/forcepolicy/Crime%20Division/Safeguarding%20vulnerable%20adults .pdf#page=3
It still opens the pdf but always at page 1, have the parameters changed for XI or am I doing something wrong.
Thanking you in anticipation
SusanGood morning
Thank you for your reply, I’m trying to find out from our IT if we are using Adobe plugin or not. In the meantime I created a new document, created a link and tried to open in the browser and received an error message webpage cannot be found.
When copying the url the last four characters have been changed see below
http://wyp-infoshare/sites/forcepolicy/Corporate%20Support/Equality,%20Diversity%20and%20H uman%20Rights%20strategy.pdf%20-%20page=5
Would this be because we’re not using adobe plugin?
Susan
Ext 22011 -
Call to predefined Report Query for PDF download does nothing
I am trying to download a PDF report which is based upon 2 queries. Each query has a where clause with values taken from page items. I have installed OBI Publisher 11.1.1.5 and used the OBI Publisher 11.1.1.5 Word plug-in to create the RTF file that I then uploaded to the Shared Components->Report Layout.
I created a new region button to call the Report Query. However, whenever I click on the button to download the PDF, nothing happens. I have looked at the debug and the button appears to be executing OK, except that nothing happens.
The APEX to OBIP configuration is working since I am able to have OBIP generate other report PDFs that aren't using the predefined query. Stated a bit differently, reports regions that have the Print Attributes set to "Enable Report Printing=Yes" and "Report Layout=Default Report Layout" work fine. Reports based upon the predefined query and launched using a region button do not do anything.
Environment: APEX 4.1, DB 11.2.0.2, OBIP 11.1.1.5
Any help with this PDF issue is greatly appreciated.
Thanks,
ReidThank you again for your reply, Udo.
Here are my responses:
* As a matter of fact, I am doing a copy / paste from the predefined query to the report region source.
** What exactly do you mean by that? Don't you print the actual region?
I need to produce a PDF that is the compilation of 4-5 queries. Therefore, I cannot print a region to PDF since APEX (as far as I know) does not allow for the printing of multiple regions (1 query per region) to a single PDF file. So, I am creating a PDF that is based upon multiple queries which I predefine in the shared components -> report queries. Then, I'm creating a region button that calls a downloadable report when it is clicked.
Your question has made me realize that indeed it doesn't matter what query I have in the report region since I am calling a predefined report. When nothing was happening when I attempted to generate the PDF, I guess I started to think that the problem was with the queries on the page and so I made them match exactly with what the queries are in the shared components->report queries.
Please advise if something is wrong with my understanding here.
I checked the OBI Publisher logs (at least what I could locate) and I didn't see anything show up there.
/u02/app/ohs/obip_mw/user_projects/domains/bifoundation_domain/servers/AdminServer/logs
I checked the OHS access_log and I didn't see anything that looks like an error. I also don't see anything in the APEX page debug. It appears to process normally when the button is clicked.
From the access_log:
192.168.1.137 - APEX_PUBLIC_USER [27/Dec/2011:22:17:30 -0500] "GET /pls/apex/f?p=4000:RUN_PAGE:55206340610065:BRANCH_TO_PAGE_ACCEPT:NO::FB_FLOW_ID,FB_FLOW_PAGE_ID,F4000_P1_FLOW:103,235,103 HTTP/1.1" 302 -
192.168.1.137 - APEX_PUBLIC_USER [27/Dec/2011:22:17:30 -0500] "GET /pls/apex/f?p=103:235:55206340610065::::: HTTP/1.1" 200 21588
192.168.1.137 - APEX_PUBLIC_USER [27/Dec/2011:22:17:32 -0500] "POST /pls/apex/wwv_flow.accept HTTP/1.1" 302 -
192.168.1.137 - APEX_PUBLIC_USER [27/Dec/2011:22:17:32 -0500] "GET /pls/apex/f?p=103:235:4495899155137965::::: HTTP/1.1" 200 21588
Here is a look at the page debug:
0.00246 0.00107 A C C E P T: Request="TRANSCRIPT_PDF" 4
0.00350 0.00501 Metadata: Fetch application definition and shortcuts 4
0.00851 0.00080 alter session set nls_language="AMERICAN" 4
0.00931 0.00060 alter session set nls_territory="AMERICA" 4
0.00991 0.00078 NLS: CSV charset=WE8MSWIN1252 4
0.01069 0.00067 ...NLS: Set Decimal separator="." 4
0.01136 0.00083 ...NLS: Set NLS Group separator="," 4
0.01219 0.00082 ...NLS: Set g_nls_date_format="DD-MON-RR" 4
0.01301 0.00079 ...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM" 4
0.01380 0.00077 ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR" 4
0.01457 0.00064 ...Setting session time_zone to -05:00 4
0.01522 0.00077 Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY HH:MIPM 4
0.01599 0.00094 Setting NLS_TIMESTAMP_FORMAT to application timestamp format: DD-MON-YYYY HH:MIPM 4
0.01693 0.00077 ...NLS: Set g_nls_date_format="DD-MON-YYYY HH:MIPM" 4
0.01770 0.00078 ...NLS: Set g_nls_timestamp_format="DD-MON-YYYY HH:MIPM" 4
0.01848 0.00068 ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR" 4
0.01916 0.00046 NLS: Language=en-us 4
0.01962 0.00219 ...metadata, fetch translated application info 4
0.02181 0.00088 ...fetch session state from database 4
0.02269 0.00096 fetch items 4
0.02365 0.00090 ...fetched 32 session state items 4
0.02455 0.00170 Authentication check: CUSTOM TABLE AUTH (NATIVE_CUSTOM) 4
0.02625 0.00074 ... sentry+verification success 4
0.02698 0.00057 ...Session ID 4495899155137965 can be used 4
0.02755 0.00056 ...Check session 4495899155137965 owner 4
0.02811 0.00064 Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY HH:MIPM 4
0.02875 0.00080 Setting NLS_TIMESTAMP_FORMAT to application timestamp format: DD-MON-YYYY HH:MIPM 4
0.02955 0.00062 ...NLS: Set g_nls_date_format="DD-MON-YYYY HH:MIPM" 4
0.03017 0.00069 ...NLS: Set g_nls_timestamp_format="DD-MON-YYYY HH:MIPM" 4
0.03086 0.00053 ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR" 4
0.03139 0.00130 ...Check for session expiration: 4
0.03269 0.00055 ...Metadata: Fetch Page, Computation, Process, and Branch 4
0.03323 0.00102 Session: Fetch session header information 4
0.03425 0.00047 ...Setting session time_zone to -5:00 4
0.03472 0.00187 ...metadata, fetch page info 4
0.03660 0.00092 ...Validate item page affinity. 4
0.03751 0.00050 ...Validate hidden_protected items. 4
0.03801 0.00061 ...Check authorization security schemes 4
0.03862 0.00095 Session State: Save form items and p_arg_values 4
0.03957 0.00081 ...Session State: Save "P235_TRANSCRIPT_ID" - saving same value: "7" 4
0.04038 0.00065 Processes - point: ON_SUBMIT_BEFORE_COMPUTATION 4
0.04102 0.00082 Branch point: Before Computation 4
0.04185 0.00054 Computation point: After Submit 4
0.04239 0.00079 Tabs: Perform Branching for Tab Requests 4
0.04317 0.00065 Branch point: Before Validation 4
0.04382 0.00111 Validations: 4
0.04493 0.00165 Perform basic and predefined validations: 4
0.04658 0.00070 Perform custom validations: 4
0.04728 0.00054 Branch point: Before Processing 4
0.04782 0.00057 Processes - point: AFTER_SUBMIT 4
0.04839 0.00054 Branch point: After Processing 4
0.04893 0.00096 ...Evaluating Branch: AFTER_PROCESSING type: "REDIRECT_URL" button: (No Button Pressed) branch: (Unconditional) 4
0.04989 0.00071 Stop APEX Engine detected 4
0.05059 0.00055 Stop APEX Engine detected 4
0.05114 0.00122 Final commit 4
0.05236 - End Page Processing -
How To use Arial (Cyrillic) font in Reports 10g for PDF output
Hi,
My reports are in Arial (Cyrillic) font, but there are only hieroglyphes in pdf output. Is there a problem with fonts on Report Server or something else?
My Report Server is 10g R2 (10.1.2.2) and OS is RHEL 4.
I followed metalink notes 750805.1 and 356221.1 but it didn't help me.You also have to be careful with fonts. The font you download may be the same name, but a different font. Just because you find a Zurich BT font, does not mean it is the same. If you search on the internet, there are several sources of some Zurich BT fonts free. However, they may or may not be the same font. Editing is best done on the original document and not the PDF. One of the PDFs I found on the Landis site was only in Zurich font. I would think that the original file is available from the company and that should be the document you edit, not the PDF. It appears the original was created in InDesign (CS3).
-
Font problem in reports produced in PDF format
Dear all,
All our reports are developed by developer suite 10g (under windows) and deployed on an Application Server 10g (on Linux).
We had a problem with displaying the arabic letters, but this was solved by following the steps in the metalink Note no 726205.1 for generating arabic pdf reports on unix.
Now, the problem is that the font used in the reports is ARIAL, but when the reports are displayed (in PDF format) the font is TAHOMA. This font conversion happens in both Arabic and English reports !
I wonder how can I correct this behaviour.
Thanks in advance for your time.
NaglaaSteve,
I remember that fonts in PDF generated by Oracle Reports is a big topic and a subject of many Metalink notes (metalink.oracle.com).
Note.210318.1 Ext/Pub How To use font embedding in Reports 9i for PDF output
Note.207711.1 Ext/Pub How to Use Font Subsetting in Reports 9i for PDF Output
Note 232975.1 "Windows/Unix Font Issues: What Information is Required to address the Issue and How to Work Around Issue"
Especially on Unix and Linux systems, there are some font mapping required. I suggest to run this question on the Reports forum here on OTN where I think you have better chances for an answer.
Frank -
Report 11gR1: multiple standalone Reports Server for one domain
Hi all,
In Oracle Froms, Report (11.1.1.6.0) environment is necessary to create more than one standalon Reports Server (iAS instances).
1- How can we create multiple Reports Server (insatances) in same domain?
2- How can use pro Reportsserver multiple engines (e.g. more than 3 engines)?
Regards,
MohHi Moh,
Out of the box in 11g you get 1 standalone reports server (you can see this one via opmnctl status) and 1 in-process reports server than runs inside WLS_REPORTS managed server.
You can create more standalone reports servers for your instance. Please follow the following support note
Reference
How Do You Create And Start Up A Standalone Reports Server In 11g R1 & R2? (Doc ID 961174.1)
Regarding how to increase reports engines for each of your reports server you need to go to the Enterprise Manager console and select each of the reports servers you have and go to Reports --> Administration --> Basic menu and
change " Maximum Engines" property for the value you need. You will need to re-start your Reports server after this.
Hope this helps, Roberto -
V$parameter view - How do I get these values for both instances on the db?
I have a procedure that dumps the contents of all the parameters from the system view v$parameter for auditing purposes, so that we know if a parameter changed from month to month, but we have 2 instances running. How do I make sure and log the parameters for both the instances? So far the procedure will log the parameters for the instance it happened to run on (it is random).
However, when I use TOAD, I can access parameters for both instances by going to Database/Administer/Oracle Parameters.
Thanks!Instead of V$PARAMETER use GV$PARAMETER so you can obtain the the instance id
SQL> describe gv$parameter
Name Null? Type
INST_ID NUMBER
NUM NUMBER
NAME VARCHAR2(80)
TYPE NUMBER
VALUE VARCHAR2(4000)
DISPLAY_VALUE VARCHAR2(4000)
ISDEFAULT VARCHAR2(9)
ISSES_MODIFIABLE VARCHAR2(5)
ISSYS_MODIFIABLE VARCHAR2(9)
ISINSTANCE_MODIFIABLE VARCHAR2(5)
ISMODIFIED VARCHAR2(10)
ISADJUSTED VARCHAR2(5)
ISDEPRECATED VARCHAR2(5)
ISBASIC VARCHAR2(5)
DESCRIPTION VARCHAR2(255)
UPDATE_COMMENT VARCHAR2(255)
HASH NUMBER
SQL> -
Permissions - Viewing PDF Instances of a Crystal Report
I have the following registered and installed products.
Crystal Server V1
Crystal Reports V1
I have a number of crystal reports setup to schedule to create a pdf output instance.
I am trying to allow specific Active Directory Groups access to view the PDF instances of the Crystal report. The users are only allowed access to view the PDF instance not the Crystal report. The users will view the pdf instance within InfoView.
Can someone please let me know the correct path, as I have been through the permissions and have set everything to allow and the report nor the pdf's show.
Thanks for your assistance.
RegardsDoes not look like you are using this in a .NET app at all(?). That being the case, you're in the wrong forum. And if this a high priority, having BOE you should have phone support. I suggest you contact support via phone. Else, you can create a case here;
http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
Ludek -
Hiding default report parameters in XLS template& password for analyzer
Hi,
I created a xls report in that report i don't have any parameters.But when i open that xls template i am getting the default Report Parameters at the top of the report
with a column1(under this we have a drop down with options All,Top10,Custom...) like this
When i open the Excel Analyzer from xls(Alt+F11) when i double click on the excelAnalyzer its asking password what is the default password??
If any one knows please share it!!
Thanks,
Saichand.V
Edited by: saichand on Jun 26, 2009 4:34 PMSee the following document on creating a workbook template with an image: [http://www.researchsummary.ca/bw/Sample_Ch10.pdf]
In BW, there is a table that stores the default workbook. The following snippet of code allows you to identify a custom workbook template as the default template for all end users.
*& Report Z_SET_BEX_USER_TEMPLATE *
*& Program to update all user's default template *
REPORT Z_SET_BEX_USER_TEMPLATE.
TABLES: rsrwbtemplate,
usr01.
PARAMETER: wbid LIKE rsrwbindex-workbookid.
SELECT
FROM
usr01.
MOVE: usr01-bname TO rsrwbtemplate-templateuser,
wbid TO rsrwbtemplate-workbookid = wbid.
UPDATE
rsrwbtemplate.
IF sy-subrc 0.
INSERT
rsrwbtemplate.
ENDIF.
ENDSELECT. -
Report Scheduling Excel/PDF format Parameters field empty
Hi all,
i have a question on report scheduling.
I'm scheduled a report with prompt and will send out the report as Excel format through SMTP emailing.
When i look on the History of the report, it shows the instance, but for the field Parameters it appear empty. I tried to reschedule the report with Webi format and check on the Parameters field in the History, and the Parameters field for Webi format is showing the prompt value i set.
The link below show the picture :
[http://i642.photobucket.com/albums/uu144/stevesiow/BO.jpg|http://i642.photobucket.com/albums/uu144/stevesiow/BO.jpg]
i am curious the different of paramenters field showing for different format of file emailing out.
Thanks for advise.
Regards,
SteveSteve,
Seeing this in .Net 3.1 InfoView. I fired up JAVA InfoView and the parameters all show up. Another bug in 3.1. -
Parameters for opening PDF files in a browser
I read some of the posts about making a text link from an html page to a specific location in a pdf document in the browser. I set up the parameters, as I understand it, according to the document "Parameters for Opening PDF Files." The result from my test took me to the top of page 1, not to the bookmark on page 3 that I specified. See the link below. What is wrong with the parameters?
http://www.tabardtheatre.org/YPASCfolder/2012/SummerYouthProgram2012.pdff#page=3&bookmark= anniejr
You can also go to the website: http://www.tabardtheatre.org/audition.html and click on the text link (in blue).The PDF Open Parameters do not contain the option to link directly to a bookmark, as was mentioned, but I've developed a script that can add this functionality to your files. Have a look here, if you're interested: http://try67.blogspot.com/2011/06/acrobat-link-to-specific-bookmark-in.html
-
Time out parameters for ABAP and JAVA instance
Hello All,
We are looking for Time out parameters for our ABAP and JAVA instances.
As users are complaining that they are getting time out error
while they are trying to access Cprojects from Portal.
I was able to check/collect the ABAP instance parameters from SMICM Tcode.
Can anybody tell me which parameters we need to look for JAVA instance.
Thanks in advance.
Regards,
Amber Sjstart/shutdownTimeout
(jstartup/shutdown_timeout)
Specifies the shutdown timeout, i.e. the grace period for the AS Java instance to shut down before the Java process terminates itself. Unt is in Seconds. Default is 120
j2ee/ms/connectTimeout
(jstartup/wait_for_scs)
Specifies the timeout for the first connection to the message server. The AS Java instance fails to start if this timeout expires.Unt is in Seconds.Default is 60
j2ee/ms/reconnectTimeout
(jstartup/wait_for_reconnect)
Specifies the timeout for the reconnecting to the message server.The AS Java instance shuts down when this timeout expires.Unt is inSeconds.Default is 3600 (one hour)
Thanks -
Dynamic command execution fails in Crystal report viewer for parameters
We are using the Crystal Report Viewer for the .Net Application on the client side.The reports are designed using Crystal Report XI R2.
The issues that we are currently encountering is that, we are unable to load the combo-boxes in the pop-up for the parameters.
All the reports have multiple commands and the variables are of 'dynamic' type.
When the dialog box for requesting the pop-up comes up, It comes up empty even though they are linked to the respective commands.
Also,For reports having multiple parameters we are unable to give a single dialog box to get in all the parameters.It appears as a series of prompts.
Both,these issues are not encountered when the reports are launched via the Crystal reports developer tool.Hello Varun,
I recommend to post this questionin the [dedicated NET forum|SAP Crystal Reports, version for Visual Studio;.
This forum is monitored by qualified technicians and you will get a faster response there.
Thank you for your understanding,
Falk
Maybe you are looking for
-
FSG - Overriding the Account Row Assigment for a column
In an FSG we would like to have a column which returns a stat value from a code combination in order have a calculation in the report. For example - see table below - the "opening hours" are posted into a code combination which we'd like to use in ea
-
Which expression for a condition is better?
Given a variable, say, int var; Assaign var = ?; (assign var to some value); In a condition comparing this variable with some constant, which one of the following is better? and Why? if (var == 3) OR if (3==var) Thank you and Happy Thanksgiving!
-
Hi In our R/3 landscape, the status of some of the tablespaces is "autoextend On" and some are "autoextend off" mode. We would like to turn the autoextnd mode OFF from ON. What is the best way to turn the autoextend mode OFF. As per my understanding,
-
Save Button on the TimeSheet Review Screen
Hello, I am trying to move the Previous Step and the Save buttons on the Top of the screen above the Review Table ..I had gone to the VcCatRecordReview Component -> VcCatRecordReview View Controller and moved the Transparent Container which has those
-
I am looking for a certain add-on that I lost when I bought a new computer. It works like this: Place cursor over a word then press and hold the Cntl & Alt keys and click right on mouse. Shows definition of the word among other things.