APEX URL issues

Hello world

I use APEX 5.0 alongside REST services.

My url is as below:

http://serverAddress/name/f?p=:

How can I change this url so that she had my own naming conventions and does not show the parameters passed.

For example instead of:

f? p = & APP_ID.:5: & APPSESSION.:NO::P2_ID:1234

I want something like

process_data/application_name.

which does the same thing.

Thanks for the help.

You can start watching here

Kris blog: Nicer URLS for APEX, yet another option

common search term is "apex oracle prettify URLs.

Tags: Database

Similar Questions

  • Apex URL connectivity.

    You don't have permission to access to the/dev/apex/apex on this server. -Is the error showing when I am trying to connect via this link
    http://SIS-prosun07:7777/dev/apex /.

    Issue began this way:

    I needed to create a workspace, so I tried to log into ADMIN but unfortunately given wrong password 3 times which made it lock and when trying to reset the ADMIN password by running @apexcnpwd.sql it lifting error as password validation failed but we follow-up rules of the password as 1 caps , 1 alphanumeric, etc.. I tried Goodday123 and Niceday123$ and many others but he agreed and I guessed just like his not accepting because of the version we use APEX 4.2 and may be the file is the old version, but I did not try anything in this assumption... After that I just checked user status DBA_USERS and APEX_040200 and APEX_PUBLIC_USER and FLOW_FILES were in the expired State. APEX_040200 and APEX_PUBLIC_USER were in the locked State also for that as we do not know password then I changed the password to unlock it and make it OPEN State... But unfortunately, after doing the above mentioned URL no longer works... I felt that I made a mistake by changing the password of APEX_PUBLIC_USER and do not even update in the file dads.conf... So, we have configured dads.conf file also, but always URL did not work... And just guessed and restarted apache server and its suddenly started working... But still unable to change the password of ADMIN as password validation same error failed... Finally, in this scenario we are opening file apexchpwd.sql to see what is matter and unfortunately it's file as defined in the schema file was APEX_040100 that we changed to APEX_040200 and finally has been changed successfully and restarted Oracle HTTP server...

    Not my doubt in this scenario, is what exactly is my mistake I spoke a lot of documents, but I just don't know if because I changed the password of users APEX_PUBLIC_USER and APEX_040200 so URL stopped working or because of the ADMIN got locked so question came... Or even before requests for password changing worked very well and just ADMIN password only had a problem but as I changed URL is not opened and the DEV team was idle for hours or well like we restarted the server apache immediately worked URL then is - this problem was of the Apache server. . Pls suggest what was my mistake right and much more on this case... However the problem is resolved, but I want to understand in a profound way so that again, even should not happen...

    Kind regards
    Nitesh.

    Hello

    Nitesh. wrote:
    I do not understand why it should be APEX_0402000 in the locked state.

    APEX_0402000 schema is locked by default after installation of the APEX.
    This database user is not necessary for any connection.
    State of the APEX instance ADMIN user or password are not something to do with connections or users of database.
    You must unlock only user witch are used by the web server to connect to the database. In your case, it is APEX_PUBLIC_USER.

    Nitesh. wrote:
    And you mean that if we change APEX_PUBLIC_USER password, you must configure file dads.conf right... His we use mob_pl/sql, so I should have set this file as soon as changed right password...

    Yes, that's correct.

    Nitesh. wrote:
    What is the role of the account anonymous here can not understand that its also designed for HTTP access and it remains always locked but then why has the CREATE SESSION system privilege...

    ANONYMOUS is usually used with Embed PL/SQL Gateway (EPG). If you don't use EPG, you can block this user database.

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

  • Apex URL incorrect syntax

    Apex 4.2

    I'm working on an Apex URL that performs a process and branches to a page. I did search for the URL and am aware of how they work and how to make them and also used in the past. Apparently, I'm not as knowing that I thought that I'm faced with some problems. So there you go.

    (1) I have a basic report based on table ASSOCIATIONS

    CIT_ASSOC_XREF_ID (PK)

    CITATION_ID

    CITATION_NAME

    ASSOCIATION_ID

    Region report, or a query, that displays my report is the following:

    SELECT CIT_ASSOC_XREF_ID, CITATION_ID, CITATION_NAME, ASSOCIATION_ID, 'Link'
    FROM ASSOCIATIONS
    WHERE CITATION_ID = :P11_CITATION_ID
    

    One of the columns (link) I changed to a link column. Than that of the link column, I have the following:

    javascript:apex.submit({request:'SAVE',set:{'P11_RUN_REMOVE_CIT_ASSOC_FL':'Y'}});
    

    The URL works fine. I'll put a flag so that I can use in the conditional (point value / Expression 1 column = Expression) 2 of a pl/sql which I want to run and process in a branch. The problem occurs when I try to introduce a new parameter in my URL. The following URL does not work:

    javascript:apex.submit({request:'SAVE',set:{'P11_RUN_REMOVE_CIT_ASSOC_FL,P11_CIT_ASSOC_XREF_ID':'Y',#CIT_ASSOC_XREF_ID#}});
    

    It is not yet sail or send the page. It's always a clickable link, but even once, the page does nothing. Am I missing something? I'm out of quotes or something? This is not allowed. Any help on this would be great. Thanks in advance.

    NewApexCoder wrote:

    Apex 4.2

    I'm working on an Apex URL that performs a process and branches to a page. I did search for the URL and am aware of how they work and how to make them and also used in the past. Apparently, I'm not as knowing that I thought that I'm faced with some problems. So there you go.

    (1) I have a basic report based on table ASSOCIATIONS

    CIT_ASSOC_XREF_ID (PK)

    CITATION_ID

    CITATION_NAME

    ASSOCIATION_ID

    Region report, or a query, that displays my report is the following:

    1. SELECT 'Link', CITATION_NAME, CIT_ASSOC_XREF_ID, ASSOCIATION_ID, CITATION_ID
    2. ASSOCIATIONS
    3. WHERE CITATION_ID =: P11_CITATION_ID SELECT CIT_ASSOC_XREF_ID, CITATION_ID, CITATION_NAME, ASSOCIATION_ID, 'Link' OF ASSOCIATIONS WHERE CITATION_ID =: P11_CITATION_ID

    One of the columns (link) I changed to a link column. Than that of the link column, I have the following:

    1. JavaScript:apex. Submit({Request:'SAVE',Set:{'P11_RUN_REMOVE_CIT_ASSOC_FL':'Y'}});)

    The URL works fine. I'll put a flag so that I can use in the conditional (point value / Expression 1 column = Expression) 2 of a pl/sql which I want to run and process in a branch. The problem occurs when I try to introduce a new parameter in my URL. The following URL does not work:

    1. JavaScript:apex. Submit({Request:'SAVE',Set:{'P11_RUN_REMOVE_CIT_ASSOC_FL,P11_CIT_ASSOC_XREF_ID':'Y',#CIT_ASSOC_XREF_ID#}});)

    It is not yet sail or send the page. It's always a clickable link, but even once, the page does nothing. Am I missing something? I'm out of quotes or something? This is not allowed. Any help on this would be great. Thanks in advance.

    You're confusing URL and JSON syntax. APEX URLS use lists separated by commas in the positions of itemNames: itemValues of the URL:

    f?p=100:11:1234567890::::P11_RUN_REMOVE_CIT_ASSOC_FL,P11_CIT_ASSOC_XREF_ID:Y,#CIT_ASSOC_XREF_ID#

    The used JSON in the set option of the apex.submit method uses pairs of name: value:

    javascript:apex.submit({request: "SAVE", set:{"P11_RUN_REMOVE_CIT_ASSOC_FL": "Y", "P11_CIT_ASSOC_XREF_ID": #CIT_ASSOC_XREF_ID#}}); // Quote #CIT_ASSOC_XREF_ID# if it's not a number

  • APEX URL in a production environment

    Since the URL will be display (value: element) variable when you link between pages, or even create manually. A technical user can change just the value of the URL itself correct?

    Take for example this URL:

    http://Apex.Oracle.com/pls/Apex/f?p=46976:7:619658001914051:no:RP:p_BOL, p_BOOKINGNO:1631 A 00565, 1631 A 00565

    I could go and swap "A 1631, 00565" with another number, that number could be a number, not associated with this user.

    Are you able to hide the URL string?

    Or it's just the way it is and I have to put in the postings of user on my entry sql?

    Jeremy-

    You should take a look at the Protection of the State of Session. This feature of APEX ensures the security surrounding the issue you describe.

    http://download.Oracle.com/docs/CD/E17556_01/doc/user.40/e15517/sec.htm#CDDGIGJH

    Austin

    Published by: AustinJ on August 3, 2011 10:49
    Link added

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

  • Urgent need help - APEX URL does not work when computer conncects to the Internet

    APEX, I installed it on my computer. But the APEX is unusable until the computer is running in offline mode.
    If I connect to the internet. Using the URL now
    http://localhost: 8080/apex
    I get the message below.
    ---------------------------
    Internet Explorer cannot display this webpage
    -----------------------------
    I also use the name of the computer/IP addresses to test, it does not work either.
    But if I work offline, APEX can work.

    I tried to disable IPv6 on my computer, but it still does not work.
    My OS is Win7. Recently, I changed my OS, the latest operating system is Windows XP and APEX worked correctly.
    Can anyone help with this?

    Thank you in advance.

    Disable the proxy for your localhost configuration (or add on an exceptional basis through manual configuration). Your network is not finding your host when searching the path (to the internet) to reach it.

  • Manipulation of checksum by possible client - Apex security issue

    Hello guys! I was just wondering if the checksum calculated in session state protection can be calculated by a client.
    Suppose an attacker modifies the criteria in the url and provides a checksum matching, that he wanted to succeed in hacking of the app.

    I wasn't able to find anything about the successful handling of checksum but don't know whether or not it is absolutely impossible!

    Thanks for your replies!

    SEB

    You will find a more detailed explanation here http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/sec.htm#CHDDAJHF

    At a general level, that's what you need to do
    1. sharing of Session State Protection components - enable
    2. at the level of the Page change the security and Protection of Access Page the value no URL access
    3 change the branches to the Page (not the default Page and the URL)
    4 conduit to more than coding to remove the parameter passing (good for bad security for coders)
    If you want to see what I mean in Action, to do this and continue to look at the URL
    a. to open an Application in Application Builder
    b. click on create new page
    c. Select Assistant
    d. click Next and suddenly see wwv_flow.accept ! No page, no session, not nothing. You can do this in your application Apex too because too lettering Builder was built in the Apex.
    Kind regards

  • ApEx URL or questions

    Hello

    It's really a question of two parts:

    1. why most of the places of DAD do not begin by "/ pls? I always thought that it was necessary to say modplsql to demand but one of my colleagues who sought to shorten the length of the URL of the home page of the application tried just "apex" and we were able to use just www.address.com:8888 / apex...

    2. why the most cases of ApEx use port 80 default?

    Kind regards
    Dan

    http://danielmcghan.us
    http://sourceforge.NET/projects/tapigen

    Dan:

    The "/ pls ' requirement of prefix for dads is a relic of the past.

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14190/confmods.htm#sthref550

    What do not use port 80, I find it convenient not to use because I can then start and stop OHS without having to be root.

    CITY

  • How to pass the external APEX URL parameter values

    Hi all

    Hope you can help me with the following:

    During my first APEX application, I created a button that should have a parameter value of the current page to an external URL

    I created a button.

    The URL redirection target option is set to URL

    [I put the URL target for the http://[URLNAME button]? [constant parameters] & p_variable =: P13_VALUE1

    The APEX variable does not replace what I understand. Can someone tell me how it CAN be replaced?

    Thank you very much

    Marco

    Hi Marko,

    You must use & P13_VALUE1. of the element to get by following the link.

    Kind regards
    Andrea

  • BB browser problem: long URL issue

    Hi, it's me again once I got several long URLs (composed of about 400 characters) and I can't see the corresponding web page on my BB browser, but URLS work fine on my personal computer browsers (IE, Mozilla,...), so I suspect that the BB browser limit some characters in length of the URL, but I don't know if it's good or bad Please help guys.

    TNX'

    I found the error.

    I confused on the conversation of the URL.

  • APEX SDLC issues

    As is typical with most development workshops, we have separated development environments, QA, and production for APEX. In addition, as is typical, make us changes in the lowest environments and then further upwards.

    For example, we have recently made important changes 8 pages of our application in development. We would simply like to replace pages in QA with these new editions. However, we cannot import them on other pages because we get the error "that was created in a different workspace or an application...". ». We can monkey with the export file and change the number of the application. This gets past the first error but, then gives us an error of PK.

    IS THERE ANY METHOD TO PROMOTE other than CUT AND PASTE CHANGES? Aside from being tedious, it is also subject to errors. We forget a change, preferably a status element, one pass on the following pages, etc. and the whole thinig is broken.

    What we are missing here? There must be a better way to do it, but, what is it?

    -Joe

    Published by: Joe Upshaw on June 14, 2012 08:12

    Published by: Joe Upshaw on June 14, 2012 08:12

    Joe,

    The key to move the pages in environments is to have the App ID and ID synchronized workspace.

    To do this - export your workspace on the DEV and re - import to QA. This should keep the ID of the workspace even. Then, import your applications in the new workspace, thus preserving their identity card.

    Once these two pieces is set up, you should be able to export pages from DEV to QA with ease.

    Thank you

    -Scott-

    http://spendolini.blogspot.com
    http://www.sumneva.com

  • Assign value APEX URL of the page to the redirect of the page element

    Hello
    I have the following hard coded URL routing traffic on page 10:
    href = "f? p = & APP_ID.:10: & SESSION. ::: 10 : »

    However, now I have logic to determine the button of the page which should route traffic and I'm storing in a Page element called P6_PAGE_ROUTE (the value is 10 or 23). How can I get the URL to direct traffic based on the value in P6_PAGE_ROUTE? I did some research and I've tried using the & P6_PAGE_ROUTE. but it does not work:

    href = "f? p = & APP_ID.: & P6_PAGE_ROUTE. : & SESSION. : & P6_PAGE_ROUTE. : »

    Thanks in advance for any help!

    URL addresses by passing the values generally have this format:

    href = "f? p = & APP_ID.: & P6_PAGE_ROUTE. : & SESSION. : ITEM1, ITEM2, ITEM3:VALUE1, VALUE2, VALU3

    Where,
    Question 1 has value 1
    question 2 has value 2
    and point 3A of value 3

    So the stuff LHS of the *: * must be the name of a page element

    + PS: Ensure no space after the comma as its URL. I fell for the first time and it is difficult to meet. +

  • Revel URL issue?

    What will be our new URL Revel?  Preveioulsy with the old Photshop account is: www.photoshop.com/users/yourname

    When you share an album, Revel creates a link for you to copy and share. At this point, it is not customizable by the user.

    Here is a useful link to the share that you might find interesting:

    FAQ: How to share files to Revel?

    Guinot

  • white or space in the URL issues

    Hello

    When I move the attribute name in the url.

    Sometimes the url with spaces between words at this time, it displays error

    It is the following code for this button in doubles.

    In the homepage of CO

    If ("duplicate". Equals (PageContext.GetParameter (EVENT_PARAM)))
    *{*
    String LookupCode = pageContext.getParameter ("LookupCodeColumn");
    pageContext.setForwardURL ("OA.jsp?page=/eis/oracle/apps/xxeis/central/admin/Lookups/webui/EISRSCLookupsCreatePG & lookupEvent = double & LookupCodeColumn =" + LookupCode,
    NULL,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    NULL,
    NULL,
    fake,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    *}*

    Then, after executing the throw vo AM noramlly.

    Can you help me please

    Thank you
    Khalid

    Hello

    Pass the two parameters using a hash table. Can be passed as on parameters of SetForwardURL.

    com.sun.java.util.collections.HashMap vMyParams = new HashMap();
    vMyParams.put ("lookupEvent", "update");
    vMyParams.put ("LookupCodeColumn", LookupCode);

    pageContext.setForwardURL ("OA.jsp?
    "page = / ist/oracle/apps/xxeis/central/admin/research/webui /EISRSCLookupsCreatePG ', * //No need to provide parameters as part of the URL
    NULL,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    NULL,
    vMyParams, * //Here pass your HashMap object *.
    fake,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);

    HTH,
    Syed

  • Navigate to the URL issues Mac to PC

    Hi, I am a beginner in AS 3.0 coding.  But I had an embarrassing problem.  I have Flash CS4 running on an Intel based Mac.  When I add the following code to redirect users to a website on the click of a button:

    otherLinks.addEventListener (MouseEvent.CLICK, demoContent);

    function demoContent(e:MouseEvent):void {}

    var url: String = "http://BLAHBLAHETC";

    var urlReq:UrlRequest = new URLRequest (url);

    navigateToURL (urlReq);

    }

    I am able to access the url correctly.

    When I test this file on my PC I can't the link to work.  In fact nothing happens at all.  No error messages no. impossible to load the file, she acts just like the button is not yet coded.

    I tried many variations of code assigning variables differently, do not use the string var etc. without success on the PC.

    I suspect that the problem lies in the fact that my Mac running the .swf into Flash Player as a stand alone while my PC is running the .swf via the browser.

    Any suggestion would be appreciated.  Thanks in advance.

    Andrew Collins

    You are welcome.

    (and this is the solution to your problem.  you just failed (at the beginning) to realize that your flash player is not in the zone of confidence).

Maybe you are looking for