Launch a url by passing a parameter
Hi,
i need to call a jsp from a form(CRM Service Request form ) by passing a field value from that form ..
how can i approch ... anyone pls suggest me ..
i am able to launch a url through personalization ..Is there any possibility pass a field vale to that url(like Parameter) ...
Regds,
kumar
hi ,
i tried that doc 420541.1already its working fine ...but i need to pass a value to that url as
parameter from that form...
if not possible through personalization Is there any other alternate ..?
Regards,
kumar
Similar Messages
-
Using Go URL to Pass parameter between dashboard
Hi All,
I am trying to pass parameter using GO URL functionality from one dashboard analysis field to another dashboard.
The navigation is working properly but the parameter is not getting passed, I am not sure why.
The Called dashboard has a analysis which has IS PROMPTED filter attached to it for the passing filter. I tried various ways to make this work
Option 1
In the calling analysis, I am using a Narrative View and inside I have used the below code.
<a href="saw.dll?Go&Path=/shared/MI/_portal/Client-MI&Page=Supplier%20Detail%20Tab&Action=Navigate&P0=1&P1=eq&P2=Dim%20Supplier.Supplier%20Name%20Current&P3=1+%22STR%20LTD%22"> @2[br/]
This one navigate but filtering is not happening
Option 2 (My first preference will be this option)
Also I tried to provide custom Data Format under the column Properties
[html]"<font class="nav" onclick=\"JavaScript:GoNav(event, '/shared/MI/_portal/Client-MI/Supplier Detail Tab','Dim Supplier','Supplier Name Current','"@"');\">"@"</font>
This ends up giving error
Type mismatch of catalog object /shared/MI/_portal/Client-MI/Supplier Detail Tab -- expected , got .
Error Details
Error Codes: UVWDR6UA
Also, both the tabs (Called and Calling are under the same Dashboard)
Can anyone please let me know, were I am making mistake. I tried refereeing Oracle documentation but still no result.
ThanksLooks like you've got it almost right - just an extra unneeded "
<a href="two.jsp"?ant=<%= ant %>"><%=antName%></a>
which should render on the page as something like
My Ant Task
When you click the link, it should pass that parameter, and you can get it via request.getParameter(). -
How do I pass a parameter to a portlet on the URL?
I have a portlet on one tab that searches for parts. (This portlet is written and maintained by someone else.) When a user clicks on a part number in the result set on this portlet they need to be taken to another tab (different portlet on the same page) with that part number as a parameter. The second portlet then dynamically writes an
<iframe src="http://someurl?partnumber=xyz" />
to call an external application passing the part number as a URL parameter to the external application.
Writing the <iframe /> dynamically is no problem. The problem is passing the part number from one portlet to another. We planned to do this by using hrefs in the part search portal using URLs like
http://hostname:port/pls/portal/url/page/test1/portlet2?partnumber=xyz
for each part number. The problem is that the URL parameter doesn't get passed to the second portlet. Here is the code in the second portlet:
<%
PortletRenderRequest portletRenderRequest =
(PortletRenderRequest)request.getAttribute("oracle.portal.PortletRenderRequest");
String partnumber = portletRenderRequest.getQualifiedParameter("partnumber");
%>
It always sees null for the partnumber parameter.
I also have <passAllUrlParams>true</passAllUrlParams> in provider.xml.
I've tried checking this by calling the URL of the second portlet directly from a browser. The portlet sees the partnumber parameter as null, but the URL window in the browser returns the modified URL from the portal with the partnumber parameter set properly. Portal is seeing the parameter but not passing it to the portlet.
I haven't tried actually setting the in the first portlet and seeing if it all works when called from inside the portal, but I don't see why it shouldn't work by calling the second portlet URL directly with a parameter.
Am I missing some step in order to pass a parameter from one portlet to another? The parameters I have to pass are dynamic, based on the result set returned by a search in the first portlet.My second to last paragraph should have been:
"I haven't tried actually setting the hrefs in the first portlet and seeing if it all works when called from inside the portal, but I don't see why it shouldn't work by calling the second portlet URL directly with a parameter." -
Launching a page by passing parameters in the URL
My app has a page sentry function that sets the APP_USER using the Apache mod_ntlm module to the Windows domain user. I check security for each page in a custom table that I maintain.
If I try to launch a page by passing parameters in the f?p= URL like
f?p=100:1:::::P1_ID:10
since I dont have a session yet, the page sentry generates a session for me and redirects to the page (100:1), but I lose my parameters (P1_ID)
How can I preserve the entire URL in this case?
ThanksI modified the page sentry function like you suggested.
Launched f?p=102:51:::::P1_ID:1234
This got redirected to
f?p=102:51:2458638498649564102
My debug table has 8261051781657854662
When I inspected session state for 2458638498649564102 using Workspace XXX>Manage Workspace>Session State Management>Recent Sessions>Session State
it had no entry for FSP_AFTER_LOGIN_URL. All it had was
- - - 1:15:0:0
- - - 1:15:0:0
- - - 1:15:0:0
- - - 1:15:0:0
There is no entry for 8261051781657854662
Thanks for your continued help. Appreciate it. -
Passing a Parameter to URL based Iview BW report
Hi,
Can anyone let me know how to Pass a Parameter to a URL based Iview BW report.
The URL is as follows: I have the Variable Name as VAR_CISNUMBER and the Value for it should be Populated as 100020.
http://cnqdc01605.bsp.corp.net:50100/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=CR_QUER1&VARIABLE_SCREEN=X&DUMMY=2
Immidialte help will be Very much appreciated. Lots of Post are there related to this but none of them is solving my issue. If any one can use the same URL provided above and give me Proper URL which will fetch me correct record.
Regards
Vishwanath
Message was edited by:
Vishwanath SrinivasanHi Vishwanath,
this URL should work:
http://cnqdc01605.bsp.corp.net:50100/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=CR_QUER1&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=VAR_CISNUMBER&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=100020
Regards,
Nils -
Passing Search Parameter to SRM-MDM Through the URL
Greeting all,
I would like to know how I can pass a search parameter to SRM-MDM using the URL in the web browser. This is needed to display the result directly instead of listing the whole catalog contents.
I am trying to pass a search parameter (Text string) to the catalog through an R/3 SAP system. As a result, it should give only the material that I am looking for.
I tried the "Background Search" as described in the OCI-specification paper but still couldn't get it!
By using the parameters mentioned in chapter 3.2.4 of OCI-specification paper, I did the recommended configuration and use the following URL but still failed to pass the parameter: http://....&FUNCTION=BACKGROUND_SEARCH&SEARCHSTRING=searchterm
Can anyone help me on that?!
Regards,
YousifHi Yousif,
Why dont u save the search as a named search in MDM and then pass it onto the SRM MDM.
Save the records as Named search in MDM Data Manager
For eg:
Named Search name -->> search1
Now while passing the parameters to the SRM MDM Catalog specify the Named Search in its url.
http://J2EESERVER:PORTNO/SRM-MDM/SRM_MDM?sap-locale=EN&HOOK_URL=&mask=&namedSearch=search1&username=Admin&password=PASSWORD&catalog=REPOSITORYNAME&server=MDMSERVERIPADDRESS&datalanguage=EN
After passing the named search in the hook url the you will be able to see only the search which was saved in Data Manager.
Hope dis helps u
Regards Tejas......... -
Passing Dynamic Parameter to URL
Hi All,
I have a Webdynpro Application, where I am calling a separate iView through a URL (Quick link to that iView) using a LinkToAction UI element.
Now, we need to pass a parameter (say Part Number) to the external iView through our webdynpro application.
The external iView when called should be filled with a value by default. This value has to be retreived on some parameter from the main application.
Can anybody suggest how to achieve this? We are presently using a common URL, so when the external window opens the iView will be blank. But now we need that when the user navigates to the external window, it should appear with the corresponding value.
How can we make the URL to pass dynamic parameters?
Any suggestions on this will be appreciated.
Thanks,
Becky.Hi Becky,
A Web Dynpro application can get URL parameters passed to the iView with the following code:
WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter();
You can send URL parameters to a Web Dynpro page in the following ways:
● Add to the URL a parameter called DynamicParameter, whose value is a set of key-value pairs to send to the page.
The following is the format for the DynamicParameter parameter:
DynamicParameter="param1=value1¶m2=value2&"&
The value ("param1=value1¶m2=value2&") must be URL encoded.
● Add to the URL parameters that start with sap-.
● Add parameters to the businessParameters parameter of the navigateAbsolute() or navigateRelative() method, as described in Absolute Navigation and Relative Navigation.
iView Parameters
The following are the URL parameters that get passed to each iView on the page, and then to the underlying Web Dynpro application:
· The static parameters defined in the Application Parameters property for each iView. The property value is a set of key-value pairs in the following format:
param1=value1¶m2=value2&
· The parameters passed to the page (those defined in the DynamicParameterparameter as well as all parameters starting with sap-).
For isolated iViews in a Web Dynpro page, only the parameters specified in the Parameters to Pass from Page Request property for each iView are passed to that iView.
The property value is a list of parameter names, separated by commas, as follows:
param1,param2,param3
To specify all parameters, enter an asterisk (*).
We did same for one of the requirement in our project let us know if you have any issues.
Regards
Jeetendra -
I need to change a nls parameter on a web form. But i can´t change webforms.cfg or alter this parameter on the database. Can I change this parameter on the url tha calls the forms or something like that? i´m using formsweb 6i.
ThanksHi Becky,
A Web Dynpro application can get URL parameters passed to the iView with the following code:
WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter();
You can send URL parameters to a Web Dynpro page in the following ways:
● Add to the URL a parameter called DynamicParameter, whose value is a set of key-value pairs to send to the page.
The following is the format for the DynamicParameter parameter:
DynamicParameter="param1=value1¶m2=value2&"&
The value ("param1=value1¶m2=value2&") must be URL encoded.
● Add to the URL parameters that start with sap-.
● Add parameters to the businessParameters parameter of the navigateAbsolute() or navigateRelative() method, as described in Absolute Navigation and Relative Navigation.
iView Parameters
The following are the URL parameters that get passed to each iView on the page, and then to the underlying Web Dynpro application:
· The static parameters defined in the Application Parameters property for each iView. The property value is a set of key-value pairs in the following format:
param1=value1¶m2=value2&
· The parameters passed to the page (those defined in the DynamicParameterparameter as well as all parameters starting with sap-).
For isolated iViews in a Web Dynpro page, only the parameters specified in the Parameters to Pass from Page Request property for each iView are passed to that iView.
The property value is a list of parameter names, separated by commas, as follows:
param1,param2,param3
To specify all parameters, enter an asterisk (*).
We did same for one of the requirement in our project let us know if you have any issues.
Regards
Jeetendra -
Launching the URL in the same window
I have a view with some data and couple of buttons. When i click on a button, an url has to be opened in the same window.
For that, i have defined an exit plug at the window with an optional url parameter and the on action of the button click, i am firing the window exit plug by passing the url value in the parameter.
When i click on that button i got the exception like " URL parameters specified for an exit or suspend plug, but no URL specified
Can anyone suggest ?Hi,
If ur launching URL of other Web Dynpro Component,
U can do this way... For example Comp-A and Comp-B ( URL)
Emdeb the Comp-B in Comp-A by using component usages.
1.In the view of Comp-A..suppose iam having a Button.Place a View Container in the same View
2. Create an out bound Plug For View of Comp-A.
Go To Window OF Comp-A.
1 . Right Click to Embed,u will find the Comp-B's interface View , embed that one into View Container of the Comp-A
2 .Maintain Navigatin Link From Out-Bound Plug Of the View to Default Plug of the Comp-B's interface View .
ON Action Of the Button.Fire that out Bound Plug of the view
Thanks & Regards,
Naga Prakash -
How to pass Cascading Parameter in SSRS using Java
How to pass Cascading Parameter in SSRS using Java---
We are having a problem with dependent parameters.There are three drop down--
1.first dropdown is of Country.When we select a country--Accordingly next dropdown(State)will populate
2.Second dropdown is of State. When we select a state--Accordingly next dropdown(City)will populate.
I have three data sources are
CountryList-
SELECT CountryRegionCode, Name
FROM Person.CountryRegion
ORDER BY Name
StateList
SELECT StateProvinceID, StateProvinceCode, CountryRegionCode
FROM Person.StateProvince
WHERE CountryRegionCode = @CountryRegionCode
ORDER BY StateProvinceCode
CityList
SELECT StateProvinceID, City
FROM Person.Address
GROUP BY StateProvinceID, City
HAVING (StateProvinceID = @StateProvinceID)
ORDER BY City
Ihave to show report that has been deployed on server on the besis of these parameters
I am using ReportViewer in JSP Page through url--
http://192.168.90.149/ReportServer/Pages/ReportViewer.aspx?%2fReport+Project1%2fCascading_Parameters&rs:Command=Render&rs:parameter=true&Country="+Country+"&State="+State;
But it is not accepting parameter if they are cascaded.It is working fine if Both parameters are independent.
Edited by: kaushlee on May 11, 2010 9:22 PMTake a look at set_custom_property:
public static final ID SETTEXT = ID.registerProperty("SETTEXT");
public boolean setProperty(ID pid, Object value)
if (pid == SETTEXT)
String text = value.toString();
and in forms
set_custom_property('beans.bean_item', 1, 'SETTEXT', 'some text');
cheers -
Passing a parameter from one class to another class in the same package
Hi.
I am trying to pass a parameter from one class to another class with in a package.And i am Getting the variable as null every time.In the code there is two classes.
i. BugWatcherAction.java
ii.BugWatcherRefreshAction.Java.
We have implemented caching in the front-end level.But according to the business logic we need to clear the cache and again have to access the database after some actions are happened.There are another class file called BugwatcherPortletContent.java.
So, we are dealing with three java files.The database interaction is taken care by the portletContent.java file.Below I am giving the code for the perticular function in the bugwatcherPortletContent.java:
==============================================================
public Object loadContent() throws Exception {
Hashtable htStore = new Hashtable();
JetspeedRunData rundata = this.getInputData();
String pId = this.getPorletId();
PortalLogger.logDebug(" in the portlet content: "+pId);
pId1=pId;//done by sraha
htStore.put("PortletId", pId);
htStore.put("BW_HOME_URL",CommonUtil.getMessage("BW.Home.Url"));
htStore.put("BW_BUGVIEW_URL",CommonUtil.getMessage("BW.BugView.Url"));
HttpServletRequest request = rundata.getRequest();
PortalLogger.logDebug(
"BugWatcherPortletContent:: build normal context");
HttpSession session = null;
int bugProfileId = 0;
Hashtable bugProfiles = null;
Hashtable bugData = null;
boolean fetchProfiles = false;
try {
session = request.getSession(true);
// Attempting to get the profiles from the session.
//If the profiles are not present in the session, then they would have to be
// obtained from the database.
bugProfiles = (Hashtable) session.getAttribute("Profiles");
//Getting the selected bug profile id.
String bugProfileIdObj = request.getParameter("bugProfile" + pId);
// Getting the logged in user
String userId = request.getRemoteUser();
if (bugProfiles == null) {
fetchProfiles = true;
if (bugProfileIdObj == null) {
// setting the bugprofile id as -1 indicates "all profiles" is selected
bugProfileIdObj =(String) session.getAttribute("bugProfileId" + pId);
if (bugProfileIdObj == null) {
bugProfileId = -1;
else {
bugProfileId = Integer.parseInt(bugProfileIdObj);
else {
bugProfileId = Integer.parseInt(bugProfileIdObj);
session.setAttribute(
("bugProfileId" + pId),
Integer.toString(bugProfileId));
//fetching the bug list
bugData =BugWatcherAPI.getbugList(userId, bugProfileId, fetchProfiles);
PortalLogger.logDebug("BugWatcherPortletContent:: got bug data");
if (bugData != null) {
Hashtable htProfiles = (Hashtable) bugData.get("Profiles");
} else {
htStore.put("NoProfiles", "Y");
} catch (CodedPortalException e) {
htStore.put("Error", CommonUtil.getErrMessage(e.getMessage()));
PortalLogger.logException
("BugWatcherPortletContent:: CodedPortalException!!",e);
} catch (Exception e) {
PortalLogger.logException(
"BugWatcherPortletContent::Generic Exception!!",e);
htStore.put( "Error",CommonUtil.getErrMessage(ErrorConstantsI.GET_BUGLIST_FAILED));
if (fetchProfiles) {
bugProfiles = (Hashtable) bugData.get("Profiles");
session.setAttribute("Profiles", bugProfiles);
// putting the stuff in the context
htStore.put("Profiles", bugProfiles);
htStore.put("SelectedProfile", new Integer(bugProfileId));
htStore.put("bugs", (ArrayList) bugData.get("Bugs"));
return htStore;
=============================================================
And I am trying to call this function as it can capable of fetching the data from the database by "getbugProfiles".
In the new class bugWatcherRefreshAction.java I have coded a part of code which actually clears the caching.Below I am giving the required part of the code:
=============================================================
public void doPerform(RunData rundata, Context context,String str) throws Exception {
JetspeedRunData data = (JetspeedRunData) rundata;
HttpServletRequest request = null;
//PortletConfig pc = portlet.getPortletConfig();
//String userId = request.getRemoteUser();
/*String userId = ((JetspeedUser)rundata.getUser()).getUserName();//sraha on 1/4/05
String pId = request.getParameter("PortletId");
PortalLogger.logDebug("just after pId " +pId); */
//Calling the variable holding the value of portlet id from BugWatcherAction.java
//We are getting the portlet id here , through a variable from BugWatcherAction.java
/*BugWatcherPortletContent bgAct = new BugWatcherPortletContent();
String portletID = bgAct.pId1;
PortalLogger.logDebug("got the portlet ID in bugwatcherRefreshAction:---sraha"+portletID);*/
// updating the bug groups
Hashtable result = new Hashtable();
try {
request = data.getRequest();
String userId = ((JetspeedUser)data.getUser()).getUserName();//sraha on 1/4/05
//String pId = (String)request.getParameter("portletId");
//String pId = pc.getPorletId();
PortalLogger.logDebug("just after pId " +pId);
PortalLogger.logDebug("after getting the pId-----sraha");
result =BugWatcherAPI.getbugList(profileId, userId);
PortalLogger.logDebug("select the new bug groups:: select is done ");
context.put("SelectedbugGroups", profileId);
//start clearing the cache
ContentCacheContext cacheContext = getCacheContext(rundata);
PortalLogger.logDebug("listBugWatcher Caching - removing markup content - before removecontent");
// remove the markup content from cache.
PortletContentCache.removeContent(cacheContext);
PortalLogger.logDebug("listBugWatcher Caching-removing markup content - after removecontent");
//remove the backend content from cache
CacheablePortletData pdata =(CacheablePortletData) PortletCache.getCacheable(PortletCacheHelper.getUserHandle(((JetspeedUser)data.getUser()).getUserName()));
PortalLogger.logDebug("listBugWatcher Caching User: " +((JetspeedUser)data.getUser()).getUserName());
PortalLogger.logDebug("listBugWatcher Caching pId: " +pId);
if (pdata != null)
// User's data found in cache!
PortalLogger.logDebug("listBugWatcher Caching -inside pdata!=null");
pdata.removeObject(PortletCacheHelper.getUserPortletHandle(((JetspeedUser)data.getUser()).getUserName(),pId));
PortalLogger.logDebug("listBugWatcher Caching -inside pdata!=null- after removeObject");
PortalLogger.logDebug("listBugWatcher Caching -finish calling the remove content code");
//end clearing the cache
// after clearing the caching calling the data from the database taking a fn from the portletContent.java
PortalLogger.logDebug("after clearing cache---sraha");
BugWatcherPortletContent bugwatchportcont = new BugWatcherPortletContent();
Hashtable httable= new Hashtable();
httable=(Hashtable)bugwatchportcont.loadContent();
PortalLogger.logDebug("after making the type casting-----sraha");
Set storeKeySet = httable.keySet();
Iterator itr = storeKeySet.iterator();
while (itr.hasNext()) {
String paramName = (String) itr.next();
context.put(paramName, httable.get(paramName));
PortalLogger.logDebug("after calling the databs data from hashtable---sraha");
} catch (CodedPortalException e) {
PortalLogger.logException("bugwatcherRefreshAction:: Exception- ",e);
context.put("Error", CommonUtil.getErrMessage(e.getMessage()));
catch (Exception e) {
PortalLogger.logException("bugwatcherRefreshAction:: Exception- ",e);
context.put( "Error",CommonUtil.getErrMessage(ErrorConstantsI.EXCEPTION_CODE));
try {
((JetspeedRunData) data).setCustomized(null);
if (((JetspeedRunData) data).getCustomized() == null)
ActionLoader.getInstance().exec(data,"controls.EndCustomize");
catch (Exception e)
PortalLogger.logException("bugwatcherRefreshAction", e);
===============================================================
In the bugwatcher Action there is another function called PostLoadContent.java
here though i have found the portlet Id but unable to fetch that in the bugWatcherRefreshAction.java . I am also giving the code of that function under the bugWatcherAction.Java
================================================
// Get the PortletData object from intermediate store.
CacheablePortletData pdata =(CacheablePortletData) PortletCache.getCacheable(PortletCacheHelper.getUserHandle(
//rundata.getRequest().getRemoteUser()));
((JetspeedUser)rundata.getUser()).getUserName()));
pId1 = (String)portlet.getID();
PortalLogger.logDebug("in the bugwatcher action:"+pId1);
try {
Hashtable htStore = null;
// if PortletData is available in store, get current portlet's data from it.
if (pdata != null) {
htStore =(Hashtable) pdata.getObject( PortletCacheHelper.getUserPortletHandle(
((JetspeedUser)rundata.getUser()).getUserName(),portlet.getID()));
//Loop through the hashtable and put its elements in context
Set storeKeySet = htStore.keySet();
Iterator itr = storeKeySet.iterator();
while (itr.hasNext()) {
String paramName = (String) itr.next();
context.put(paramName, htStore.get(paramName));
bugwatcherRefreshAction bRefAc = new bugwatcherRefreshAction();
bRefAc.doPerform(pdata,context,pId1);
=============================================================
So this is the total scenario for the fetching the data , after clearing the cache and display that in the portal.I am unable to do that.Presently it is still fetching the data from the cache and it is not going to the database.Even the portlet Id is returning as null.
I am unable to implement that thing.
If you have any insight about this thing, that would be great .As it is very urgent a promt response will highly appreciated.Please send me any pointers or any issues for this I am unable to do that.
Please let me know as early as possible.
Thanks and regards,
Santanu Raha.Have you run it in a debugger? That will show you exactly what is happening and why.
-
Passing a parameter list from a web form to a report
I am using FORMS6 and REPORTS6, with OAS 4.07 on NT4 (SP3).
In client server mode all works well - i am able to pass parameter lists from my calling form to the relevant reports and view them (using RUN_PRODUCT).
However, when i try and do the same by deploying the web Form I come up against several obstacles.
1. How do you pass a parameter list over without using "Paramform=Yes" - a waste of time seeing a html version of the reports parameter form when all the necessary parameters have been selected in the form.
2. if i use web.show_document, with paramform=no, the report runs but with it's default settings.
Any light you can shed would be greatly appreciated.Hi Tony ,
Launcher form is just a simple form(Non database form) which will be having all fields that is required for the report and button to run the report .
When button pressed trigger
Pass all the parameters which are required using Run_product tool & Call the report by Web.Show_document
Best way to see the report is in .pdf format in adobe acrobat reader
I hope it will help you
Bye
Rao guduru -
Extremely URGENT! How to pass a parameter from html to form?
Hi Guys,
I want to be able to pass a parameter to a Pre-Query trigger (from a html page to an Oracle form.) Right now, I hard coded the Pre-Query trigger
(i.e. set_block_property('datablock_name', default_where, 'tableName.fieldName = '||:datablock.field)
I want to be able to assign a value to the above datablock.field from an URL (i.e. something like http://localhost/dev60cgi/ifcgi60.exe?form=MODULE1.fmx&userid=&otherparams=fieldx=parameterSample
Does anyone know how to set that up within Oracle Forms. Thanks in advance.Hello. your you can create one it paginates similar to this...
<HEAD></HEAD>
<BODY >
<!-- Forms applet definition (start) -->
<OBJECT classid="clsid:86ecb6a0-400a-11d5-b638-00c04faedb18" codebase="/jinitiator/jinit.exe#Version=1,1,8,11" WIDTH="950" HEIGHT="560" HSPACE="0" VSPACE="0">
<PARAM NAME="TYPE" VALUE="application/x-jinit-applet;version=1.1.8.11">
<PARAM NAME="CODEBASE" VALUE="/forms60java/">
<PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
<PARAM NAME="ARCHIVE" VALUE="f60all_jinit.jar, ComponentesEsigfa.jar" >
<PARAM NAME="serverPort" VALUE="9000">
<PARAM NAME="serverHost" VALUE="MyServer">
<PARAM NAME="serverURL" VALUE="/servlet/oracle.forms.servlet.ListenerServlet?ifcfs=/servlet/f60servlet?config=servlet&form=fca_menu.fmx&otherparams=ejercicio=<%=request.getParameter("ejercicio")%>&useSDI=yes&lookAndFeel=generic&colorSchema=teal">
<PARAM NAME="connectMode" VALUE="HTTP">
<PARAM NAME="serverArgs"
VALUE="module=fca_menu.fmx userid=<%= request.getParameter("login")+"/"+request.getParameter("pwd")+ "@" +request.getParameter("base")%> ejercicio=<%=request.getParameter("ejercicio")%>">
<PARAM NAME="separateFrame" VALUE="false">
<PARAM NAME="splashScreen" VALUE="no">
<PARAM NAME="backgroun[i]Long postings are being truncated to ~1 kB at this time. -
How to pass a parameter into RMAN script
Hello,
I have the following rman script :
run {
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'c:\oracle\RmanORCL102\ora_df%t_s%s_s%p';
This script called configure.rman is launch by a .bat script with the following command:
rman target 'sys/sys12@ORCL102 as sysdba' @c:\oracle\RmanORCL102\configure.rman
How can I pass a parameter into rman script, I want to pass an additional directory like this:
rman target 'sys/sys12@ORCL102 as sysdba' @c:\oracle\RmanORCL102\configure.rman v_dir_name
And use it in rman script:
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'c:\oracle\RmanORCL102\$v_dir_name\ora_df%t_s%s_s%p';
Is it a way to do this?
Regards,
ElodieOne option would be to create a file called backup.bat with the following:
echo run {
echo CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
echo CONFIGURE CONTROLFILE AUTOBACKUP OFF;
echo CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
echo CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'c:\oracle\RmanORCL102\%1\ora_df%t_s%s_s%p';
echo } ) | rman target sys/sys12@orcl102and then call the script as:
c:\> backup.bat backup_directory_name -
Hi,
I need to pass a parameter for one lov and am trying to pass with the code:
In the page that calls the Lov step (vinculo = 1)
<bc4j:messageLovField
name="CodPessoaAluno"
attrName="CodPessoaAluno"
columns="10"
required="yes"
message="Informe o Nome do Aluno"
prompt="Codigo"
shortDesc="Clique no botao para escolher o Nome do Aluno"
onClick="openWindow(window,
'../../sigep/lov/LovPessoas.uix?vinculo=1',
'lovWindow',
{width:700, height:525},
true,
'dialog',
FunLovRetorno);
return false;">
</bc4j:messageLovField>
In the event of the Lov page I try to catch vinculo.
public static EventResult SgCreate( BajaContext bc, Page page, PageEvent event)
int vinculo = Integer.parseInt(event.getParameter("vinculo").toString());
String quantTrains =
"select max(nvl(rownum,0)) quant "+
"from pe_vinculos a " +
" ,pe_vinculo_grp_inf b " +
"where a.vinc_cod_vinculo = b.vinc_cod_vinculo " +
"and b.vigi_sta_ativo = 'S' " +
"and a.vinc_cod_vinculo = " + vinculo + " " +
"order by b.vigi_num_ordem " ;
However, null arrives in vinculo. How I can catch this value?
Fernando. parameter to lov and I try passHard to say; does the URL in the browser still contain "vinculo"? If you call PageEvent.getParameterNames(), do you see all (or any) of the parameters you expect?
Maybe you are looking for
-
How to Define Workbook / Business Ares Security Correctly for new Users
Hi All, Please could you help me understand the Security Model for Workbooks and business Areas as I believe I am very close to understanding it, but missing something important. Background Information: We are using the predefined Oracle Business Are
-
How can I delete a song from iCloud / iTunes Match, but keep it on my Mac?
How can I delete a song from iCloud / iTunes Match, but keep it on my Mac? I subscribed to iTunes Match a few weeks ago and my entire library was uploaded. I do not want all of my library in the Cloud, especially given that there is a space/song lim
-
Mac mini doesn't recognise audio CD's when trying to download
I'm trying to download a new audio CD I have bought to my Itunes library through Mac mini-however it doesn't recognise the CD and just spits it out. It has previously imported CD's. I have tried several different CD's to check CD not faulty but no di
-
Suppress values in Cross-Tab and Cross-Tab Chart if null
I am developing a cross-tab report that has no-values contributing to the summary in a number of cells. For instance, if I were to display the average value for the testing of particle-counts by the day of the month, and no testing was performed on
-
Help with downloading camera raw 8
Where do I find the webpage to download camera raw version 8?