OAF : Passing parameter in URL the DestinationURL property
Hi Frds,
I am new to OAF.....
Any one could explain , How to pass the parameters in destinationURL property ?
Thanks in Adv
Hi Friend,
Sample Destination URL:
OA.jsp?page=/XXCUST/oracle/apps/ap/advreq/webui/xxPagePG&UserDefinedName={@ViewAttribute}
Regards,
Antonyraj.M
Similar Messages
-
Passing parameter through url to report
Hi
I'm sorry if this question already exist anywhere in forum i didnt found it.
so my question is:
CAN I PASS PARAMETER VIA URL TO REPORT USING WEBFORM
i don have RAS(Because in beta version of 2008 is this not included)
I tried
http://localhost/CRWEB/Default.aspx?param0="value" ->here i'm prompt for value instead of showing report with set value
and
http://localhost/CRWEB/DocumentDoc.rpt?param0=krneki&init=html_page -> here i prompt to save rpt file
so But both doesnt work!
OR it is necessery to have RAS to pass parameters through url
thanks for quick answerURL reporting and RAS are not available with CR2008. To view reports over the web you will need to use the Crsytal Reports for .NET runtime engine inside a .NET app. This engine is licensed with CR 2008.
Rob Horne<br /><a href="/blog/10">Rob's blog - http://diamond.businessobjects.com/robhorne</a> -
//Initialize the Engine
EngineClass myEngine = new EngineClass();
myEngine.LoadTypePaletteFilesEx(TypeConflictHandlerTypes.ConflictHandler_Prompt, 0);
Step myStep = myEngine.NewStep(AdapterKeyNames.DotNetAdapterKeyname,StepTypes.StepType_Action);
myStep.Name = "object";
DotNetModule dotnetmodule = myStep.Module as DotNetModule;
dotnetmodule.SetAssembly(DotNetModuleAssemblyLocations.DotNetModule_AssemblyLocation_File,@"C:sequence.dll");
dotnetmodule.ClassName = "CN";
dotnetmodule.MemberType = DotNetModuleMemberTypes.DotNetMember_GetProperty;
dotnetmodule.MemberName = "ISI";
mySequence.Locals.NewSubProperty("object", PropertyValueTypes.PropValType_Reference, false, "", 0);
Sequence mySequence = myEngine.NewSequence();
mySequence.Locals.NewSubProperty(varName, PropertyValueTypes.PropValType_Reference, false, String.Empty, 0);
mySequence.InsertStep(myStep, 0, StepGroups.StepGroup_Main);
SequenceFile seqFile = myEngine.NewSequenceFile();
seqFile.InsertSequence(mySequence);
seqFile.Save("C:\\mySeq.seq");
I have done this,dynamically creating a sequence file in teststand programatically through c#.
Problem is
1.I created an action step and object Reference variable for the step, but i am not able to pass parameter values to the objectReference
2.I am not able to load the sequence in to the main Sequence of the sequence file in the teststand. How can I do these two things.Hi,
have you ever followed on my Links ?!?!?
If not please jump to this one
http://forums.ni.com/ni/board/message?board.id=330&thread.id=26880
and read the the answer from Mannoch
starting with this words:
Anthony -
Currently, functionality for retrieving the Metadata Token for a class constructor or member is not fully provided in the TestStand .NET Adapter API. The DotNetModule.GetConstructorMetadataToken() and DotNetModule.GetMetadataToken() methods only return the correct Metadata Token when the member/constructor prototypes have already been loaded. Thus, in the case of your code, when you call DotNetModule.GetMetadataToken(), the method is returning -1 because the member prototype for the Step you are referring to has not yet been loaded.
That means have to do a workaround for your stuff.
Juergen
=s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e= -
Passing Parameter from URL to Web Forms - Oracle 10 Application Server
Hi All -
I want to pass parameter from a URL to 10g Oracle Web Forms - Oracle Application Server 10.1.2
http://server1/forms/frmservlet?config=SATWEB_SSO&otherparams=username_sso=BABUS
How to receive this 'username_sso' value inside my forms application ?
Created a Parameter in the same name as URL parameter 'username_sso' in forms but didn't receive the value. I want to know how to receive the value of this parameter within forms from URL.
Thanks - SureshTry this,
1. Create a parameter in the formsweb.cfg (say username_sso) under default section ( or you can create it in your own config section)
2. Add the username_sso in otherparams parameter as username_sso=%username_sso%
3. Add this username_sso parameter in your form.
4. Run the form as
http://<machine>:<port>.....?form=blahblah....&otherparams=username_sso=scott
Regards,
Arun -
How to pass parameter through URL to bounded task flow with page fragment
I want to pass parameter to Bounded Task Flow With Page Fragment trough URL
as I start this taks flow with router and according to this Param I will rout the user.
I added input param to taks flow named direction and make the task flow called URL invoke url-invoke-allowed
<input-parameter-definition id="__41">
<name id="__42">direction</name>
<value>#{pageFlowScope.direction}</value>
<class>java.lang.String</class>
</input-parameter-definition>but I don't know how to add this to the JSPX that I will add the bounded task flow Inside.
and How to pass this from URLHi,
url-invoke-allowed is only required if the task flow itself is directly accessible from a browser (which is not the case at all if the task flow uses page fragments). To pass input parameters to a task flow that is embedded in a region and that has input parameters, you define the input parameters on the taskFlow Id that is created in the PageDef file of the containing page. To learn ADF task flows, have a look at the videos below. They also contain a sample for passing parameters to a region
http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/taskflow-overview-p1/taskflow-overview-p1.html
http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/taskflow-overview-p2/taskflow-overview-p2.html
Frank -
How to Pass Parameter/Value to the second page????
Hi,
I am trying to display same popup window when I click on ADD,UPDATE and VIEW buttons. I don’t have any problem in displaying the popup when I click on ADD and UPDATE button but with VIEW button I wanted to display the popup at read only mode. In order to do that I have created a bean with session scope and set a ‘SetActionListener‘on VIEW button and set ‘from’ property to true and ‘to’ property to "#{IndividualSummaryDetails.readOnlyAddress}". I could not pass the value of readOnlyAddress to the popup. How can I pass the value of readOnlyAddress to the popup?
This value becomes true when I click on view button. If I pass that value to the popup then I can set the read only property of the fields on the popup with that value. So that the fields become read only.
Here is my View button
<af:commandButton text="#{CoreProperties['Global.commandButton.View']}"
windowHeight="450" windowWidth="600"
useWindow="true"
action="dialog:FromIndividualSummaryDetailsToAddress"
id="justView">
<af:setActionListener from="#{true}"
to="#{IndividualSummaryDetails.readOnlyAddress}"/>
Here is my Bean
public class IndividualSummaryDetails {
private Boolean readOnlyAddress;
public IndividualSummaryDetails() {
readOnlyAddress = true;
public Boolean isReadOnlyAddress() {
return readOnlyAddress;
public void setReadOnlyAddress(Boolean readOnlyAddress) {
this.readOnlyAddress = readOnlyAddress;
This value becomes true when I click on view button. If I pass that value to the popup then I can set the read only property of the fields on the popup with that value. So that the fields become read only.
Message was edited by:
V.PirabaWe need to use portlet events for sending parameters across different pages.
Following documents can give you insight on this :
1. http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/PRIMER.PORTLET.PARAMETERS.EVENTS.HTML
2. http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/DESIGNING.PAGES.USING.PDKJAVA.SAMPLE.EVENT.WEB.PROVIDER.HTML
-AMJAD. -
Passing parameter from url to procedure
i used to pass parameters from url to procedure like
host:port/dads/schema.procedure(para_1, para_2, ...)
for example
http://localhost:7777/pls/login('UK',1,0)
they have been working perfectly before, when i had 8i and webdb.
but now i'm running 10g, and browser returns error page 400 when i click the above links.
i know i can do
host:port/dads/schema.procedure?para_1=value1¶2=value2...
for example
http://localhost:7777/pls/login?language=UK§ion=1&timezone=0
and this is what have been suggested in documentation of 9i and 10g
however i have quite a few webpages written in the former syntax and they used to work with 8i and 9i.
i don't want to change all the links in web pages, i prefer to stick with old style.
any one has any idea? is there a switch i should take care of? i checked apache conf files (httpd, mod_plsql, dads) but didn't get it.
ps for 10g companion, i installed http server (apache) only, no html db.
another question is
with brackets() in url, strings are to be quoted by ' ', but with question mark (?), single quote ' ' must not be used, is that what it has to be?
Thanks a lotanyone have been using this?
http://host:port/dads/schema.procedure(para1,para2,..) -
Hi Guys, there used to be a forum or KB article about how to pass a url parameter from one page to another to populate a form field on the second page. I cant seem to find this on the new forums, can anyone point me in the right directions?
Cheers
MalcolmAll you need to do is add ?youparam=value at the end of you url of the page your sending through, or append to an action on a form.
IF there is more then one parameter you separated these with & ...
/pagefile?yourparam=value&another=value2
Renders - /pagefile?yourparam=valueanother=value2
This is with page with no file extension which you can do in BC.
To fetch the value in another page you use {module_url,yourparam} so an input value would be value="{module_url,yourparam}" -
Passing parameter in URL (forms 10g)
Hi,
I'm using forms 10g (904) and I need to pass in a paramter when the form starts. I have created a parameter and it works when I debug.
But when I run it on Oracle Application Server, how do I pass the parameter in the URL? I have tried ¶meter_name=parameter_value, but it does not seem to work.
Thanks.
WJHi everyone,
When I tried the prior suggestion that parameter was not actually passed into the URL. Instead it is passed into the set of named parameters defined in the generated <Object> tag for the forms applet.
That is useful to know but what I want to do is permit the forms applet to access name-value pairs in the actual forms URL.
Does anybody know how this is done?
Also if anybody knows how to permit the forms applet to access client side environment variables (or even registry keys) without resorting to using java I would be grateful for the advice.
Basically it seems to there are several ways to access such values server side but I cannot find any way to access those values client side.
The task I have in mind is to load some properties which are configured on the clients' machine and which differ from client to client.
Thanks everybody,
Chris -
hi,
I using <netui:anchor> to invoke an action.
and withthin the end tag , i using <netui:parameter> to pass the value to next
page.
is there any way to hide the passing parameter at URL.
is there any config file i can edit and pause all the method become "POST".
thanks for help.Hi Mark,
Check the below one .You dont need to specify structure at FORM ..part as it inherits the properties from PERFORM.
PERFORM create_alv_list TABLES t_table
USING alv_sku
i_events.
PERFORM create_alv_list TABLES t_table
USING alv_resource
i_events1.
*& Form create_alv_list
* text
* -->T_TABLE text
* -->P_TABNAME text
* -->P_EVENTS text
FORM create_alv_list TABLES t_table
USING p_tabname
p_events.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
it_fieldcat = i_fieldcat[] "You dont need to specify [] here
is_layout = i_layout
i_tabname = p_tabname
it_events = p_events
TABLES
t_outtab = t_table.
ENDFORM. "create_alv_list
Regards,
Venkat.O -
Passing parameter to the i18n text from xml view in fiori app
Hi,
Could somebody let me know how to pass parameter to get the i18n text inside xml view of a Fiori app.
For e.g. inside my i18n properties file i have a entry like:
PEC_ISSUE={0}issues of total{1}
inside xml i use it like {i18n>PEC_ISSUE}
but now how do i pass those 2 parameters to this ??
i know in javascript it works with , (comma) but does not work in xml. Any help...
Thanks,
AshishHi Michele,
I found it. Below is the example from my coding.
<Text text="{parts: [{path: 'i18n>PEC_to'}, {path: 'promoprocsteps>RetailPromotionSalesFromDate_E'},
{path:'promoprocsteps>RetailPromotionSalesToDate_E'}],
formatter: 'retail.promn.promotioncockpit.utils.Formatter.formatDatesString'}" />
So you have to create a formatter and pass all the strings to the formatter and then do it inside JS.
In JS you do it in this way:
i18n.getText(i18String, [newString, string2]);
i hope this helps.
Regards,
Ashish -
How to pass parameter when create view link
Hi,
I used R12 to implement OAF. I create a VO with paramenter such as SELECT item_code,parent_item_code,month_budget_id
FROM cux_ce_month_budget_lines_t
where month_budget_id=:1
But when I create VL for this VO. It seems the parameter :1 can not be passed.
Could some one to help lookinto this?
Best Regards,
EileenYou donot need to pass parameter while creating the View Link. Once the view link is created then you assign the bind parameter to the master VO and execute the View link. The Child VO would automatically be executed.
-
Passing Parameter to XSL document (in XDK forPL/SQL)
Here i' trying to pass parameters to my XSL document.But the value is not getting populated in the final document, can anyone help me on this.,.?
// This is how i 'm passing parameter value to the XSL
xslprocessor.setParam (styles,'p_batch_name','batch1');
// Applyting stylesheet(xsl) with XMLdoc and storing it in a DOM node
docn := xmldom.makeNode(xslprocessor.processXSL(engine,styles,doc));
My XSL is like this
<INSERT xsl:version="1.0" xmlns:xsl ="http://www.w3.org/1999/XSL/Transform">
<xsl:param name="p_batch_name"/>
<ROWSET table="abc">
<xsl:for-each select="rowset/row">
<ROW>
<batch_name>"{$p_batch_name}"</batch_name>
</ROW>
<xsl:for-each>
</ROWSET>
<INSERT>
But in the final document, the value (batch1) is not getting
populated. it is coming as null .
Can anyone help me ...
nullThis does not work because of the following two things:
[list=1]
[*]The value of a parameter is interpreted as an XPath expression. Passing a value of batch1 will be interpreted as the XPath expression batch1 that will try to match any <batch1> child elements of the root of the source document. You need to include the value in quotes to have it be interpreted as a literal string:xslprocessor.setParam (styles,'p_batch_name','"batch1"');[*] The setParam method can only set the value of "top-level" stylesheet parameters. In your stylesheet, you've illegally used <xsl:param> inside a template. You need to switch from the "simple form" of a stylesheet to the "normal form" of the stylesheet to use a top-level parameter. So instead of:<INSERT>
</INSERT>
[code]
you need instead:
[code]
<xsl:stylesheet>
<xsl:template match="/">
<INSERT>
</INSERT>
</xsl:insert>
</xsl:stylesheet>[list]
null -
Unable to pass parameter in oracle procedure through unix shell script
Hi Experts,
I have oracle procedure where in I have to pass the value of procedure parameter through unix script.
Follwoing is the sample procedure which i tried to exceute from the unix.
Procedure:
create or replace procedure OWNER.PRC_TESTING_OWNER(OWNER IN VARCHAR2) AS
sql_stmt varchar2(1000) := NULL;
v_count number := 0;
v_owner varchar2(100) := owner;
begin
sql_stmt:='select count(1) from '||v_owner||'.EMP@infodb where rownum<=10';
execute immediate sql_stmt into v_count;
DBMS_OUTPUT.PUT_LINE(sql_stmt);
DBMS_OUTPUT.PUT_LINE(v_count);
END;The script which I used is:
Unix
#!/bin/ksh
parm=$1
echo start
sqlplus -s scott@DEV/tiger <<EOF >>result_1.txt
set serveroutput on;
select '$parm' from dual;
exec owner.PRC_TESTING_OWNER('$parm');
EOFThe script is working fine that is i am able to pass to parameter value through unix shell script. :)
But if I want to pass the value of the owner in cursor , I am unable to pass this value through unix.
Following the procedure which i am trying to implement.
create or replace procedure OWNER.PRC_TESTING_OWNER(OWNER IN VARCHAR2) IS
v_owner varchar2(100) := owner;
CURSOR main_cur IS
select
i.ROWID rid ,
emp_name,
deptid
from v_owner.employee;
CURSOR subset_cur(c_deptid NUMBER ) IS
SELECT *
FROM v_owner.DEPT d
where d.dept_id=c_deptid;
--##main loop
FOR i IN main_cur LOOP
FOR j IN subset_cur(i.deptid) LOOP
BEGIN
insert into v_owner.RESULT_TABLE
END;
END LOOP;
END LOOP;How can i pass parameter value of the stored procedure through unix script(that is "owner" in this case), when these parameter value is
used in cursor? :(
Can anybody help me regarding the same?
Thanks in Advance !! :DIt's not the parameter in the cursor that is the problem, it's that you are trying to use static SQL for something that won't be known until run time (the owner of the table).
You would need to use something like ...
declare
l_owner varchar2(30) := 'SCOTT';
l_ref_cursor sys_refcursor;
type l_ename_tab is table of scott.emp.ename%type;
l_ename_array l_ename_tab;
begin
open l_ref_cursor for
'select ename
from ' || l_owner || '.emp';
loop
fetch l_ref_cursor bulk collect into l_ename_array limit 10;
exit when l_ename_array.COUNT = 0;
for x in 1 .. l_ename_array.count
loop
dbms_output.put_line(l_ename_array(x));
end loop;
end loop;
close l_ref_cursor;
end;
SMITH
ALLEN
WARD
JONES
MARTIN
BLAKE
CLARK
SCOTT
KING
TURNER
ADAMS
JAMES
FORD
MILLER
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.01 -
Passing parameter to the URL in UWL
Hi ,
We are sending the workitem from ECC to UWL and all these works fine.
We have a custom form that opens from the UWL workitem on the click of a button 'Launch URL' . We need to pass a name into the cutom form while it opens.
We are using the Task visualization in the SWFVISU.
Visualization type = Portal page
DYNPARAM = zname=${item.externalld}.
But the URL opens with a null value. Kindly help.
- LizHi,
please check the following OSS notes;
<a href="https://service.sap.com/sap/support/notes/1015257">Note 1015257 - Need to enter escape characters for direct input in Variable</a>
<a href="https://service.sap.com/sap/support/notes/1062214">Note 1062214 - Errors with direct input in web variable screen</a>
hope this helps...
Olivier.
Maybe you are looking for
-
so i get up pretty early every day, 4am. my health app doesn't seem to restart the day. when I open my health app in the morning it gives me all of my data from yesterday. how many steps I walked, etc. but doesn't show any of today's data? I noticed
-
Issue related to "Document Set Version History" option for Video uploaded in Asset library
Hi, When user clicks on 'Document Set Version History' option from context menu (ellipsis) of a particular video, 'Sorry, something went wrong' message is shown. The error message also says, versions are currently disabled for this document library.
-
Hi everyone i am in testing environment and i dont wanna try this but do correct me with the syntax as i am running out of time REM @echo off Setlocal enabledelayedexpansion Set target=\\remoteserver\E$\Secondary_Backup\%date:~0,3% If not exist %targ
-
Urgent! Please help! Lost all my fonts and can't print!
Hi folks, I have suddenly lost all my fonts from Illustrator (not from PhotoShop or other Adobe products) and now I can't print from Illustrator to any of my printers either. I'm on a windows machine, which I'm not too used to as I'm a mac user most
-
How to hide a column while displaying alv......but i need to get the value from the hidden field on click event.