Crossing a branch of URL APEX (dynamic)

Hi all

In desire to branch to the URL below in my APEX application.  The "320000010327" you see below in the URL is an identifier hardcoded.  I want to use my domain P5_LMS_ID_HDN instead of hard-coded id.   When I use the hardcode Id LMS, the part of the URL is successful.  I'll get out my APEX applications and in Webtop.  I want to be able to make this dynamic URL based on what is in the area of the P5_LMS_ID_HDN.  Can someone please.  Thank you.

Ed

" http://webtoptest.ugi.com:8090 / webtop/component/search? queryType = dql & query = select percent 20 * % 20from % 20active_leak_report % 20where % 20object_name % 20 = % 20'32000010327 ' & username = testuser' target = 'new '.

Hi Ed,

Have a look here: 2.5 understanding URL syntax

You should use substitution strings & PXX_ITEM_NAME., your URL should be written as:

http://webtoptest.ugi.com:8090/webtop/component/search?queryType=dql&query=select%20*%20from%20active_leak_report%20where%20object_name%20=%20&P5_LMS_ID_HDN.&username=testuser' target = 'new '.

Kind regards

Vincent

http://vincentdeelen.blogspot.com

Tags: Database

Similar Questions

  • Success message not displaying not to when you use a branch to URL

    Environment: APEX 3.1.1.00.09

    I have a connection to the URL that directs the user to another page in the application. I checked the box marked "include the message of success of process" and put my success message in the process that sets the number of page goes to the branch of URL, but the message does not appear.

    I put the success message in a different place?

    How can I get the success message should appear when the new page is rendered?

    Thanks a lot for any assistance.

    Andy, here's another easy for you! ;-) >

    -gary

    I put the SSP in the application and yet I am able to change the ID of the Application in the URL and creates a branch to the new application, I created to test the URL tampering.

    You can change a URL if there is no request, clear-cache or values of item names/element. I who does not explain, can you show me an example in your demo app?

    Scott

  • Apex Oracle 10 g the requested URL /apex/wwv_flow.show was not found on this

    I searched the forum without being able to find a solution that works for me.
    I'm trying to create a table with the following sql.
    CREATE TABLE MEMBERS
    (
      MEM_NUMBER           VARCHAR2(12 BYTE) CONSTRAINT MEM_NUMBER_NN NOT NULL,
      MEM_SNAME            VARCHAR2(25 BYTE),
      MEM_FNAME            VARCHAR2(25 BYTE),
      MEM_ANAME            VARCHAR2(25 BYTE),
      MEM_TITLE            VARCHAR2(25 BYTE),
      MEM_IDTYPE           NUMBER(5),
      MEM_IDREF            VARCHAR2(120 BYTE),
      MEM_DATE_IDISS       DATE,
      MEM_ADD1             VARCHAR2(60 BYTE),
      MEM_ADD2             VARCHAR2(60 BYTE),
      MEM_ADD3             VARCHAR2(60 BYTE),
      MEM_ADD4             VARCHAR2(60 BYTE),
      MEM_PCODE            VARCHAR2(12 BYTE),
      MEM_PHONE            VARCHAR2(20 BYTE),
      MEM_DREG             DATE,
      MEM_TREG             DATE,
      MEM_DLAST            DATE,
      MEM_DBIRTH           DATE,
      MEM_DOBON            NUMBER(1) CONSTRAINT MEM_DOBON_NN NOT NULL,
      MEM_POST             NUMBER(1) CONSTRAINT MEM_POST_NN NOT NULL,
      MEM_NEW              NUMBER(1) CONSTRAINT MEM_NEW_NN NOT NULL,
      MEM_BARRED           NUMBER(1) CONSTRAINT MEM_BARRED_NN NOT NULL,
      MEM_SEX              NUMBER(5),
      MEM_BDAY             NUMBER(5),
      MEM_BMONTH           NUMBER(5),
      MEM_BYEAR            NUMBER(5),
      MEM_ANAL01           NUMBER(5),
      MEM_ANAL02           NUMBER(5),
      MEM_ANAL03           NUMBER(5),
      MEM_ANAL04           NUMBER(5),
      MEM_ANAL05           NUMBER(5),
      MEM_ANAL06           NUMBER(5),
      MEM_ANAL07           NUMBER(5),
      MEM_ANAL08           NUMBER(5),
      MEM_ANAL09           NUMBER(5),
      MEM_ANAL10           NUMBER(5),
      MEM_CARDNO           VARCHAR2(22 BYTE),
      MEM_FACE             NUMBER(10),
      MEM_ID               NUMBER(10),
      MEM_ENTRY            NUMBER(1) CONSTRAINT MEM_ENTRY_NN NOT NULL,
      MEM_CARD1            VARCHAR2(22 BYTE),
      MEM_TYPE1            VARCHAR2(4 BYTE),
      MEM_COLOUR           NUMBER(10),
      MEM_NAMEDAY          NUMBER(5),
      MEM_NAMEMONTH        NUMBER(5),
      MEM_ANIVDAY          NUMBER(5),
      MEM_ANIVMONTH        NUMBER(5),
      MEM_ANIVYEAR         NUMBER(5),
      MEM_NAMESPECIAL      VARCHAR2(4 BYTE),
      MEM_ITGNO            VARCHAR2(12 BYTE),
      MEM_GDREG            DATE,
      MEM_ENTERED_BY       VARCHAR2(16 BYTE),
      MEM_LAST_UPDATE_BY   VARCHAR2(16 BYTE),
      MEM_SIG              NUMBER(10),
      MEM_NO_GRAD          NUMBER(1) CONSTRAINT MEM_NO_GRAD_NN NOT NULL,
      MEM_FREE_PARK        NUMBER(1)                DEFAULT 0 CONSTRAINT MEM_FREE_PARK_NN NOT NULL,
      MEM_STATUS           VARCHAR2(9 BYTE)         DEFAULT 1                     NOT NULL,
      MEM_AUTH_STFF_CRDNO  VARCHAR2(12 BYTE),
      MEM_BARCODE          VARCHAR2(37 BYTE),
      MEM_BADGE_NUMBER     NUMBER(16),
      MEM_GRPADDR_NAME     VARCHAR2(50 BYTE),
      MEM_DISP_NAME        VARCHAR2(25 BYTE),
      MEM_DIST_FRM_CASINO  NUMBER(24,4),
      MEM_GEO_CODE         NUMBER(5)
    )
    and the answer I get from the Apex is: -.
    The requested URL /apex/wwv_flow.show was not found on this server

    Please tell me what I'm missing.

    Try to run in sqlplus.

    There is a difference between your 2 attempts to validate the statement. The second includes a schema qualifier:

    CREATE TABLE SGM.MEMBERS...
    

    You run that he logged in as user SGM?

  • Prevent the user from changing the page in URL - Apex 5

    Dear community of Apex,

    We seek to protect our handling of URL pages.  The protection of session state is enabled, and each page has page value «Arguments must have Checksum» access protection  However, the documentation seems to discuss in order to prevent the user from element values in the URL.  We want to prevent the user to change the page ID in the URL.  Currently, a user is able to hack the URL and take in the middle of a wizard process for example.  Is it possible to stop this?  Other that an element of creative previous train stop check.

    * Version: Application Express 5.0.1.00.06

    Thank you

    Barry

    bSamuel wrote:

    We seek to protect our handling of URL pages.  The protection of session state is enabled, and each page has page value «Arguments must have Checksum» access protection  However, the documentation seems to discuss in order to prevent the user from element values in the URL.  We want to prevent the user to change the page ID in the URL.  Currently, a user is able to hack the URL and take in the middle of a wizard process for example.  Is it possible to stop this?  Other that an element of creative previous train stop check.

    Hi Barry

    Affecting the security attribute Access Page Protection page No. URL Access and navigate between pages using the type of the Page Management Branch (uncheck the option creates a branch using redirection page in the Wizard) will avoid this:

    No URL access -Page can not be found using a URL, but the page can be the target of a type of Page Management Branch, is not doing a URL redirect.

    It is a little more restrictive that a normal direction of the session state values cannot be positioned or erased declaratively in the branch, but is not often necessary in a several step wizard, and it's pretty simple to work round using prior processes - or post-branche or by referencing the item values directly from other pages.

  • Popup of XDB in URL APEX login

    Hello

    I just finished installing Oracle APEX (I use Oracle 11 g Enterprise Edition and APEX 4.02) I uninstalled the pre-existing version of APEX 3.2 and installed the 4.20, and when I try to connect to the main admin page to:

     http://HOST:PORT/apex

    I get the annoying XDB login popup.

    Concerning

    Villi Kumar

    Hello

    While asking the password and username XDB, we provided as XDB/XDB and unlocked the XDB account in the backend database.

    After giving it details its has shown the cannot find server /apex

    We fixed two issues by using the script below.

    Solution:

    Done with the "apexins", run the script that is located in the directory of the apex below.

    @apex_epg_config.sql [_Directory you unzip Apex_]

    We now able to access the URL of request without any popup XDB.

    Concerning

    Villi Kumar

  • APEX dynamic Action issue with custom button template

    A new day and a new problem. -.-

    I wanted to create a dynamic action, if a button is clicked and got the error "the selected button uses a 'button model' which does not contain the #BUTTON_ID substitution string #. So I googled a bit und found issue with action Dynamics apex. I thought that this would solve my problem and I looked in the model button to find this:

    <table class="t15Button" cellspacing="0" cellpadding="0" border="0"  summary=""><tr>
    <td class="t15L"><img src="#IMAGE_PREFIX#themes/theme_15/button-l.gif" alt="" /></td>
    <td class="t15C"><a href="#LINK#">#LABEL#</a></td>
    <td class="t15R"><img src="#IMAGE_PREFIX#themes/theme_15/button-r.gif" alt="" /></td>
    </tr></table>
    

    A former colleague created the model itself and I do not know where to insert the #BUTTON_ID #. Does anyone have any suggestions?

    Concerning

    Chris

    Miss you atrribute button ID,

    is the correct code

    #LABEL#

    I hope this works.

    Go

  • Map default nicer url URL apex

    Hello

    I use apex 4.2 with Weblogic server. At the moment our url to the application is http://domain:port/apex/f? p = 124.

    How can do us much simpler like http://domain.com

    Thank you

    A good discussion of your options here
    http://monkeyonoracle.blogspot.com.au/2010/02/nice-URL-in-public-facing-Oracle-apex.html

    but many examples in this forum about the server rules rewrite.

  • Oracle apex dynamic action set value action does not

    Hello

    I have two questions, that I am trying to solve. This is the scenario:

    (i) 4.0 on oracle 10 g oracle apex
    (II) created a form with the following page:
    -P526_SES_DET_ID
    -P526_VESSEL_ID (selection list)
    -P526_JOB_DATE (date picker)
    -P526_DAY_TYPE (list of selection with values DAY ORDINARY (if P526_JOB_DATE is a day from MONDAY to FRIDAY),)
    SATURDAY (if P526_JOB_DATE is SATURDAY) and SUNDAY/PUB. HOLIDAY (if JOB_DATE is SUNDAY)
    -P526_LABOUR_TYPE (selection list)
    -P526_SHIFT (selection list)
    -P526_NO_OF_LABOUR
    -P526_RATE
    -P526_SES_TOTAL

    (1) I created a dynamic action of the value set on the P526_JOB_DATE page element to set the value of P526_DAY_TYPE to one of the three values above depending on the day
    P526_JOB_DATE falls. Parameters are the following:

    -Action: Value set
    -Set type: SQL statement
    -SQL statement:
    Select case when (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
    like ' % MONDAY % ") then" DAY ORDINARY. "
    When (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
    like ' % TUESDAY % ") then" DAY ORDINARY. "
    When (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
    like ' % WEDNESDAY % ") then" DAY ORDINARY. "
    When (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
    like ' % THURSDAY % ") then" DAY ORDINARY. "
    When (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
    like ' % FRIDAY % ') then ' DAY ORDINARY. "
    When (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
    like ' % SATURDAY % ") then 'SATURDAY '.
    When (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
    like ' % SUNDAY % ") then ' SUNDAY/PUB. HOLIDAY"
    end DAY_TYPE
    of the double

    -Page article to submit:
    -Select the Type: Item (s)
    -Article (s): P526_DAY_TYPE

    The SQL statement sets the value of P526_DAY_TYPE that when I replace: P526_JOB_DATE with a date like January 11, 2010 format ' and a date is taken to
    Duration otherwise it doesn't.

    (2) want to be able to maintain the values of P526_VESSEL_ID, P526_JOB_DATE, P526_DAY_TYPE, P526_LABOUR_TYPE, P526_SHIFT after an insert action as default values for the next create another form operation.

    Like all the ideas on how to implement or to solve problems (1) and (2) would be very appreciated.

    If you want to use P526_JOB_DATE in your SQL statement add P526_JOB_DATE to the "referred to submit Page:" field.

  • Site to Site VPN between ISR4331(Data Center) and 25 branches with RV042 and dynamic public IP address

    Hi, we just got router ISR4331. We will use this router to our datacenter as pummel hub. Not to mention that it will be the static IP address. Our goal is to connect 30 small offices to the Datacenter by VPN site-to-site. All of our offices a RV042 router and DSL connection, so dynamic public IP. How to accomplish this task. Before the VPN connection is stable and the need not to configure tunnels frequently.

    Thank you

    GM

    Hello

    Please check the config below:

    HUBS:

    crypto ISAKMP policy 1

     BA 3des
    md5 hash
    preshared authentication
    Group 2
    life 86400
    crypto isakmp secretkey key address 0.0.0.0 0.0.0.0 (Having said that the dynamic router HUB remote routers have public ip address)
    Describe your valuable traffic. Note that I have sepcified for both tunnels, but basically, it will be the same for the rest out for the destination. For example, I used 192.168.1.0/24 and 192.168.2.0/24. You will need to replace it with your existing installation.
    TUN1 extended IP access list
    ip permit 192.168.1.0 0.0.0.255 192.168.2.0 0.0.0.255
    TUN2 extended IP access list
    ip permit 192.168.1.0 0.0.0.255 192.168.3.0 0.0.0.255
    Create your strategy to Phase 2
    Crypto ipsec transform-set esp-3des esp-md5-hmac TS
    card crypto S2STUN 1-isakmp dynamic ipsec HUB_TUN
    crypto dynamic-map HUB_TUN 10

    86400 seconds, life of security association set
    game of transformation-TS
    match address TUN1
    !
    crypto dynamic-map HUB_TUN 11
    86400 seconds, life of security association set
    game of transformation-TS
    match address TUN2
    Now apply the card encryption to your WAN interface
    gi0/1 interface
    card crypto S2STUN
    Now configure on your remote routers
    Remote router 1
    crypto ISAKMP policy 1
    BA 3des

    md5 hash
    preshared authentication
    Group 2
    life 86400
    !
    ISAKMP crypto secretkey key address x.x.x.x (replace with your public ip address of the HUB)
    !
    TUNNEL TRAFFIC extended IP access list
    permit ip 192.168.2.0 0.0.0.255 192.168.1.0 0.0.0.255
    !
    Crypto ipsec transform-set esp-3des esp-md5-hmac TS
    !
    crypto card TUN_TO_HUB 10 ipsec-isakmp
    defined peer x.x.x.x (replace with your public ip address of the hub)
    game of transformation-TS
    match address TRAFFIC TUNNEL
    !
    gi0/1 interface
    card crypto TUN_TO_HUB
    Remote router 2
    crypto ISAKMP policy 1

    BA 3des

    md5 hash
    preshared authentication
    Group 2
    life 86400
    !
    ISAKMP crypto secretkey key address x.x.x.x (replace with your public ip address of the HUB)
    !
    TUNNEL TRAFFIC extended IP access list
    ip licensing 192.168.3.0 0.0.0.255 192.168.1.0 0.0.0.255
    !
    Crypto ipsec transform-set esp-3des esp-md5-hmac TS
    !
    crypto card TUN_TO_HUB 10 ipsec-isakmp
    defined peer x.x.x.x (replace with your public ip address of the hub)
    game of transformation-TS
    match address TRAFFIC TUNNEL
    !
    gi0/1 interface
    card crypto TUN_TO_HUB

    HTH.
    Evaluate the useful ticket.
    Kind regards
    Terence
  • How to cross the field (external url) and what tag &lt; &gt; is correct?

    How cross-domain?
    I edited some of the tag of the element of access ( )
    https://developer.BlackBerry.com/HTML5/documentation/accessing_external_resources_webworks.html

    I changed some of the access to items such as:

    ;

    The problem with mine is that I need so disable the part websecurity inside my config file.

    This is the code I used for it, after that I could retrieve the information/page I wanted.



  • APEX: Dynamic Action with tabular column

    I'm trying to 'turn off' couple of tabular columns using Javascript and dynamic Action.

    Some fields are text, although some are LOVs type

    I have no boy of Java, so a lot of my scripts are copied and modified based on examples I see, Plse forgive me.

    If the field is a text type

    With the help of Dynamic Type of Action such as disable, use the JScript

    $('_input[name="f20"]').attr ('disable', true);

    I managed to get the disabled column...

    But I don't seem to be able to apply to the Type "select list".

    Please notify

    Hi JAS-Oracle,

    But I don't seem to be able to apply to the Type "select list".

    Step 1:

    Go to report attributes-> edit your selection list column

    under column attributes - > add class attributes of the element, i.e.

    Attributes of the element: class = "select_list.

    Step 2: Create a dynamic Action

    Event: Page load

    Action: disable

    Selection type: Jquery selector

    JQuery Selector: //dont .select_list forget to put the point before the name of the class

    Hope this helps you,

    Kind regards

    Jitendra

  • APEX dynamic action - how to hide an element after the loading of the page

    Hello

    I have a form with the element Type, lesson and page.   I want to create a dynamic as action ' on page load "If Type = x don't then see the lesson and the elements of the page. .

    How can I know if Type = x don't see the lesson and the page. It does not show them.

    Please note the dynamic, action = Page load event

    Thank you

    Try adding

    When the Condition "Javascript expression."

    Value: $v ('P1_TYPE') == 'x')

  • How to dynamically change the last part of the url inside the body HTML in e-mail send to Apex process

    Hello

    I need to change the last part of the URL sent by post in the apex dynamically. I have a requirement that a person can register itself with a new user name and other details. When the user clicks on the button register after you have entered all the required values in the page all values will be inserted into the user_details_repository table in the database. At the same time an email with a url link is sent to the user admin for the assertion. When the admin user, click on the link it is redirected to a page where all the details submitted by this particular user is displayed. The admin user can confirm or reject the new user registration. If the admin user says, all the data repository of this particular user table will be inserted in a main table named user_details and data will be deleted from the repository table. Yet once if the admin user rejects, all the data repository of this particular user table will be deleted.

    For this, I have created two pages for this and all of the features mentioned above works correctly except change the link url each time a letter is sent to the admin user when a new user register itself. To send email, I created send e-mail process. I need to change the last word/part of URLs within html body according to the username provided by the new user.

    for example, the url to another user will be like this:

    http://localhost: 8080/apex/f? p = 103:9:3849261906471:NO:USERNAME:Namrata

    http://localhost: 8080/apex/f? p = 103:9:3849261906471:NO:USERNAME:Madhura

    Help, please.

    If there is another way to achieve the same thing please answer.

    Thank you

    Nilesh

    Hi Nilesh,

    You can use a Page element as a substitution variable in the body of the HTML message.

    for example, blah blah blah & P123_MY_PAGE_ITEM. blah blah blah

    The syntax is an ampersand in front of the name of page element and a point after the name.

    brgds,

    Peter

  • APEX URL SYNTAX PROBLEM

    APex 4.2

    I think I still have a problem with the syntax of URL Apex. I have a question where I am a link within the query and try to get inside several pairs of element value. I have no problem passing a pair of point value, but when I try to do multiple, I have a problem. My query is below:

    SELECT project_id, content_type,
    '<a href="javascript:apex.submit({request:''SAVE'',set:{''P3_GO_TO_FL'':'''||'Y'||''',''IREQ_PROJECT_ID'':#PROJECT_ID#}});">Project</a>' as "Project Link"
    FROM MY_TABLE
    WHERE THIS_ID = :P3_ID
    
    

    I feel as if there's some place apostraphes. I tried a variation of things, but I just don't get it. I had a similar problem before, but it is within a link of the column. It is within a query which I assume has something to do with why my syntax was interrupted. Any help on this would be greatly appreciated. Thanks in advance

    OK, so I made some progress. Consider the following query:

    SELECT project_id, content_type,
    case
       when content_type is not null then 'Not Null Case'
       else 'Null Case'
    end as "TESTING_QUERY"
    FROM THIS_TABLE
    WHERE THIS_ID = :P3_THAT_ID
    

    So I'm still trying to build a link inside a query (don't see any solution to my problem). I have two branches. One who makes something when the value of the indicator is set on 'Y' and a branch that made another when the value of the indicator is set 'n'. In my case, 'Y', the content_type must be passed in a page element. The syntax is correct. The only problem is that the string substitution #CONTENT_TYPE # gives me problems. I don't know if this should be a substitution string or not, but I know that if I had to replace this with a random value, that random value substitution string passed to the order of the day of the P3_CONTENT_TYPE page (I tried several times) and I am able to use/view the content of this page P3_CONTENT_TYPE element. Even when I fly over my link, the url is correct, but instead to display the actual value of the substitution string, it just shows "#CONTENT_TYPE # Rather than use the substitution string my request, I also tried to use 'content_type' but is not no longer works.

    It is the last problem or obstacle that I am jumping. Getting the substitution string to display real value would be solve my problem overall. Any ideas on what could be the problem?

    Thanks in advance.

    As soon as I posted this, I've done a few steps more and I realized what the problem was. This is the syntax of the query. I guess that it will not allow you to use a substitution string. Must concatenate it thus:

    SELECT
    ....
    ....
    when content_type is not null then 'Not Null Case'
    else...
    end as..
    ....
    ....
    

    This is the correct syntax... I guess I should since I'm pulling the value of content_type itself in the actual query. But it works for me. Maybe not the best way, but it solved my problem. Thanks for your help. Maybe this will be useful to someone else.

  • Branches in Apex

    Hello

    When I create a branch in the apex... can someone suggest me the situation...

    Thank you

    Xandot

    Xandot wrote:

    and another thing is when I create a button as an element of area can so how I took button region to branch...

    Create a button as part of the region and put as submit. Now create a branch guess at page 2 and associate it with the name of the element. When you create a branch, the wizard will ask you to associate it with any button on the page.

Maybe you are looking for

  • Toshiba virtual Store account Reset - 14739

    Hello Please you can reset account 14739?Thanx

  • Iron Python

    Is there anyone who tries to use the iron with VeriStand Python scripting language? My problem is that VeriStand has not its own interpreter and I have not found a way to run scripts. Thank you all

  • Application not found error

    When I try to open some applications from the Control Panel, I get a C:\windows\system32\rundll32.exe Application not found message. How can I fix this or can it be fixed? I've lost some control over my mouse pad and icons at the bottom of my page. A

  • Convert cd to mp3

    I want to add songs from my cd from my rocket, how to convert the MP3.

  • Start task bar menu

    I can't pull up my menu start its nowhere to be found I tried to go into the Control Panel, but I was not able to pull up.