Clear cache original linking in the APEX

I use the theme 4, Topaz. Region_Position_06 is a link from origin.

I placed a chart of the company at this position on the zero page, and when a user clicks on any page, she leaves this page and go to the home page, a main menu page. So, no matter how deep, a user can be in the pages of the application, she can always click this logo image and return directly to the main menu page.

It's convenient, but there is a problem. By clicking on this logo, does not clear the cache on the page that fate of the user or, indeed, on any page in the trail of pages, the user has taken to access the current page. I navigate especially with buttons and always empty the cache on a page when I'm out there. I need to find a way to do this when a user clicks on the image of the logo.

I would like your ideas to solve this problem.

Published by: Doug Sep 29, 2012 14:45

Doug wrote:
fac586,

Thanks for your help. I think you have put me in the right direction. Now, everything I need to know is how to get there. You say "add a ClearCache parameter to the URL in the original linking." Clear the memory cache for the session would deal with the problem, but I need to know where to find the URL of the original linking.

The original linking is defined in the attributes of the application (in APEX 4.x, click the button modify application properties on the home page of the app in the App generator). 4.2 the apex, there is an attribute of home page for each user on the User Interface tab interface. In previous versions, it is located on the Security tab.

Always identify your version of APEX and so help can be provided...

Tags: Database

Similar Questions

  • How to call the warning error message when click on change the link in the Apex 4.2

    Hi all

    It was a request when they review link I need to show a popup screen "you are trying to update" Ok (or) Cancel to process further.

    Currently, the screen has been designed as shown below, could you please help me how to handle this request.

    Now in the form id I provided a link as shown below [the main objective is that when you click on the link code form it will redirect to change the screen where users can update the fields if necessary]

    Under the link column.

    Text link: #COL01 #.

    Target: Page in the present application

    Page: 1

    Item 1: P1_BUTTONHIDD value: UpdateMode

    Point 2: P1_DISPLAY_EID value: #COL01 #.

    Now when we click on "ME0016" need to alert message before it redirects to change the screen to update things.

    Kind regards

    Sruthitamiri

    Change the TARGET:

    JavaScript: if (confirm ("do you really do this?")) {window.location ='f? p = & APP_ID: 1:P1_BUTTONHIDD, P1_DISPLAY_EID:UpdateMode & COL01.} "} ;

  • The use of Javascript in the button Clear Cache

    Hi all

    I created a button and under optional URL redirection of the clear Cache, I wrote the page number to clear cache pages, but now I use target as "URL" and the target URL under: -.
    JavaScript:XYZ();

    and JS in HTML header is: -.

    < script language = "JavaScript" type = "text/javascript" >
    function xyz()
    {
    var response = confirm ("are you sure?")
    If (response)
    {
    Window.Location = ' f? p = & APP_ID.:9: & APP_SESSION. »
    }
    on the other
    {
    do something else
    }
    }
    < /script >

    I am therefore able to redirect the user to page 9, but with what I want also to clear cache certain pages (say for ex:-page 5, 6 and 7), so how can I write under URL


    can someone help me?


    Thank you


    Deep

    Hello

    Page 27 of clearing cache to be directly, using the good f? setting clear cache p. Using the value of the claim is to do it manually the APEX motor is done for you, automatically.

    It seems to me that something doesn't work correctly with your specific page. After answering the question of why Larry you think that the page cache is net clear, you should try to rebuild your situation on apex.oracle.com.

    Kind regards
    Arie.

  • Adding values over the link to the column in the Apex

    Hello

    Is it possible to add extra or more values in the column link in the Apex. I have already 3 name of the column and the values associated with another report.
    .........
    For example: -.

    The column link:

    Text link: #COUNT #.

    Value name
    DATE #DATE #.
    PRICE #PRICE #.
    COST #COST #.
    .....

    I would like to add a name like 'ID' and correspondent and value #ID #.

    Help, please...

    Thanks in advance...

    Published by: user13561710 on January 10, 2011 09:20

    Published by: user13561710 on January 10, 2011 12:34

    Change the target in "URL".
    and set the URL as

    f? p = & APP_ID.:: &: NO::DATE, PRICE, COST, ID of SESSION.: #DATE #, #PRICE #, #COST #, #ID #.

    Replace properly

    CITY

  • Clear cache page after deletion to avoid errors ora-1403 Apex 5.01

    Hi all

    Always 'new' at Apex!

    I'm getting ORA-01403: no data available error after deleting a line in a 5.01 Apex form created from the interactive report + model form.

    After searching the forum, I found a direct reference to this situation:

    ORA-01403: no data available on the deletion of a record

    --------------------------------------------------------------------------------

    After deleting a record, you must clear the page cache. If you do not have the primary key item session state can keep the old value of the deleted record. The page loading process will try to retrieve this value from the table and meet no data found.

    ---------------------------------------------------------------------------------

    Unfortunately, I do not know where or how to " " " clear the cache of the page ' after deleting a record.

    I saw the reverence to APEX_UTIL. CLEAR_PAGE_CACHE but I don't know where to use

    Others say still set the value of the key null column.

    The documentation of the Apex is said to use the URL:

    2.9.3.2.2 example: clear cache on a Page and passing an element value

    This example shows how to implement a form of update. It erases the existing information and sets the value of the element (usually a primary key).

    f?p=6000:6003:&APP_SESSION.::NO:6003:MY_ITEM:1234 

    This example:

    • Runs the application 6003 6000 page and uses the ID of the current session

    • Specifies to not show debug information ( NO )

    • Clears all values maintained by the current session for the items on page 6003 cache

    • Sets the State of an element called session MY_ITEM value1234

    But I do not know where or how to do that in the context of the key Suppr.

    Can someone point me in the right direction? I'm learning the Apex using as many integrates native as possible features.

    If clearing the cache of the page, that's what needs to be done after the removal of a line, would not these features have been integrated to the Delete key?

    Thank you

    Mason

    OK, after wandering in the desert for a while, I tried this approach to clear the cache once you press the button Delete and it doesn't seem to work.

    I created a new process called "Clear the cache" after the process of "line process of...» »

    The process to clear the cache was of type PL/SQL Code with the section of Code PL/SQL, the value 'APEX_UTIL. CLEAR_PAGE_CACHE (2); »

    I don't know if it's a good way to do this, or if the accepted practices, or what side effects will rain down on me that they are, but at least I got a result that has solved my immediate problem.

    So nice to click on delete and not greeted with an ORA-01403 error!

    Thanks to everyone who helped me in on it!

    Mason

  • How to open a session in an application apex of a link to the html page, passing the username and password in the url

    Hello

    I have a html page (can be created by jsp/other technology) where I need to provide a link to an apex application passing the user name and password, so that the user does not have to connect. I tried below, but it shows the login page.

    <! DOCTYPE html >

    < html >

    < body >

    " < p > < a href =" https://Apex.Oracle.com/pls/Apex/f?p=75478:101:0:login:P101_USERNAME, P101_PASSWORD:[email protected], gmail@123 [email protected] , gmail@123 "> my Application < /a > < /p > "

    < / body >

    < / html >

    no idea how to do it?

    Apex 5 / chrome browser / window 7

    Concerning

    Sanjaya

    Hi Sanjaya,

    from a security point of view I would strongly recommend NOT to include a clear text password in an HTML page or pass it through a url!

    But back to your question why it does not work. It does exactly what you say APEX. Go to page 101. If you want to simulate a page you submit must use BRANCH_TO_PAGE_ACCEPT which tells APEX to go to this page, but performs the 'Treatment of the Page' page instead of make. See http://docs.oracle.com/cd/E59726_01/doc.50/e39147/concept_sub.htm#CHDICEDJ

    Here is the correct URL, you must use.

    https://Apex.Oracle.com/pls/Apex/f?p=75478:101:0:BRANCH_TO_PAGE_ACCEPT:P101_USERNAME, P101_PASSWORD:[email protected], gmail@123

    Concerning

    Patrick

  • Migration to the public website of the Apex - keeping in the Google rankings / links

    Hello

    We have developed and application of Apex that will replace the exsiting customer non-Apex Web site. The customer is concerned about the impact this will have on their Google rankings and links from the Google search results.

    For example, the current site of the non-Apex has a 'Contact us', page whose URL is www.mycustomer.com/contact_us.asp. Googling 'my client contact us' will show this link search results. The Apex of this page version URL will be something like www.mycustomer.com/pls/apex/f?p=app:contact_us.

    Thus, when the client performs a migration towards the Apex version, links to Google search results will be more valid. How should we go about the redirection of invalid links from Google for the new Member States?

    Thank you

    Andrew.

    Hi André,.

    If you happen to be running apache as your Web server instead of the integrated bridge, you could look at using the mod_rewrite module and guidelines in your virtual host containers so that the elders the URL of the page is a redirect in the appropriate in your apex application page. By practice that google will gradually update their links to your site visitors to directly access your apex pages, as he was transferring the page rank of the original page to your new page apex. You can also check the id of the session extraordinary '0' for the simplification of the URL.

    Alternatively, you can edit existing pages site do a 301 redirect to the new pages in their treatment of header - not enough and also means that you have to run at the old site.

    See you soon,.

    Mike

  • I need to find "the Clear Cache a URL section" where can I find it?

    I have to do the following but don't know where it is, please help.


    To restore an interactive report in a link, use the string "RIR" in the section Cache Clear of a URL. This means the user choose the Reset option in the menu interactive report actions on the target page. The report is returned to the default report parameters specified by the developer.

    Ok.
    You can solve this problem by creating a header before process on the page of interactive report with the following code to the page

    apex_util.ir_reset(:app_page_id);
    

    These only api related IR is described below

    procedure ir_reset)
    -Interactive reports for application and current user session
    -Identical to a reset of the user via the menu drop-down
    -Reset recreates default filter, control breaks, display columns etc.
    --
    p_page_id number); -Valid number of page within the current application

    procedure ir_clear)
    -Erases an interactive report for application and current user session
    -Remove the filters for an interactive report
    -Clears all report filter, including the default filters
    -Clears all interactive reports for a given application page
    --
    p_page_id number);

  • For a future update, can you please add a feature that clears the cache automatically by exiting the application Firefox? (Much appreciated!)

    See the question. That about sums it up.

    Note that Firefox disables the disk cache if you use "Clear history of Firefox closing" to clear the cache, as you can see by the section of cache disk missing on the subject: the cache page.

  • When I am on a site and I click on a link on the site, the original page shows on the new selected page

    An example: I'm on Bing and I click on a link, the new Bing page original page shows instead of the new link page, I selected. However, when I select the link in the same page of Bing this page link shows on top and OK.

    This answer does not solve my problem. Everything on the display is correct. However, the next response is exactly what is happening to me. Thank you.

  • Links and bookmarks to the Apex 5 deep

    Dear community of Apex,

    We are currently a problem or misunderstanding with the use of deep links regarding the user favorites.  The documentation suggests that the deactivation of deep links in the security attributes would stop a user navigates to a bookmark in the middle of a wizard page.

    However, a simple test that goes as follows:

    1. While in the page request to bookmark on second stop of the train

    2. close the session

    3 try to cross the bookmark which then takes you to the login page

    4. connect

    -Expected: user will be re-directed to the homepage

    -Currently: moves to the second train stop

    Note: deep links is not overridden in any of our pages, session state protection is on and access page protection has the value "Arguments must have Checksum.  Invalidate the bookmark links works a treat on this bookmark, that I just created.

    Does anyone have an experience that can shed some light on the question of whether we are doing something wrong, or our expectations are imperfect.

    * Version: Application Express 5.0.1.00.06

    * Tested on Chrome and IE v11 v45


    Thank you

    Barry

    Make sure that you are logged into the application builder too. First I had the same question, but what ITU registered with the manufacturer, that it works as expected.

  • APEX 5 - missing values in link for the PAGE that is modal if it has used some PAGE ELEMENTS in the VALUE of the

    Hi Experts,

    There is a problem in the APEX when I open a modal page-> submit modal page and refresh parent region (report one).

    When I first open a report from the region and click the modal page, everything is ok:

    Modal page values are defined in the sense of link that open to it.

    Submit after modal page by button (there is a process of dialogue), the dialog box is closed. On the parent page, there is a DA - dialogue close report parent refresh.

    After update - waiting indicator is indicated - all the element referenced in the link to open modal values are defined as empty values.

    Is there a problem in the links when I use it it set the values of the elements of the page? (not report items)

    I reproduced the problem on apex.oracle.com:

    https://Apex.Oracle.com/pls/Apex/f?p=16502:9

    user/pass: demo/demo

    "Just check the link in 1 region report-#OPEN_MODAL" report item. You can check the link with the appropriate values.

    After opening modal, simply click on the button. Dialog box is closed and updated in the region. Check the link again. Link is not valid because the values are empty. (screenshots above)

    concerning

    J

    Hi Jozef,

    the values of your page P9_NEW1 - P9_NEW5 items are not in persistent session state, they are only available in memory at the time when the page is rendered. Every time when you want to refer to an element in your report, and no matter if it is in the report SQL statement or as a substitution in a link, it must present the server as part of the "Refresh" / AJAX call so that the server can initialize this session state and you are able to reference it. You can do this by setting "Page elements must send" your report. In your case, you must set it to P9_NEW1, P9_NEW2, P9_NEW3, P9_NEW4, P9_NEW5. See the example updated, you provided.

    Concerning

    Patrick

  • can anyone provide a link to insert the image with the text on the button in the apex 4.2.6

    can anyone provide a link to insert the image with the text on the button in the apex 4.2.6

    ReemaPuri wrote:

    in the workspace image:-resign.jpeg

    As a button? Seriously?

    Ok. First of all, because the image already contains text, there no point in including the same wording in the form of text on the button. Accessibility requirements can be met using re-sign as alternative text. 4.2, create an image button:

    Tag/Alt text: Re-sign

    Static ID: re - sign

    Style button: Image

    Button Image: & WORKSPACE_IMAGES.resign.jpeg

    To make the image looks more like a button, add the following CSS to Inline CSS property page:

    #re-sign img {
      margin: 0 2px 2px 0;
      border: 2px outset;
      border-radius: 4px;
    }
    #re-sign img:active {
      margin: 2px 0 0 2px;
      border: 2px inset;
      border-radius: 4px;
    }
    

    Finally, there is a bug in 4.2 that generates the incorrect URL for the button images, which requires dynamic action of Page Load to fix.

    Event: Loading the page

    Action: Run the JavaScript Code

    Code

    var resignImg = $("#re-sign img");
    resignImg.attr("src", resignImg.attr("src").replace("/i/", ""));
    
  • Creating a link "Download Media" on a form the apex

    Apex 4.2

    I have a form based on a table of PEOPLE:

    Create table PERSONS
    (
    Person_Id int,
    Name varchar2(100),
    Occupation varchar2(100),
    Photo_id int
    );
    

    The 'PHOTO_ID' field links to our PHOTO_MEDIA table

    Create table PHOTO_MEDIA
    (
    Photo_id int,
    File_name varchar2(100),
    Mime_type varchar2(100),
    Short_desc varchar2(200),
    Media blob
    );
    

    The form lists information for people. At the Summit, I have an automated extraction process to extract data from the PEOPLE table. I have a problem, a link "Upload media" based on this page. It is quite simple to build a link on the page, but the link to request a popup to download/save the multimedia document is another question. Since I'm the field PHOTO_ID of the PEOPLE table on the form, I tried to question the media of the PHOTO_MEDIA table, but there is a conflict of data types. Get an error in the sense of... 'incompatible data types, expected number, got blob... ". ». I have also studied using apex_util.get_blob_file, but nothing seems to work properly. Any help on this would be greatly appreciated. Thanks in advance.

    Yes you are right.  You will need to create a region (the model any that it does not display), you will need the P900_ID element to receive the value.

    In the process, you declare the variables and make your own selection.  You do not need or want an automatic extraction process.

    The code of your process will probably look like this:

    declare
      l_file_name   photo_media.file_name%type;
      l_mime_type   photo_media.mime_type%type;
      l_media       photo_media.media%type;
    begin
      select file_name
           , mime_type
           , media
        into l_file_name
           , l_mime_type
           , l_media
        from photo_media
       where photo_id = :P900_ID;
    
      htp.init;
      owa_util.mime_header(l_mime_type,false);
      htp.p('Content-Length: ' || dbms_lob.getlength(l_media));
      htp.p('Content-Disposition: attachment; filename=' || l_file_name || ';');
      owa_util.http_header_close; 
    
      wpg_docload.download_file(l_media);
      apex_application.stop_apex_engine;
    end;
    

    Thank you

    -Jorge

  • Syntax of the apex to create edit link

    Apex 4.2

    I have a report that I'm working on that uses a custom edit link embedded in the query. The query along the lines of:

    SELECT
    first_name as FIRST,
    last_name as LAST,
    '<a href="f?p=&APP_ID.:67:APP_SESSION.::::P67_PERSON_ID:#PERSON_ID#"><img src = "/i/edit.gif" alt=""></a>' as LINK_COLUMN
    FROM PERSONS
    

    I want to report link to the information page (Page 67; report is on page 66). However, there is a problem with the syntax. On the report, I can click on the link for each line. It'll take me to the next page, but his has not managed the information on the next page, based on the past PERSON_ID.

    I think another way would also use javascript.apex: submit {} but I'm not as familiar with this syntax as well. I did some searching on google but I encounter difficulties still generate this link.

    Any help on this would be greatly appreciated. Thanks in advance.

    You mix the Apex syntax (like token #PERSON # and & substitution variables) with SQL syntax - and expect that everything works like magic.

    The syntax of the token # is applicable only in the column properties (for example, the definition of HTML column or column URL/link definition) in a report of the Apex. It has no meaning in SQL.

    If you want to generate the URL under the projection of the SQL then use:

    select
      first_name as FIRST,
      last_name as LAST,
      '' as URL
    from persons
    

    And as Frank commented - please use the correct forum area in the future when ask what apex questions.

Maybe you are looking for