Pass an hidden parameter to the BI Publisher
Hi guru,
I need to pass a value (parameter) to a BI Publisher report without to show the value to the user. I tried to create an hidden parameter, and tried to pass the value but don't work. I tried to call the report in GET and POST without success.
If the parameter is visible, it works.
Any idea to do it with another method?
Thanks in advance
Alessandro Sabelli
Hi,
Thanks a lot for your answers.
The link http://www.it-eye.nl/weblog/2006/06/12/passing-a-url-parameter-to-model-using-adf/ is no more reachable.
The following EL expression work for displaying the parameter inside an outputText component :
#{facesContext.externalContext.requestParameterMap[yourParameter′]}
The parameter is not sent to the business service when the button is clicked.
Thanks,
Seb.
Similar Messages
-
OIM Reporting: How to pass a dynamic parameter in the xml file
Hi,
I am generating a custom report in OIM. My stored procedure is ready and I am getting the required data when I query the database. However,while displaying it through the xml file, I need to filter the fetched data by group name. The glitch present here is that the group name is dependent on the resource selected and so the group parameter is dynamic. How can I pass this dynamic group parameter in the xml file to filter the data. Which attributes are to be used. Can anyone please help me out regarding this?
Thanks in Advance,
SKThe OOTB OIM reporting mechanism does not support dependant LOVs, which is
what you are asking for. -
Passing multi value parameter to the Drill through report
Hi
I have two reports say Report A and Report B.
Both reports using same parameters.
I am Navigating from Report A to Report B using Jump to Report option.
Now when I pass multiple parameter to the Report B it only displays first parameter results.
In report B I have parameter multi value select to true.
I would like to know if its possible or not to pass multi value parameter in drill through report?
I would appreciate if someone can help me here.
Regards
AmitYes you can pass multi value parameters to a drill through report.
It works similar to multi value parameters for subreports, which is discussed in detail in this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=163803&SiteID=1
-- Robert -
Pass a form parameter to the report stored procedure
<CFSET myVar= "1">
<cfquery name = "mydata" datasource = "myDSN">
execute MySP
<cfqueryparam value = "#myVar#" CFSQLTYPE = "cf_sql_integer">
</cfquery>
<cfreport format = "PDF" template= "MyReport.cfr"
query = "#mydata#">
</cfreport>
I have above code to generate the report using stored procedure and pass parameter.
I have to use CFSET to set the value of MyVar.
I would like to know how I can use user input value in my text control on the form.
Your help and information is great appreciated,
Regards,
Iccsi,Hi ,
Any help from Oracle please....
Thanks
Vishnu -
Error while passing date parameter to the XML data definition
Hi All,
I have developed a BI publisher report using XML data definition & RTF template.
This data definition contains a SQL query in it's CDATA section and runs as a concurrent program(without RDF) . We are looking to pass a date parameter to the SQL query and its not accepting the date parameter. However, when we hardcode SYSDATE in the SQL query in place of the parameter, the report runs fine. In the log file it shows that the parameter is being treated in American date style and we are using DD-MON-RRRR format. I have tried to convert the date format however still the error exists.
What we did ?
Created a XML data definition which contains the SQL query in its CDATA section & p_rundate (DATE) parameter.
Registerd the XML data definition as concurrent program with EXECUTABLE= XDODTEXE and Output format as XML with p_date as a date parameter.
Looking for any available solution for the same.
Thanks.Hi All,
I have developed a BI publisher report using XML data definition & RTF template.
This data definition contains a SQL query in it's CDATA section and runs as a concurrent program(without RDF) . We are looking to pass a date parameter to the SQL query and its not accepting the date parameter. However, when we hardcode SYSDATE in the SQL query in place of the parameter, the report runs fine. In the log file it shows that the parameter is being treated in American date style and we are using DD-MON-RRRR format. I have tried to convert the date format however still the error exists.
What we did ?
Created a XML data definition which contains the SQL query in its CDATA section & p_rundate (DATE) parameter.
Registerd the XML data definition as concurrent program with EXECUTABLE= XDODTEXE and Output format as XML with p_date as a date parameter.
Looking for any available solution for the same.
Thanks. -
SSRS How to pass a value for Hidden parameter ?
Hello,
I have a SSRS report deployed on the Report server. This report is having an "Hidden" parameter.
Could someone please guide me, how to pass the value to this internal parameter in each of the following case -
1. Report is accessed through a Desktop application/Web application in Report Viewer.
2. Report is accessed through the Url.
3. Report is accessed through the Report Manager.
Any quick help on this is highly appreciated.
Thanks!
-Vinay Pugalia
If a post answers your question, please click "Mark As Answer" on that post or
"Vote as Helpful".
Web : Inkey Solutions
Blog : My Blog
Email : Vinay PugaliaHi Vinay Pugalia,
Internal Parameters in SSRS are parameters that are not configurable by the end-user at run-time and values cannot be passed to this type of parameter (when present in the child report) in case of a drill-through report implementation. This
type of parameter is read-only and not accessible in parent report.
This varies from a Hidden Parameter, which the user is not prompted to provide, but can still be configured through the URL to the report server.
So no matter you access the report through report manager, URL or Report Viewer. The passing value to the internal parameter will not work.
As you have mentioned that I will also suggest you use the hidden parameter instead.
More details information in this blog for your reference:
SSRS – Understanding Report Parameter Visibility
How to pass value to hide parameter is the same as that of the visible parameter, similar thread for your reference:
Passing the value in action property of a text box
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
If you have any feedback on our support, please click
here.
Vicky Liu
TechNet Community Support -
Passing a parameter in the query string
When a string containing a �+� is passed as a parameter in the URL in the query string through a POST request, it is interpreted as two strings separated by a �+� and thus when the string is retrieved through a request.getParameter (),it returns the string with a space in place of the �+� sign.
eg:
String dblink = "/TCE/servlet/LoginService?name="+vSystemAccount.getAccountName()+"&password="+pw;
Here the parameter pw contains a '+' sign which when retrieved by a request.getParameter() returns the parameter with a space in place of the '+' sign.How can i prevent this??Hi,
In post method , the data is sent as request message body. The data is passed as query string in Get method not in Post method.
Could you please explain your question again ?
bye for now
sat -
Getting the item key to pass as a parameter
How can I get the itemkey if I have the itemtype to pass as a parameter into the wf_engine.createprocess api.
Thanksi am trying to pass the parent_id as a parameter to a portal page but am not able to... i can add it to the list of in parameters to the PL/SQL based parent id but when i add the parent id to the url then i get no result... i created a custom attribute for the parent id since there is no attribute build other then page group and page id... when I set the Parent ID attributes default value in the attribute properties of the item type based on PL/SQL it just brings back results for the default value and if i pass a different value for ithe parent id i dont get the correct result I get the result for the default parent id.
I am using the followin url to pass the parent id
http://localhost:7778/portal/page?_pageid=76,87832&_dad=portal&_schema=PORTAL&parentid=22223 -
How to pass a date parameter from report builder query designer to oracle database
i'm using report builder 3.0 connected to oracle database. i'm trying to pass a date parameter in the query with no success, i don't
know the exact syntax. I've tried :
SELECT * FROM igeneral.GCL_CLAIMS where CREATED_BY IN (:CREATED_BY) AND CLAIM_YEAR IN(:UW_YEAR) AND (LOSS_DATE) >To_Date('01/01/2014','mm/dd/yyyy')
it worked perfectly.
However if i try to put a date parameter "From" instead of 01/01/2014 it will not work, a Define Query Parameter popup window appear and error occurred after i fill
the values (usually i shouldnt get this popup i should enter the value when i run the report)
SELECT * FROM igeneral.GCL_CLAIMS where CREATED_BY IN (:CREATED_BY) AND CLAIM_YEAR IN(:UW_YEAR) AND (LOSS_DATE) >To_Date(:From,'mm/dd/yyyy')
appreciate your assistanceHi Gorgo,
According to your description, you have problem when in passing a parameter for running a Oracle Query. Right?
Based on my knowledge, it use "&" as synax for parameter in Oracle, like we use "@" in SQL Server. In this scenario, maybe you can try '01/01/2014' when inputing in "From". We are not sure if there's any limitation for To_Date()
function. For your self-testing, you can try the query in sqlplus/sql delveloper. Since your issue is related to Oracle query, we suggest you post this thread onto Oracle forum.
Best Regards,
Simon Hou -
How to pass SQL command parameter using OpenDocument
Hi !
I have a dynamic List of values configured in Business View manager, used across multiple reports.
The data source for this LOV is a SQL Command which accepts a static parameter named stringParam. I need to pass this static parameter in the URL using OpenDocument command. How can I do this?
I tried
http://bobjdev/businessobjects/enterprise115/InfoView/scripts/opendocument.aspx?spath=[ReportFolder]&sDocName=WebReport.rpt&stype=rpt&lsSstringParam=ABC
but it still prompts me to select the parameter. I need to avoid this prompt.
Any help, please.Hi,
I would recommend to take a look at the documentation in order to identify the correct syntax for your URL
[http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_url_reporting_opendocument_en.pdf]
Regards,
Shweta -
Modify hidden parameter in variant
I'm submitting a report in a program using a variant just to be sure (the report fills many optional parameters depending on user parameters).
Yesterday I found out the program is crashing because of a hidden parameter that gets filled depending on previous action from some users.
So I have two options
- Change the submit to make sure the parameters is always set to off.
- Change the variant setting the parameter off.
I would think the second option is the easiest, but I can't find a way to manually modify the hidden parameter in the variant in the production system.
Yes, I could modify it in development and then transport it but that would imply a transport request and I'm trying to avoid that.Yes, there is a parameter id involved.
The no-display parameter has three states.
Y- Display ALV grid
N- Display ALV list
Others - Check previous user preferences using a parameter id
I want the report to always be displayed as an ALV List because I need to export it to memory. However, I never submit this parameter in the first place and the variant I'm using has the parameter empty, so it always checks the user preferences.
Changing the parameter id is not an option.
I tried in development and I do can change the content of the parameter using the debugger and later saving the variant the value stays.
But as I said, I want to avoid anything concerning a transport request right now. If I can change the value of the parameter to 'N' right into production it would be great -
Passing Record type parameter from one session to other session
Hi,
I have a package.procedure, in that I am calling custom workflow, inside this workflow again I am calling
same package.procedure (Its an recursive call)
I need to pass record type parameter in this package.procedure.
I tried with global variables but Workflow starts its new session so it losses all variables.
Now I am going with creation of Custom table.
Please advice, is there any way other than creation of Custom table.
I mean can we pass Record type parameter from one session to other session without creating table.
Regards
RohitAl-Salamu Alikum We Rahmatu Allah We Barakatu...
want this place from to be passed as a parameter to the shipping bill form..... using web.show_documentwhy don't u think of just passing data parameter or global parameters from one form to another
Pass global variable between two forms.
Hope this helps...
Regards,
Abdetu... -
How to create a hidden parameter in a 11.1.1.6 BI Publisher Report
We are in the process of migrating from BI Publisher 10g to 11.1.1.6. We used the Upgrade Assistant to migrate a couple thousand reports to the new 11g server. Most of the reports seem to be working fine, but some need some adjusting.
In 10g, there was an option to make a parameter with a type of "Hidden". Most of our reports have at least one parameter that is hidden. The hidden parameters are functional in the converted reports on the 11g server. But, when I want to modify a parameters on 11g or create a new parameter, there is no option to make the parameter hidden. I performed several web searches on the topic, but came up with nothing. I searched the report developer's guide. Nothing.
So, how does one create a hidden parameter in BI Publisher 11g?Our team is researching the same thing, we have review all the documentation and not found anything helpful. Have you made any progress?
-
How to pass in a parameter into a report viewer on a jsp - and hidden
Hi, I've built a php application and am using the java environment to enable the crystal report/viewer. The developer was looking how to pass in a parameter into a report viewer on a jsp. Ultimately the end product we need is to get an HTML report viewer loading a report file with hidden parameters so to not expose other customer data (it's a shared database for multiple customers) preferably loaded from php using maybe the php java bridge. Would anyone happen to have any sample code or any guidance?
<%@ page contentType="text/html; charset=UTF-8"
pageEncoding="ISO-8859-1"%>
<%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer"%>
<%
// just a test to grab rpt name from GET
String rptFile = "report_files/" + request.getParameter("rpt");
%>
<crviewer:viewer reportSourceType="reportingComponent" viewerName=""
isOwnPage="true">
<crviewer:report reportName="<%= rptFile %>" />
</crviewer:viewer>
Many thanks in advance!
MarkI am not aware of any html tags you can pass to the viewer for parameter values. Normally, you would load the report in code and then use the SDK with the report object to pass parameter values.
-
Crystal Reports 2008 - passing a parameter in the Command Object
Hi,
I am using Crystal Reports 2008. I have 4 Command Objects where I have the following queries.
select emrace, count(empl_id) cntFCiv from emmain where emtype='CIV' and emsex ='F' and emdateterm is null group by emrace
select emrace, count(empl_id) cntFSw from emmain where emtype='SWOR' and emsex ='F' and emdateterm is null group by emrace
select emrace, count(empl_id) cntMCiv from emmain where emtype='CIV' and emsex = 'M' and emdateterm is null group by emrace
select emrace,count(empl_id) cntMSw from emmain where emtype='SWOR' and emsex = 'M' and emdateterm is null group by emrace
I want to pass a parameter to all these command objects. I want the user to select a parameter from a list of values. So, I created a parameter object, Bureau. (I get the values for the parameter with this command object: select code_agcy, descriptn from systab1 where code_key = 'UNIT'). I want the user to be able to get the counts for each bureau.
How do I pass the parameter that the user picked to those command objects. I tried doing this:
select emrace, count(empl_id) cntFCiv from emmain where emtype='CIV' and emsex ='F' and emdateterm is null
and emunit = '{?Bureau}' group by emrace
But it did not work. Any help will be greatly appreciated.
Thanks.Hi,
I am using Crystal Reports 2008. I have 4 Command Objects where I have the following queries.
select emrace, count(empl_id) cntFCiv from emmain where emtype='CIV' and emsex ='F' and emdateterm is null group by emrace
select emrace, count(empl_id) cntFSw from emmain where emtype='SWOR' and emsex ='F' and emdateterm is null group by emrace
select emrace, count(empl_id) cntMCiv from emmain where emtype='CIV' and emsex = 'M' and emdateterm is null group by emrace
select emrace,count(empl_id) cntMSw from emmain where emtype='SWOR' and emsex = 'M' and emdateterm is null group by emrace
I want to pass a parameter to all these command objects. I want the user to select a parameter from a list of values. So, I created a parameter object, Bureau. (I get the values for the parameter with this command object: select code_agcy, descriptn from systab1 where code_key = 'UNIT'). I want the user to be able to get the counts for each bureau.
How do I pass the parameter that the user picked to those command objects. I tried doing this:
select emrace, count(empl_id) cntFCiv from emmain where emtype='CIV' and emsex ='F' and emdateterm is null
and emunit = '{?Bureau}' group by emrace
But it did not work. Any help will be greatly appreciated.
Thanks.
Maybe you are looking for
-
Hi all, I have a problem with comparing two rows in one table. The situation: Person_1 have to insert row_1 in table_xy. After a while person_2 has to insert the same data as row_2 for controlling person_1 in table_xy. I have created a compare_flag i
-
TS1630 I had purchased IPHONE 5S in MAY 2013 and in NOV 2013 my phone ringer has stopped working
i had raised a call earlier also 531814968 and with this id the executive tried everything possible to get my phone work but nothing happened. and then I was told by the customer care executive that i will have to go to the same vendor from where i p
-
Is it possible for me to use the email Adobe sent me 4 years ago as proof and retrieve my serial number for installation? Help!
-
RPM for Oracle RAC installation
Hi All, i need to make RAC database setup ,so where can i get the operating system Rpm like bleow compat-gcc-7.3-2.96.128.i386.rpm compat-libstdc++-7.3-2.96.128.i386.rpm compat-libstdc++devel-17.3.3.96.128.i386 compat-gcc-c++7.3.296.128.i386 please s
-
Picking from another storage bin
During picking TO creation the system automatically determines the source storage bin from where the materials should be picked. Lets say the items to be picked are not there and cannot be picked. In this case the operator should be enabled to pick f