Passing multiple parameters to attribute value
Hi All,
My requirement is, the notification message should get a link, by clicking the user should navigate to the form. I kept the attribute type as form and attribute value as INV_INVIDITM:ITEM_ID=41817 where inv_inviditim is the form function name and item_id is the parameter.
The problem is when passing multiple parameters. I am passing multiple parameters as INV_INVIDITM:ITEM_ID=41817&ORG_ID=204.
Can any one help me to solve the above problem?
Thanks is advance.
Srinivas
Try a different Database driver...
Similar Messages
-
How To Pass Multiple Parameters In URL with Report Builder
Hi,
I use apex 4.2 with database xe 11g and i use report builder to build my report i use this link to call report
function runrep(){
var vurl = 'http://192.168.0.57:8889/reports/rwservlet?userid=retail/1@xe&destype=cache&desformat=PDF¶mform=no&report=item_cost&P_BATCH_NO='+$v('P138_BATCH_NO');
popupURL(vurl);
now i want to pass Multiple Parameters like P138_ITEM_CODE , P138_UOM_CODE
how can i add this Parameters in URL ?
Regards
AhmedRamani_vadakadu wrote:
window.open("http://hq-orapp-03.kuf.com:9704/xmlpserver/~weblogic/kufpec/BTA/KUF_CONF_ITINUD.xdo?_xpf=&_xpt=1&_xdo=%2F~weblogic%2Fkuf%2FBTA%2FKUF_CONF_ITINUD.xdo&_xmode=&_paramsP_BTM_ID="+parseInt(document.getElementById('P3_BTA_ID').value)+"&_xt=KUF_CONF_ITINUD&_xf=pdf&_xautorun=true&id=weblogic&passwd=kuf2011","_blank");
the above code we are using apex JS to BI publisher calling for report as PDF
i don't know exactly where your parameters , did you customize my link to multiple parameters
'http://192.168.0.57:8889/reports/rwservlet?userid=retail/1@xe&destype=cache&desformat=PDF¶mform=no&report=item_cost&P_BATCH_NO='+$v('P138_BATCH_NO'); -
How to Pass Multiple Parameters To ReportReuest Method in Oracle BI 11g
Hi,
Am integrate Oracle BI Publisher 11g via Web Services in Oracle Forms,For that am developing code in PublicReportServiceClient Class. This worked properly with out passing parameter to the report. so how to pass parameters to the report . If Report is requried some Parameters to generate report.
If any one knows about How to Passing Multiple Parameters to ReportRequest Methos in Oracle 11g. Pls help me.
Am trying with the below code for PassParameters to ReportReuest Method in Oracle BI 11g. But by using this code am able to pass only one parameter to the Report, not for multiple Parameter Passing.
ArrayOfParamNameValue PnameValue=new ArrayOfParamNameValue();
ParamNameValue Namevalue=new ParamNameValue();
Namevalue.setName("P_SNO"):
ArrayOfString aos=new ArrayOfString();
aos.getItem().add("2");
Namevalue.setValues(aos);
PnameValue.getItem().add(Namevalue);
ReportRequest RepReq = new ReportRequest();
RepReq.setParmeterNameValues(PnameValue);
Following method callRunReport() with an array of parameters used in Oracle Bi 10g,To pass multiple report parameters to ReportRequest method.
public void callRunReport (String reportPath, String[] paramName, String[] paramValue, Stringusername, String password, String format, String template, String outFile)
try {
bip_webservice.proxy.PublicReportServiceClient myPort =new bip_webservice.proxy.PublicReportServiceClient();
// Calling runReport
ReportRequest repRequest = new ReportRequest();
repRequest.setReportAbsolutePath(reportPath);
repRequest.setAttributeTemplate(template);
repRequest.setAttributeFormat(format);
repRequest.setAttributeLocale(“en-US”);
repRequest.setSizeOfDataChunkDownload(-1);
if (paramName != null)
ParamNameValue[] paramNameValue = new ParamNameValue[paramName.length];
String[] values = null;
for (int i=0; i<paramName.length; i++)
paramNameValue[i] = new ParamNameValue();
paramNameValue.setName(paramName[i]);
values = new String[1];
values[0] = paramValue[i];
paramNameValue[i].setValues(values);
repRequest.setParameterNameValues(paramNameValue);Ramani_vadakadu wrote:
window.open("http://hq-orapp-03.kuf.com:9704/xmlpserver/~weblogic/kufpec/BTA/KUF_CONF_ITINUD.xdo?_xpf=&_xpt=1&_xdo=%2F~weblogic%2Fkuf%2FBTA%2FKUF_CONF_ITINUD.xdo&_xmode=&_paramsP_BTM_ID="+parseInt(document.getElementById('P3_BTA_ID').value)+"&_xt=KUF_CONF_ITINUD&_xf=pdf&_xautorun=true&id=weblogic&passwd=kuf2011","_blank");
the above code we are using apex JS to BI publisher calling for report as PDF
i don't know exactly where your parameters , did you customize my link to multiple parameters
'http://192.168.0.57:8889/reports/rwservlet?userid=retail/1@xe&destype=cache&desformat=PDF¶mform=no&report=item_cost&P_BATCH_NO='+$v('P138_BATCH_NO'); -
Passing multiple parameters to an Oracle procedure
I'm having trouble passing multiple parameters to a stored procedure in Crystal Reports 2008 (12.2.0.290).
I'm using an OLE DB (ADO) connection to an Oracle 10g database.
I have created a stored procedure that has 3 parameters (in out sys_refcursor, in varchar2, in varchar2) and conforms to all of Crystal Reports' requirements for stored procedures.
When I select my stored procedure in the Database Expert, it prompts me to enter values for both varchar2 parameters. I enter values and everything seems fine. I close the Database Expert.
Now the stored procedure is listed in the Field Explorer, but I cannot expand the list of fields. There is a plus sign next to the stored procedure, but clicking on it does nothing. I do not get any error messages.
If I remove one of the parameters from the stored procedure and try again, everything works fine. I've also tried using a variety of parameter types, but this problem occurs every time there are 2 or more parameters (3 including the ref cursor).
Please help.Try a different Database driver...
-
Passing multiple parameters to a portlet
Hi All,
I have created a portlet form a taskflow, and using the WSRP Producer connection I am adding this portlet into a new application's JSF page.
1. Is it possible to create a portlet that can accept multiple parameters?
2. is it possible to map a portlet method to a method in new app.
3. is there some implicit event that can be passed when all of the parameters are passed to the portlet.
What my requirement is:- I have to send some 4-5(String) parameters from the new application to the portlet application.
what would be the sequence in which the setters of this parameters would be called in the Portlet app?
can you please tell me if this is possible, and how to do it. Some tutorial would help.
Regards,
NDYour question is WebCenter related and you should ask it in the forum {forum:id=354}.
Anyway, you can pass multiple parameters to a portlet. Define the parameters as parameters of the corresponding bounded TaskFlow. When the taskflow is wrapped as a portlet producer by the JSF Portlet Bridge all the taskflow parameters will be exposed as separate navigational portlet parameters. If you consume the portlet at some page, then the portlet parameters will be bound to PageDef variables and you can use these variables to pass parameter values to the portlet. If you have to re-send new parameter values at runtime, just set the corresponding pageDef variables and refresh the <adfp:portlet> tag by PPR. Do not forget to mark the portlet's region binding in the PageDef as RefreshIfNeeded, otherwise it will not get the new values and will not refresh.
Look at the following article in the documentation about using navigational parameter for contextually linking of portlets:
http://download.oracle.com/docs/cd/E14571_01/webcenter.1111/e10148/jpsdg_pages.htm#CHDJABHD
If you have additional questions, please ask them in the WebCenter forums.
Dimitar -
Passing SQL Server identity attributes values into adf entity objects
Hi all.
I'm using Jdeveloper 10g for developing an ADF Swing application based on MS SQL Server DB.
Does anyone know if it is possible to pass SQL Server identity attributes values into the correspondent attrributes of adf entity objects, like we do with Oracle DB Sequence.
The problem is that i should somhow implement cascade deleting of detail view objects, so i should use the composition association. But since i cant fill the primary key attribute with appropriate value (that is actually a ms sql server db sequence value) i always get
the following exception: oracle.jbo.InvalidOwnerException: JBO-25030 as i try to create a new pair of master/detail objects.
Thanks in advance.
Alex.The approach is good. but i still dont understand how i can address the sql server db sequence (identity field) programmatically...
The code offered
SequenceImpl sequence = new SequenceImpl("PRODUCTS_SEQ",getDBTransaction());
setProdId(sequence.getSequenceNumber());
generates something like this:
select deq_name.nextval from dual
but this syntax works for oracle only... and not for sql server...
Edited by: Timin on Mar 26, 2009 6:34 AM
Edited by: Timin on Mar 26, 2009 10:25 AM -
Passing multiple parameters between two report portlets on the same page
Hi,
I want to pass multiple parameters between two report portlets on the same page.
I have been succussful passing a single parameter between two portlets. The
following are the steps :
(1) Created first report based on the query
SELECT htf.anchor('http://192.168.0.84:7778/servlet/page?&_pageid=97&_dad=portal30&_schema=portal30&_mode=3&dept_code='||DEPTNO,DEPTNO) Department, ename FROM EMP;
(2) Created 2nd report
select * from EMP where DEPTNO = :dept_code
(3) Added pl/sql code before display page on the 2nd report
portal30.wwv_name_value.replace_value(
l_arg_names, l_arg_values,
p_reference_path||'.dept_code',portal30.wwv_standard_util.string_to_table2(nvl(g
et_value('dept_code'),10)));
(4) Created a page and added these reports as portlets.
Sofar it works fine for one parameter (deptno) . Now I want to add one more
parameter say empno to my first report query and would like to pass both the
parameters deptno and empno to the 2nd report. Please tell me how to pass multiple parameters ?
Thanks
AsimHi,
You will have to do the same thing
The select will be like this
SELECT htf.anchor('http://toolsweb.us.oracle.com:2000/servlet/page?_pageid=97&_dad=mb&_schema=mybugs&_mode=3&dept_code='||DEPTNO||'&empno='||empno,DEPTNO) Department,ename
FROM EMP
In the additional plsql code do the same for empno like this
mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.dept_code',mybugs.wwv_standard_util.string_to_table2(nvl(get_value('dept_code'),10)));
mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.empno',mybugs.wwv_standard_util.string_to_table2(get_value('empno')));
Thanks,
Sharmila -
Probs sharing a report that uses SETPARAM to pass multiple parameters
Ok we have master DB account Disco that creates reports. I also have oracle acct Duser for the users to run the reports.
Per Metalink Note:304192.1, we've got the setparam stuff working to pass in date parameters into our sheet. This works fine when I run the report as Disco. When I try to share the report to Duser, it still prompts for the dates, but then the report returns all 0's for the results. I have no idea why this is happening.
Any suggestions on how to share reports with other users that pass in parameters would be much appreciated. thanks!!
AllenHi Allen,
I would always recommend that you use sys_context to pass parameters. You can search this site for sys_context or take a look at (Re: Passing multiple parameters into Custom Folder... for more details.
Rod West -
How to pass multiple parameters by URL?
hi i am having trouble passing multiple parameters by URL.
i tried the following codes but still not successful in using request.getParameter
<a href="remove.jsp?imageid=<%=imageId%>&userid=<%=user%>">remove</a>
<a href="remove.jsp?imageid=<%=imageId%>&userid=<%=user%>">remove</a>Looks good to me.
What parameters are you getting at the other end?
imageid and userid? (case is important)
What does the address url in the browser show?
What code are you using to retrieve the parameters? -
Passing multiple parameters in sql query
Hi All,
This may not be the correct place to post this.
How to pass multiple paramters to a variable in sql developer.
Ex: Select * from Country where state= :statename (Country is table name, state is column name)
If I execute the above query in SQL Developer I can pass only one parameter at a time for :statename ie either KERALA,KARNATAKA,PUNJAB etc.
How can I pass multiple values (all KERALA,KARNATAKA,PUNJAB) or ALL column values at a time in SQL Developer.
Thanksuser1668671 wrote:
How to pass multiple paramters to a variable in sql developer.A scalar variable by definition cannot store more than one value at a time.
Array type variables can, as this example using the built in type odcivarchar2list shows
SQL> select
2 object_name,
3 object_type
4 from
5 all_objects o
6 where
7 o.object_name in
8 (select column_value from
9 table(sys.odcivarchar2list('DUAL','ALL_OBJECTS')));
OBJECT_NAME OBJECT_TYPE
DUAL TABLE
DUAL SYNONYM
ALL_OBJECTS VIEW
ALL_OBJECTS SYNONYM
ALL_OBJECTS VIEWHere is a full discussion with multiple solutions for various versions including a string parsing
http://tkyte.blogspot.com/2006/06/varying-in-lists.html
Does SQL Developer support array type variable? I don't know they may know here {forum:id=260}
Otherwise the link above shows how to parse a single character variable into multiple values that will be needed. -
I have an Microsoft Access application that is more like a form than a database. Users complete the form and then submit it to us for review. There are many questions and memo fields on the different forms (sections). Some of the memo forms are small due
to the limitation of the size of the form (22 inches) therefore there is a lot of scrolling. I want to include a button on each question so that when users click on it will display a form where I pass the label caption (question) and the answer to this form.
Alternatively I can have a expanded form for each question but that would require over 50 forms. The Application is quite large. I wanted to have one form and just call the different questions/answers.
The below is working for the text box (AnswerTxt). However the CaptionTxt is not holding it's value when it gets to the new form. It's only displaying the name of the variable name, CaptionTxt
On the form where the data resides I have:
Private Sub test_Click()
Dim CaptionTxt As String
Dim AnswerTxt As String
CaptionTxt = Me.lblSect11_5.Caption
AnswerTxt = Me.Section11_5.Value
Debug.Print CaptionTxt
Debug.Print AnswerTxt
DoCmd.OpenForm "Form1", OpenArgs:="CaptionTxt|" & AnswerTxt
End Sub
On the new form with an expanded memo field
Private Sub Form_Load()
Dim intPos As Integer
Dim strControlName As String
Dim strValue As String
If Len(Me.OpenArgs) > 0 Then
' Position of the pipe
intPos = InStr(Me.OpenArgs, "|")
If intPos > 0 Then
strControlName = Left$(Me.OpenArgs, intPos - 1)
Debug.Print strControlName
strValue = Mid$(Me.OpenArgs, intPos + 1)
Debug.Print strValue
' Retrieve Control Name from the first part of the string
Me.lblText11.Caption = Left$(Me.OpenArgs, intPos - 1)
' strControlName = Left$(Me.OpenArgs, intPos - 1)
' Retrieve Value to Assign from the end of the string
Me.txt_Section11.Value = Mid$(Me.OpenArgs, intPos + 1)
' strValue = Mid$(Me.OpenArgs, intPos + 1)
' Assign the value to the control
' Me(strControlName) = strValue
End If
End If
End Sub
jim nealThe below is working for the text box (AnswerTxt). However the CaptionTxt is not holding it's value when it gets to the new form. It's only displaying the name of the variable name, CaptionTxt
It will, because you are passing it as a literal string with:
DoCmd.OpenForm "Form1", OpenArgs:="CaptionTxt|" & AnswerTxt
In this "CaptionTxt|" is a literal string, whereas AnswerTxt references the variable. It should be:
DoCmd.OpenForm "Form1", OpenArgs:=CaptionTxt & "|" & AnswerTxt
You might be interested in the file Args.zip in my public databases folder at:
https://onedrive.live.com/?cid=44CC60D7FEA42912&id=44CC60D7FEA42912!169
If you have difficulty opening the link copy its text (NB, not the link location) and paste it into your browser's address bar.
This little demo file illustrates how to pass multiple arguments, using a module originally developed by Stuart McCall and later expanded by me to allow the passing of named arguments.
Ken Sheridan, Stafford, England -
How to pass multiple parameters to DB adapter through BPEL process?
Hi All
I have created a BPEL process in which I am using invoke activity to call DB package.procedure having multiple parameters.Once the package gets executed it shows me custom exception message as input parameters are showing null values inside the package.
When I see the audit flow in BPEL instance , it shows correct values against each parameter in BPEL process.
Anybody know about this problem? why DB package is not able to read input parameters send through BPEL process?
Regards
YogiHi Chintan
Thanks for your reply.
Here is my procedure call. For these input and output parameters I have created variables @ BPEL process. Those variables are accepting values correctly.
PROCEDURE custom_po_proc(
p_return_status OUT VARCHAR2,
p_error_code OUT VARCHAR2,
p_error_desc OUT VARCHAR2,
p_debug IN VARCHAR2 DEFAULT 'N',
p_lgcy_trxn_num IN VARCHAR2,
p_trxn_type IN VARCHAR2,
p_operation IN VARCHAR2 DEFAULT NULL,
p_po_number IN VARCHAR2,
p_line_num IN VARCHAR2,
p_org_code IN VARCHAR2,
p_quantity IN NUMBER,
p_user_name IN VARCHAR2);
I just have one DB adapter based on above procedure.
How do I increase the logging level, have not done that before.
Regards
Yogi -
Pass multiple parameters in URL
Hi all,
I want to open my drill through report in new window.
for that i found a javascript like ..
="javascript:void(window.open('http://Server%2freportserver?%2fReport_Project%2fFolder%2fReportname&rs:Command=Render&DateFrom="+Fields!Exec_Date.Value+"&DateTo="+Fields!Exec_Date.Value+"&Dept="+Parameters!Dept.Value+"'))"
here i have 3 parameters in report ..
report opens fine without parameters but not with paramaters . is there any mistake in code??
please write the correct one..
and i am getting server login authentication when report opens in new window how to stop prompting it for end users ??
Dilip Patil..Hi Dilip,
According to your description, you want to prevent credential entry from popping up when opening a report in a new window.
In Reposting Service, RSWindowsNegotiate is added to the RSReportServer.config file by default. Negotiate specifies report server can either accept Kerberos or NTLM authentication tokens. In this scenario, the issue could be caused by Kerberos authentication.
If there is a mismatch between the destination specified in the token and the report server process configuration, the underlying Kerberos authentication scheme supported by Windows will prevent report server from authenticating the user. So please refer to
methods below to fix the issue:
Remove RSWindowsNegotiate and ensure RSWindowsNTLM is specified in the Reporting Services configuration file (in SSRS 2012, this file locates at xx:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.config).
Change the report server service account to Network Service.
Configure a specific hostheader for SSRS, configure your DNS server to understand that hostheader, and configure your domain controller to have an SPN for the hostheader and the report server service account.
For detail information, please refer to this article:
Solving the Reporting Services Login issue in the February CTP of SQL Server 2008.
Reference:
Authentication with the Report Server
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
Passing Multiple Parameters values to a command- ORA-00907
I am trying to create a report in CR2008 using a SQL query against an Oracle 9i database. The field ( im."Report_No") I am using the parameter ({?CaseNo}) on is a VarChar, even though it only contains numbers. The number is 9 digits in the database (like 123456789), but is used differently by the users (12-456789) omitting the 3rd character. The query below works with a single value in the parameter, but returns ORA-00907 when multiple values are used.
SELECT im."Report_No"
--, ic."Report_No" Redundant from IM
, im."Reported_Date"
, im."Assignment"
, CASE
WHEN ip."Address" IS NOT NULL
THEN ip."Address"
WHEN ip."Address" IS NULL
AND ia."Address" IS NOT NULL
THEN ia."Address"
WHEN ip."Address" IS NULL
AND ia."Address" IS NULL
THEN im."Location"
END Address
, CASE
WHEN ip."City" IS NOT NULL
THEN ip."City"
WHEN ip."City" IS NULL
AND ia."City" IS NOT NULL
THEN ia."City"
WHEN ip."City" IS NULL
AND ia."City" IS NULL
THEN im."City"
END City
, CASE
WHEN ip."State" IS NOT NULL
THEN ip."State"
WHEN ip."State" IS NULL
AND ia."State" IS NOT NULL
THEN ia."State"
WHEN ip."State" IS NULL
AND ia."State" IS NULL
THEN 'NV'
END State
, CASE
WHEN ip."ZIP_Code" IS NOT NULL
THEN ip."ZIP_Code"
WHEN ip."ZIP_Code" IS NULL
AND ia."ZIP_Code" IS NOT NULL
THEN ia."ZIP_Code"
WHEN ip."ZIP_Code" IS NULL
AND ia."ZIP_Code" IS NULL
THEN im."ZIP_Code"
END Zip_Code
, ip."First_Name" || ' ' || ip."Last_Name" Name
, ip."Involvement"
FROM "TIBURON"."RP_INMAST_VIEW" im
INNER JOIN "TIBURON"."RP_INCASE_VIEW" ic
ON im."Report_No" = ic."Report_No"
INNER JOIN "TIBURON"."RP_INPER6_VIEW" ip
ON im."Report_No" = ip."Report_No"
LEFT OUTER JOIN "TIBURON"."RP_INADRS_VIEW" ia
ON ip."INPER6_ID" = ia."INPER6_ID"
WHERE im."Report_No" IN (substr({?CaseNo}, 1, 2))|| '0' || (substr({?CaseNo}, 4, 6))
AND ip."Involvement" = '{?InvCode}'
Thanks in advance for any help.
Edited by: James Cody on Dec 29, 2011 8:49 PMHi James,
Does the query accept commad separated values? Could you check if the query runs fine (with multiple values passed as a command separated string) on the database (using SQL+)?
-Abhilash -
How to pass multiple parameters while calling a pl/sql procedure based serv
Hi,
I have a pl/sql procedure based service that needs to be invoked from the bpel console for testing purpose. This procedure accepts multiple input values which are of varchar2,boolean and datetime data types. How can I get the bpel console to throw a UI where I can enter these values --in other words where(which file and where) can I specify that these are the input parameters that need to be entered along with their types.
Thanks for yr help!Change the payload of the request 'Process WSDL' message type. Change the element of the payload for the RequestMessage to be 'InputParameters' from the XSD generated by the DB Adapter wizard.
Edit the payload (Element) - Choose 'Project Schema Files'. Select 'InputParameters' from the XSD.
You can also change the ResponseMessage by doing the same thing, except that you select 'OutputParameters' from the XSD.
Maybe you are looking for
-
Spry Menu-overlapping submenu items
Hello, I am new to Dreamweaver. I created a horizontal spry menu and one of my items has a submenu which contains two items. When I look at the page in live view or preview it in a browser, the two submenu items overlap. How do I fix this? I have tri
-
APPLE TV SAYS HOME SHARE NOT ON WHEN CHECK COMPUTER IN ADVANCED SAYS IT IS
apple tv shows sharing is switched off but computer show in advanced that it is switched on and when I switch router off then back on and reset it comes ok thanks
-
We have an R/3 System client 100 and we have two abap programs called ABAP1 and ABAP2 sending the same PO idoc to XI. (It is SAP's IDOC and NOT user defined IDOC) But now the Receiver is varied depending on the ABAP1 or ABAP2 Program, if it is ABAP1
-
HI all, I have an assignment to replicate production installation to another environment on another server. Currently what is installed on those servers is: - Main server (production): Windows server 2000 SP4, Forms 6i service, Reports 6i service , i
-
Satellite L450 - How to view streamed content on an old TV?
Hi Wondering if anyone can help. I have a Satellite L4500-13x and would like to know if it is possible to view streamed content on an old TV from my laptop eg YouTube. My TV has only got an RCA input. I have an external monitor port on laptop and don