Redirection of the application process
Hello
When we try to redirect using the application process get below error.
When the same process is tried to process Page it works fine.
We use 5 APEX. Tried owa_util.reirect_url and apex_util.redirect_url.
Any ideas?
Hi Arun,
Why don't you use a branch?
If you cannot you must always use apex_util.redirect_url. Can you provide an example of code you used? As it seems that the browser actually receives the redirection, but it seems that it is not correct. Use the function "Check system" and tab Net of Firefox to have a look at the answer and after that is returned by the server.
Concerning
Patrick
Tags: Database
Similar Questions
-
Question of the application process
+(First OFF, we're using ApEx 4.0 through IE8) +.
I have a report that serves as a "shopping bag" of sorts, with a "Delete" button to cancel the Articles of him. But the button 'Delete' is not to go to the page, it leaves just a blank white page. (Fortunately, the process works in the removal of the element)
The link to the column in the report Page 11 goes back to Page 11. (I tried to change to a new Page 12, including a few branches immediately back to the 11 Page, but it does not solve the problem) The link name is APPLICATION_PROCESS = REMOVECART, clears the cache on Page 11 and sets the value of a hidden element (P11_ITEMCODE) to be referenced in the App.Process.
The REMOVECART process is a SQL/PL block running On-Demand"that says:
DELETE FROM INFO_CART WHERE ITEMCODE =: P11_ITEMCODE;
UPDATE the STATUS value INFO_INDEX = 'In', ORDEREDBYUSERID = '0' where ITEMCODE =: P11_ITEMCODE;
There is no Conditions, permissions or authentication on the process or the link in the column. Ideas, why the process is not back to the Page based on its execution?It appears when you run the application process of the URL which deal with the application will run and that's it. You will need to provide a code in the process of redirection request to the url of the page you want to go.
Another option is to create a process to run the application process and make it conditional to a certain request value that you can set in your link. Look at the page 4 ("basket 2") for an example.
-
Hey people,
I was puzzled on this the last bit of time and can't seem to find a solution. (The closest thing I could find is here: http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Webapp-not-starting-on-device-VM... but there does appear to be a response [UPDATE: Adam Stanley mentioned that it was due to a missing Debug token, and this isn't the case for me.])
When I try to "Package & launch" of the ripple, the project is created correctly and even installs the application on the device (is the application icon on the home screen). However, when he tries to run the application, the console of the ripple spit:
"Error: cannot create the application process: operation not permitted".
Any later attempt to open the application from the icon on the screen will result in an immediate fall.
As an attempt to circumvent, I use "Package & sign" and then run the blackberry-deploy with installApp - launchApp - tool options and... it generates the same error as described above.
I'm working on OS X, and I successfully installed the Webworks SDK as well as the undulation on Chrome Plugin. I have a project together upward with a running python web server and can view the content properly on the ripple. I have my signature correctly registered keys and I generated the file debugtoken.bar. I downloaded the debugtoken on the alpha dev successfully device and placed a copy of the debugtoken.bar file in the root folder of the SDK Webworks. The unit is in developer mode.
Someone at-troubleshooting suggestions?
[Edited for format (original post deleted line breaks) and also to highlight a number of things]
So after getting back to the question, I loaded build with the SDK 1675 Webworks (1.0.4.5) published today, and I was able to go beyond the permission error that plagued me previously.
Thanks again for the help Adam.
-
4.2 DOC BUG: all about the application process
"There is an error in Oracle Application Express Application Builder User Guide version 4.2 §8.8.1 " "on the implementation of the application process":
A process On Demand is a special type of procedure of demand that has a Point of On Demand process and executes when it is called from a process On demand page level or a browser AJAX call. On-demand processes are useful when you have logic of PL/SQL that you want to run different execution points on several pages.
At the request of the process generally must be created on a page and not at the level of the application. On request, process created at the application level are created with an initial authorization scheme of must not be Public user. This prohibits the process invoked with users in authenticated sessions.
As it is perfectly possible (and desirable) at the request of the application process to be invoked, [that] by authenticated users, this should probably read:
A process On Demand is a special type of procedure of demand that has a Point of On Demand process and executes when it is called from a process On demand page level or a browser AJAX call. On-demand processes are useful when you have logic of PL/SQL that you want to run different execution points on several pages.
At the request of the process generally must be created on a page and not at the level of the application. On request, process created at the application level are created with an initial authorization scheme of must not be Public user. This forbidden process be invoked from users not authenticated sessions.
In addition, the second paragraph is a new addition to the documentation for APEX 4.2. What is the reasoning for not creating processes on request at the application level? I've used them for a few years as a way to provide reusable, application- wide (for example, the file downloads and the AJAX content) only items authenticated Apex sessions.
Hello
Thanks again. I added a note to the 5.0 docs.
It is certainly very good create processes at the level of applications On Demand. However, if a process is tied to a single page, only, it is immediately obvious that the process belongs to the interface of this page. It's good from a maintenance point of view, because if you only use application-level processes, it may be more difficult to determine if the process is still in use and where it is called from.
Kind regards
Christian
-
How to set the value of the point of application using pl/sql in the application process
Hi guys,.
I want a global variable (application point) whose value will be set to start when a user logs on to the application. The value will be retrieved from the database by using a sql query. I don't exactly know the syntax to set the value of the point of application in the application process. Also, I want to know what type of enforcement process should I use to set the value of the point of application, when a user starts a session. The value of the point of application varies from one user to the user.
Help, please.
I use apex 4.2
Kind regards
Waqas
You can use the application element as a link with his name. That is to say. your point of application is named G_MY_APPLICATION_ITEM, then you can / set of access using: G_MY_APPLICATION_ITEM.
For example
BEGIN
-assign as a variable
: G_MY_APPLICATION_ITEM: = 'LARRY ';
--
-use in a SQL statement
SELECT WHATEVER_COLUMN
IN: G_MY_APPLICATION_ITEM
FROM MY_TABLE
WHERE USERNAME =: APP_USER
;
END;
Peter
-
To access the settings of ajax in the application process
Hello
I have an ajax call, submitting a parameter called cBoxKey.
var get = new htmldb_Get(null,$v('pFlowId').value,'APPLICATION_PROCESS=TrackRows',0); get.add('cBoxKey','NOTREQUIRED'); get.get();
In the application process I can access the parameter 'cBoxKey' like below;
declare l_checkBoxKey varchar2(4000); begin -- -- Get the value of the global which will be set in JavaScript -- l_checkBoxKey := wwv_flow.g_cBoxKey;
However, this does not seem to work because when I replace
l_checkBoxKey := wwv_flow.g_cBoxKey;
with
l_checkBoxKey := 'NOTREQUIRED';
The application process is called and produces results (through the ajax call).
In my view, that the question is how access the "cBoxKey" parameter in the application process.
Any ideas on what could be wrong.
Thank you.
Hello
I check any specification of package APEX version wwv_flow, there is no variable of g_cBoxKey.
If you have idea there?
Change your JavaScript for
var get = new htmldb_Get(null,$v('pFlowId').value,'APPLICATION_PROCESS=TrackRows',0); get.addParam('x01','NOTREQUIRED'); get.get();
And then access process on demand as
l_checkBoxKey := APEX_APPLICATION.g_x01;
Kind regards
Jari -
adding additional drives in the application process
Hi, how it is possible to add additional disks in the application process? Now, go in the settings of the virtual machine in vCenter client to add disks after the virtual machine has been created in LCM. We take for the applicant specify how many additional disks and what size (just not RDM VMDK)
Thank you
It can get quite complicated because this is certainly not the standard features of LCM and would not be supported by VMware if this customization is not performed by the team of the Orchestration Services of our Professional Services organization... However, that being said, a general approach would be as follows:
Duplicate the workflow application for Virtual Machine to the category of workflow custom under user and give a custom name like ask VM
Add new entries to the custom workflow that are something like: additionalDiskCount (number) and additionalDiskSize (number) (which implies that all the additional disks would be the same size)
Update the workflow to store these values by using a standard LCM Action such as:
System.getModule("com.vmware.lcm").addDataToTokenKeyAsString (provisioningToken, additionalDiskCount, "additionalDiskCount");
System.getModule("com.vmware.lcm").addDataToTokenKeyAsString (provisioningToken, additionalDiskSize, "additionalDiskSize");
The two lines above will store the specified user to other values that the token of data in the database of LCM and you will be able to get it back later because it is related to this particular request token.
Hide the initial request button of the tab requests and create a new button that points to your custom workflow
Create a new workflow that takes an object of lcm:ProvisioningToken as an entry called "token".
Inside of this workflow (let's call it 'Add disks to ask'), you will need to retrieve the additionalDiskCount and additionalDiskSize values that have been stored with the token:
additionalDiskCount = System.getModule("com.vmware.lcm").getDataFromTokenKeyAsString (token, "additionalDiskCount");
additionalDiskSize = System.getModule("com.vmware.lcm").getDataFromTokenKeyAsString (token, "additionalDiskSize");
You then get the object of VMware3:VirtualMachine of your token:
VM = System.getModule("com.vmware.lcm.vim3").getVmFromToken (token);
Then, using those extracted values and the virtual computer object, use a loop to pass these parameters and some other default values you want in the workflow 'Add drive' (it's in the category library/VIM 3/Virtual Machine management/Device Management workflow.)
Once you have confirmed that this new workflow 'Add disks to ask' is working properly by passing only an object token with these entries of additional data stored with them, you can add this workflow for the reminder 'onCreate '.
The above process is a general approach that could be taken. The specifics of real workflows that you create are up to you and the support of this customization
Good luck!
Visit me on http://www.vcoteam.info for vCenter Orchestrator tips and tutorials
-
Show/hide a Div so that the application process will be executed
Hi all
I have the following problem:
I'm on APEX 3 and I have the page with 2 elements. When the user, enter the value in the first element on the page and navigate out of the element, in the second article should be the SYSDATE.
This must be done as:
1. set the fovus in the Item1.
2. navigate off the Item1 (with TAB or the mouse).
3 JavaScript function will be executed:
3.1 icon "Please wait...". "will be displayed.
3.2 application of getDbDate process will be executed.
3.3 the value returned by the getDbDate of application process is allowed in the Field2.
3.4 icon "Please wait...". "disappears.
Here ist the sample application: http://apex.oracle.com/pls/otn/f?p=MISCELLANEOUS:108
In Firefox, I have no problems to show the "Please wait...". "Icon, but the Explorer Intener shows me nothing. But the application process will be executed.
Any ideas?
Best regardsHello
See the example of CARL
http://HTMLDB.Oracle.com/pls/OTN/f?p=11933:62Kind regards
Jari
-----
My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai -
Sending page apex to the application process (JSON) values
Hi all
A page 5 apex has a value in a hidden item, P5_CLASS
In the apex 5 page, I wrote a JavaScript to call for a process of application (PL/SQL) to retrieve the values of a table on Page 5.
var ajaxRequest = new htmldb_Get (null, & APP_ID., 'APPLICATION_PROCESS is Get_Class_Data', 0);
and I use the JSON object to display the rows in the table.
-----------
Problem
-----------
It works pretty well. But I need to send the value of the hidden element P5_CLASS to Get_Class_Data so that I can ask P5_CLASS-basedapplication process.
Help, please.Shiva says:
Thank you Paul,.So I can use
var ajaxRequest = new htmldb_Get (null, & APP_ID, 'APPLICATION_PROCESS = GET_CLASS_DATA', 0);
ajaxRequest.add ('F15_GLOBALVAR', $v ("#P5_CLASS")) to send the value to the application process?(F15_GLOBALVAR is an application-level element, I created in the shared components)
And to use this application in my sql in GET_CLASS_DATA, I can use sql... where class =: F15_GLOBALVAR?
Yes.
(Please zip code wrapped in \
...\
Tags to preserve the special characters and formatting.)
-
How to make a visible object in the application process?
Hello
I have a resource that is self down and the shape of the object have a few specified additional fields (the fields are marked as required and are made in research). I want to allow (or even force) user to complete a form during the application process. How to do this? Is is possible?
In fact, the user cannot see the form requesting a resource, it can be seen and filled by approver or administrator...
Thanks in advance!Hi Magnan,
If your resources form is not available, consider the following configurations:
-Make sure that the form is active.
-For the definition of the record resource, ensure that you have set the form as the object Type and define the purpose of your resource in the object name field.
-For the definition of the resource object, make sure the resource card is defined in the name of the Table field.That's all you need to do to have the shape of resources when the user creates a request
Renato.
-
How to keeps it external links in the application process?
I have an application that has production, development and test environments. I need to incorporate some external tool URL in APEX and APEX page javascript code pl/sql/menu code links how to respective production, development and test environments in external tools. It is very difficult to change these links manually everytime we Nettwerk enforcement around different environments. is it possible to define an application process where these links are accessible by code APEX page javascript and links of menu/code APEX pl/sql, so that I can change the links in one place? any ideas are appreciated.
Kind regards
SuryaHello
To list the target URL place you
&SERVER_NAME.
Kind regards
Jari -
Using the application process, I need display CITY_NAME and return CITY_CODE
Hello
I have little problem .i have created an application process
BEGIN OWA_UTIL.mime_header ('text/xml', FALSE); HTP.p ('Cache-Control: no-cache'); HTP.p ('Pragma: no-cache'); OWA_UTIL.http_header_close; htp.prn('<data>'); HTP.prn ('<select>'); HTP.prn ('<option value="' || 1 || '">' || '- Select City -'|| '</option>'); FOR c IN (select CITY_CODE ,STATE_CODE from CITY_MAS where STATE_CODE =:SELECT9) LOOP HTP.prn ('<option value="' || c.CITY_CODE || '">' || c.CITY_CODE || '</option>'); END LOOP; HTP.prn ('</select>'); htp.prn('</data>'); END;
My Table arei have two Item P1_STATE_NAME Select List select STATE_NAME D, STATE_CODE R from STATE_MAS P1_CITY_NAME select CITY_NAME D, CITY_CODE R from CITY_MAS
When I select the name state select and city name of the list has changed with CITY_CODE AS the SEA, GUJ, MOM. CITY_CODE display in the selection list.Table for STATE CREATE TABLE "STATE_MAS" ( "STATE_CODE" VARCHAR2(3) NOT NULL ENABLE, "STATE_NAME" VARCHAR2(50) NOT NULL ENABLE ) / ------------ Table For CITY CREATE TABLE "CITY_MAS" ( "CITY_CODE" VARCHAR2(3) NOT NULL ENABLE, "CITY_NAME" VARCHAR2(1000) NOT NULL ENABLE, "STATE_CODE" VARCHAR2(3) NOT NULL ENABLE ) /
I want Francisco in select cities list and return the value CITY_CODE
I want when I select the name of the State of list select State then CITY_NAME should be enter in list to select the city names and CITY_CODE to return in to Table.
I try this with in the last two days, but I can't.
Please tell me how I can do this.
Thank you
Published by: 805629 on January 12, 2011 06:41
Published by: 805629 on January 21, 2011 12:01 AMThis is an old blog post which explains step by step. It is for cascading selection lists and must be exactly what you are looking for
AJAX cascading select list in APEX -
The application process - special characters
I have an application process (ODP) that I use to fill elements in a page with. I followed the examples of Denis Kubrik e.a. OTN. The problem, in that I ran given with this symbol. I know that there is a special characters that must be escaped in the XML documents. I used the function replace in the SQL query to change '&' in ' & amp;'. However, the process still seems to die. I use the feature of documented test here.
When I run the ODP that does not return the ampersand, all right, I see the XML document. When I retrieve a line with the ampersand, I see:
"Cannot view XML input using XSL style sheet. Fix the error and then click the Refresh button, or try again later.
The operation completed successfully. Error during processing of the resources ' http://test:7734 / pls/apex/f? p = 128:0:8491... »
When I run the SQL in SQL Developer using output I see a valid XML document.
Someone saw this?
Thank you!Probably because the first is interpreted while the second is not.
To be honest, I don't know, but it worked for me.
If it works, I prefer the CHR option.
See you soon
Ben
Don't forget to mark the answers as useful or correct ;)
-
HelloWorld page redirection in the application Oracle frontend in the page log.
When I try to open the HelloWorld page, it redirects to the page of front end Oracle Apps automatically instead the HelloWorld Page.
Please provide a solution as I am new to this framework
Thank you
SKGo to the project => TIME connection and make sure you only enter username/password OK for the instance.
Next step is to click Tools-online Preferences-online embedded OC4J. Here, you select the default settings. Currently, the Application instance can be selected.
Concerning
Sumit -
ORA-01403: the application process
Hello
I have I passes the name of the customer in an application process and returns the SUGGESTED field.
The problem I have is when there isn't a record for this customer rather than return to NONE , it returns sqlerrm:ORA - 01403: no data founddeclare l_ID varchar2(100); begin select distinct SUGGESTED into l_ID from dealers, sr_customers where AGREED = 'Y' and dealers.CORP_NAME = sr_customers.corp and sr_customers.corp = :TEMPORARY_ITEM; IF l_ID IS NULL THEN htp.prn('NONE'); ELSE htp.prn(l_ID); END IF; end;
How can I fix?
Concerning
AdamHi Adam,.
Use a slider:
declare l_ID varchar2(100); c SYS_REFCURSOR; begin OPEN c FOR select distinct SUGGESTED from dealers, sr_customers where AGREED = 'Y' and dealers.CORP_NAME = sr_customers.corp and sr_customers.corp = :TEMPORARY_ITEM; FETCH c INTO l_ID; IF c%NOTFOUND THEN htp.prn('NONE'); ELSE htp.prn( l_ID); END IF; CLOSE c; end;
And it is considered it is recommended to use V ('ITEM') in PL/SQL to reference elements.
Variable binding will do just fine...It will be useful,
Greetings,
RutgerPublished by: Rutger on October 8, 2008 07:57
Edit: Sorry mixed something upwards, should work now
Published by: Rutger on October 8, 2008 08:02
Maybe you are looking for
-
Question about the common modules on my Tecra 8200
I tried to install common modules on my tecra 8200 with windows xp family. When I restarted the pc, I had a checksum error. Time and date when changed. I got a lot of error messages. What can ido to fix this.
-
problem with mac osx el capitan bluetooth
Hello I have a problem with bluetooth (macosx el capitan) and my mobile samsung Notes 4 I can't receive my photos Why? before I was using Snow Leopard and it work properly...
-
How to get a region by a mouse click
Hello I use c# .net. I want to use the mouse to select an area of the image source for mask. How can I get the left, top, width, height values of mouse selected on the source image. axCWIMAQViewer.Regions.RemoveAll (); axCWIMAQViewer.Region.GetRegion
-
Have tried just about everything I can think of. computer is connected to the front secure networks without problem.
-
I have a Tip: Hewlett-Packard 097Ch The bus clock: 800 MHzBIOS: Hewlett-Packard 786 1 v01.05 16/06/2004 3.00 gigahertz Intel Pentium 4cache of 16 kilobytes main memory1024 kilobyte secondary memory cacheHyper-threaded (2 total) running on Windows XP