How to pass idoc parameters in a validation script? (10gR3 site studio)
Obviously idoc won't work in the actual validation script, so I'd like to use it to generate the parameters to pass to a custom function.
If I add <!--$siteId--> as a parameter in design mode, it'll be added as: &lt;!--$siteId--&gt; which doesn't work.
If I manually add <!--$siteId--> to the parameter code in Source mode, this works just fine. However, once I enter design mode, Designer strips it out and now I have no parameter.
Is there any way to somehow escape the less than/greater than symbols in Design mode?
It's really unfortunate how the contributor windows are static HTML pages that don't retain what site they're on. Maybe this has changed in the 10gR4.
Sorry I don't have an answer for you, but I wanted to say that we have had problems with Design mode in general and don't use it anymore. Switching between Source and Design has cause multiple errors in our Site Studio template. We do all of our Designer editing in Source mode. Any actual design work is done in an external editor and the HTML source is then brought over into Site Studio in Source mode.
I was disappointed when 10gR4 came out and Oracle said they did no significant changes (improvements) to Site Studio Designer application.
Similar Messages
-
Validation Script in Site studio
Hi,
I have created the Custom element form for date, I need to validate the data entered in contributor mode via Validation Script.
I have created the Validation Script but I'm not able to read the parameter i.e. date.
Returning true or false from the validation script is handling the validation. Retuning "false" shows one pop up .. that is ok. but how can we put user defined message in that pop up.
So I have two queries:
1. Reading the parameter in validation script.
2. Putting user defined message in the pop up.
Thanks in advance,
MAKSorry I don't have an answer for you, but I wanted to say that we have had problems with Design mode in general and don't use it anymore. Switching between Source and Design has cause multiple errors in our Site Studio template. We do all of our Designer editing in Source mode. Any actual design work is done in an external editor and the HTML source is then brought over into Site Studio in Source mode.
I was disappointed when 10gR4 came out and Oracle said they did no significant changes (improvements) to Site Studio Designer application. -
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'); -
How to pass runtime parameters to Oracle Query from xMII server
Please can anybody help me that how to pass runtime parameter to Orcle Query from xMII server.
It works the same way as I described in this thread [How to pass runtime parameters to MySQL Query from xMII server]. It does not matter the datasource MII will work the same for all queries, at least for passing in parameters. How to write those queries and their datatypes will be the differences.
-
How to pass runtime parameters to MySQL Query from xMII server
Please can anybody help in How to pass runtime parameters to Orcle Query from xMII server
The answer is the same as for your other thread. The mechanism is the same regardless of the end database. The SQL syntax will be different for each database vendor depending upon which functions you are invoking. The main areas of difference between SQL Server, Oracle, DB2, etc. deal with dates (times also) and strings, but there are others as well.
Regards,
Mike -
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 two parameters in one url?
the tutorial teaches me to use
/faces/Details.jsp?personId=#{currentRow.value['PERSON.PERSONID']}
to pass one parameter.
How can i pass two parameters in one url?
/faces/Details.jsp?personId=#{currentRow.value['PERSON.PERSONID']}&personName=#{currentRow.value['PERSON.PERSONNAME']}
is not right.The '&' character needs to be escaped, lest it be interpreted by the application server as a separator character in the HTTP query string. Instead of '&', try '%26'.
// Gregory -
How to pass 2 parameters in a hyperlink?
Hi,
I have a jsp form:
<form name="form1" action="/servlet/ShoppingServlet" method="get">
<input type="radio" name="productid" value="1">Solitaire Classic / 4.50<br/>
<input type="radio" name="productid" value="2">Bingo / 3.95<br/>
<input type="hidden" name="cmd" value="ADD">
<input type="submit" value="Purchase">
</form>It has a button to submit the form. It passes 2 parameters: productid and cmd's values to ShoppingServlet.
If I use a hyperlink text, how can I pass 2 parameters?
<a href=\"/servlet/ShoppingServlet?productid=" + ProductID + "\">Add this item to cart</a>How can I pass the hidden variable "cmd" in the above hyperlink?
Thanks<a href="\"/servlet/ShoppingServlet?productid=" + ProductID + "&cmd=ADD\">Add this item to cart</a>
-
How to pass Idoc number to workfow
Hi all,
How to pass triggered Idoc number to the workfow ?
I wanna to display the Idoc number in mail, when error occur in posting, but workflow is trigarring but I am not able to get the Idoc number, even I given key element as idoc reference to the EDIDC-DOCNUM in the Business object ( z object).
Please let me know how to solve this...
Thanks yaar..
HPHi Hp,
Check the Workflow log or the event log?
Check the binding between event container to workflow container?
Thanks and Regards
Balaji E. -
How to pass request parameters using html:link in struts
Hi All,
I am trying to send parameters to action class using <html:link>.
Can anybody give sample code how to do it?
Thanks in advance.
By
K.Siva Prasad Reddyhi,
you can pass the parameters in link like this
http://www.xyz.com&username=someuserID&password=somePassword
username and password are parameters which you want to pass as paramets to server..hope this will work for you...
Thanks
Surya -
How to pass GET parameters from BPEL to webservice?
Hi,
How can I pass GET parameters to webservice from BPEL. For example if a webservice expects to get 2 parameters as GET parameters like the following URL:
http://xxx.xxx.xxx.xxx/some-web-service?parama=abc¶mb=123
How can I pass parama and paramb to the webservice call?
Thanks,
RonenHello Ronen,
Im assuming that you're using SOA Suite 11g. The developer guide describes the following: http://docs.oracle.com/cd/E29505_01/dev.1111/e10224/sca_bindingcomps.htm#CHDEEGDC
And the following blogpost explains in detail how to implement https://blogs.oracle.com/reynolds/entry/oracle_http_adapter
Good luck!
Melvin -
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? -
How to validate a date in a validation script
I have a date field for which I have set a validation pattern using its Object palette i.e. Object > Value tab > Validation Pattern > Validation tab. The validation pattern I have there is simply 'date{YYYY-MMM-DD}' with an error message set in the Validation Pattern Message box.
How do I perform this same validation using a javascript in the Validation event?
I'd like to use a script instead so that I can better control when this validation will be performed.
Thanks!!
MarcMarc:
If your field has a display picture clause, then you can detect if it formatted correctly by looking at field.formattedValue
Specifically, if the value cannot be formatted, the formattedValue will be the same as the rawValue (unformatted).
So a validation script that specifies:
this.formattedValue !== this.rawValue;
should detect invalid dates.
See: http://blogs.adobe.com/formfeed/2011/06/understanding-field-values.html
good luck
John -
How to pass a shell variable to rman scripts
I want to backup datafile to different directory
depending on the current time,and I can do this to
pass a shell variable to rman scripts,and this
variable will used as part of format ,like this:
backup incremental level=0
tag rman_inc0_bck
filesperset 5
format '$(DIR)/rman_fulldb_%u_%s_%p_%d'
(database include current controlfile)
and $(DIR) is shell variable ,but rman will not
recognize this ,how to achieve this?You could send your script to rman thru a pipe | or <<
echo "backup incremental level=0
tag rman_inc0_bck
filesperset 5
format '$(DIR)/rman_fulldb_%u_%s_%p_%d'
(database include current controlfile);" | rman target /You could also create a "temp script" and then use it from rman with cmdfile
sed "s,XXXDIR,$(DIR)," yourtemplate > /tmp/rmanscript.$$
rman target / cmdfile /tmp/rmanscript.$$
rm /tmp/rmanscript.$$ -
Passing mulitple parameters to unix shell script via File adapter
Hi,
I have the following usecase.
I have a set of files A, B, C, D etc in a directory dir. I also have a EOT ( end of transaction file).
I need to merge this file once the EOT file is present in XI application server ( using NFS with File adpter).
I have a script which can take the following paramters:
1. EOT file name
2. File names for A,B,C,D
3. Directory names.
Is it possible to send muliple parameters to the unix script from the File adapter?
please share any blogs which do so.
Thanks in advance,
Best Regards
AbhishekHi,
You can always call script from file adapter using "OS command" functionality, pass additional parameter like you do in unix for existing script (exact command which you type on unix prompt).
Adapter will simply pass your OS command to operating system, so from XI point of view nothing is changed and it is your script which should take care of parameters.
Regards,
Gourav
Maybe you are looking for
-
Is it possible to show first item in a Drop down list
Is it possible to automatically display the first item in a drop down list ? The reason I ask is ... I am generating pre-filled PDF forms using XML data files. Whenever there is a certain type of data I am populating a drop down list for the user to
-
I have a used Iphone 4S that I am trying to unlock but don't have the original computer and don't know the password, how can I get by this?
-
Constant sync failure on one of three devices
I have a MBP, an iPad 2, and iPad Mini (2011), and an iPhone 5s. I have a number of books obtained through iTunes, but most of the items I have in iBooks are EPUBs or PDFs I've created myself (e.g. exported from a Pages document). So mostly they're c
-
Airport Express and network printer
I purchased a new Airport Express with 802.11n and I can configure it properly with no issues with basic functionality. Connecting my HP Photosmart printer via USB cable also works fine. However, connecting it via ethernet connection is problematic.
-
Audio on audiobooks is distorted (too fast). Any way to slow it down?)
After installin iOS5.0 I downloaded several audiobooks from Audible.com and noted that the audio was too fast. Previously installed books were fine. The distorted books play fine on my iPhone 3GS and on the iTunes on my laptop. Deleted the "bad"audio