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 ;)

Tags: Database

Similar Questions

  • 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.)

  • 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

  • Web development Toolbox prevents me from using the letter upercase, special characters and all that requires the use of the SHIFT key. Help.

    whenever I press the SHIFT key, the web development Toolbox opens. I am unable to use the letter upercase, special characters and everything that requires the SHIFT key. It's really annoying me... i can't even use an exclamation mark111111

    The sounds you have a sticky key which is in the pressed state.

    Do you mean the box tools that should open via Ctrl + Shift + K or open more to the Toolbox that is displayed via Ctrl + F2?

    Try to press the keys involved several times, see the Web Developer menu for the shortcut keys.

    Have you tried to close and restart Firefox or restart the computer?

  • Error: Failed to create the application process: operation not permitted - deployment of ripple to Dev Alpha

    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.

  • 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

  • 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 regards

    Hello

    See the example of CARL
    http://HTMLDB.Oracle.com/pls/OTN/f?p=11933:62

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • 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.

  • Remove the spaces and special characters to a form field

    Hello

    I am tragically new to all this, but I'm trying to create a form in Adobe Acrobat 9.  I am trying to use a custom script Format to make entries in a form field and automatically remove the spaces and special characters (hyphens specifically).  For example, if a user 'RAN - 99 06' entries I want to change it to "RAN9906."  I found this script that does not allow users to input special characters

    If (! event.willCommit) {}


    Event.change = event.change.replace (/ [------$# ~ %------*------*------^-------------(\)------+=------[\]------{\}; \ "\ <>\ \?"]) \ | \\\ !] /g, "");

    }

    And it's OK, but I can't understand how to prohibit the spaces.  In addition, the perference would be a script to allow users to enter data as they wish, but to clean after leaving the text field.

    Thanks in advance!

    Yes, there are a few changes during the passage of the code of the event in the sequence of keys to the Validate event.

    First of all, you need not try the willCommit. In fact, when the sequence of events of field reached the Validate event, the field is already committed. The Validate event does not therefore the property of willCommit.

    Secondly, in the Validate event, you work on the event.value and either event.change. Thus, you will replace accordingly.

    And who should actually do.

    I hope this can help.

    Max Wyss.

  • 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.

  • Jabber for Windows 11.5 and connection of the unit - German special characters in password

    We Jabber for Windows 11.5.2 running and using the connection of the Unit 10.5.2. Whenever a user uses a password with the German special characters (a, o, u), Jabber is not able to connect to the connection of the unit. Everything else works fine. We also have this problem in 10.6 versions. In the voicemail tab it is said that the name of user or password is wrong. We can reproduce the problem...

    BTW. also it does not work in the current jabber for iOS version!

    Anyone know if it's a bug or experiencingthe same problem?

    I simply make the point that use German special characters causes a lot of problems, in many places, whole CUCM and IM & P and you avoid them.

  • Remove the spaces and special characters.

    Hi all

    Here is the table of phone having a column that is 'phno' and the values are the below in this format.

    I need given the output.

    My client uses oracle 8i version.

    EmplId

    PhNO

    output

    121212

    605/339-9276

    6053399276

    222222

    251/813-0663

    8132510663

    323232

    208-585-1594

    2085851594

    232323

    352.735.8285

    3527358285

    Thank you

    music

    Hello

    DEFINITION of use,

    If it is possible to enumerate all special characters, do this way:

    SELECT emplid, phno

    REPLACE (phno

    , '9 ./'

    , '9'

    ), Exit

    FROM table_x

    ;

    If it is impossible, or if it is easier to display the characters that you want to keep, then do it like this

    SELECT emplid, phno

    REPLACE (phno

    , '9  || TRANSLATE (phno

    , ' ?' 0123456789

    . '?'

    )

    , '9'

    ), Exit

    FROM table_x

    ;

    Whatever it is, the argument 3 of TRANSLATE is one of the characters that you want to keep (any), and the 2nd argument is that same character, followed by all the characters that you want to remove.

    Nevermind, you use such an old version.  Regular expressions are much easier.

    This will leave 1 "at the beginning of '13527358285'.  How to remove characters like this depends on means exactly what "characters like this.  It can probably be done in Oracle 8 without too many problems, according to your needs.

Maybe you are looking for

  • Cannot burn CDs with Nero

    trying to make a dvd through my neuro but it doesn't copy it to disk and it says recordable images when I hit burn what I can do about it

  • Feature of Palm rejection on ZTE S2110?

    Hello I recently ordered a Lenovo S2110 Innov.  I intend to use this tablet to take serious notes. I am a graduate student and need to archive all my notes for future reference, and my intention is to completely replace the paper notes.  I intend to

  • UCS Manager 2.0(1t) - vlan global bug?

    When I created a vlan Hélène (under the IFS VLAN), I have does not show under the VLAN FI A and B FI. This must be a bug in this version SW., right?

  • BlackBerry smartphone how to download the file Word for Blackberry 9700

    How to download word for blackberry 9700? I launch Desktop Manager-> Media-> Media Manager, but it fails.   But I can't find any icon to transfer files from PC to device Backberry word. My Blackberry is 9700, V5.0.0.330 (Platform 5.1.0.91)

  • I have to remove mSata SSD on Inspiron 15R - SE (7520) during the SSD upgrade?

    I noticed that my laptop has a job 32 GB SSD mSata as cache for 1 TB HARD drive. However I intend to abandon this 1 TB HARD drive in DVD - Rom tray and slap in a SSD 128 GB... now the problem returns to the mSata SSD. the mSata ssd presents itself as