A href in html region

Hi,
In a region source I have the following Link text , but every time I go into the page (in the same application) it asks me for password. How can I avoid this?
Thank you

Hi,
I assume your link should take you to another page in your application.
If that is case I think your link is missing session id.
Try
<a href="f?=&APP_ID.:10:&APP_SESSION.:::::">My Link</a>Change number 10 according page id you link need to be redirected
PS: when you post code wrap it to {noformat}{noformat} tag like
{noformat}my code here{noformat}
Regards,
Jair                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • How to load a large amount of HTML into HTML region?

    I am trying to display a clickable image map (HTML <map>) in a region. The HTML source for the image map is fairly large and will not fit in the Apex editor (HTTP 400 error when I Apply Changes). I would also rather not manage that much HTML in the Apex web editor. So I stored the code in a file and added it to my applications file storage.
    I have tried various methods of getting the HTML to load when the page is rendered. I tried a URL region, but that leads to all kinds of ACL/security issues that we do not want the customner to have to deal with. i also tried some PL/SQL:
    DECLARE
    l_file_id NUMBER;
    BEGIN
    SELECT id
    INTO l_file_id
    FROM APEX_APPLICATION_FILES
    WHERE filename = 'myhtml';
    APEX_UTIL.GET_FILE(
    p_file_id => l_file_id,
    p_inline => 'YES');
    END;
    But that just replaces the entire page, not just the region it's defined in (even when the HTML is without <head> etc).
    Various attampes wih #APP_IMAGES#myhtml and &APP_IMAGES.myhtml just give me the translation of the APP_IMAGES variable.
    So, how do I load a large chunk of HTML into a region dynamically at run time? I also need this to interact with APEX in the sense that JavaScript will set APEX variables and cause a SUBMIT when the use clicks on the image map.

    Hi Andy,
    ATD wrote:
    Does your HTML define the regions/points on the map using AREA tags?Yes. it is actually generated using MapSefrver from huge tables of SDO_GEOMETRY (Oracle Spatial).
    If so, you could define a report template that does this and use this for a report based on a table that has the settings for shape, coords, href etcHmm, the code (HTML map) is auto-generated so if I understand you correctly, this might be difficult. One of the HTML is approximately 180KB of text.
    I found a way to do this using dynamic PL/SQL. I created a new table that has a varchar filename and a CLOB for the file data. I then imported the HTML into the table using SQL Developer (copy&paste, nice!). I then created an HTML region and used the following:
    declare
    html clob;
    len number;
    st number;
    c number;
    begin
    select length(data)
    into len
    from FILES
    where name = 'state_query.html';
    st := 1;
    while len > 0
    loop
    if len > 32000 then
    c := 32000;
    else
    c := len;
    end if;
    select substr( data,st,c )
    into html
    from FILES
    where name = 'state_query.html';
    htp.p( html );
    st := st + c;
    len := len - c;
    end loop;
    end;
    Edited by: CoyoteTech on May 13, 2009 7:27 AM

  • Using a Target in an HTML Region

    Hi, I have a page with an HTML Region, which links to an external html page. The external page has links to other, secondary external pages. I'd like for the secondary links to open and replace the original external page within the same region on my HTMLDB page.
    I've considered trying to create a FRAME inside the region, then using the HREF TARGET= in the external files to point to that FRAME. But, I'd like to be able to do this without manipulating the html code inside the external pages (though that might be an option if I can't get there without doing so).
    Any other ideas?
    Thanks as always for your help...
    Mark

    Mark,
    Try using an iframe rather than a frame

  • Use SESSION variable in URL from HTML region

    Hello,
    I have what looks like a simple question but i've been struggling with it for three days now, and i need your help!
    I have a page, with an HTML region. I want to display some links to other pages within the application, so i thought i'd use this:
    a href="http://server.xxxx.com:7777/pls/htmldb/f?p=114:13:&SESSION"
    But the session ID is not interpreted, and the link doesn;t work. Any idea what's wrong here? or how i should create links with the session id in it?
    Thanks!!!! Matt
    Message was edited by:
    matt_amsterdam

    Matt,
    You've missed off the period (.) off the end, use &SESSION. instead

  • How to - link from HTML Region to Report Column?

    Dear Apex gurus,
    Ok, I'll go straight to my question. I have a file upload page with Report Region (conditional) which comes up after file uploading process. Under Report I have a column to delete uploaded file (column has an image in link, target in application, item name: P2_DELETE_ID and value: #DOC_ID#). Basically the Report picks up just uploaded file ID and allows me to delete the file by having Hiden Page Item (P2_DELETE_ID) and Before Header Process:
    BEGIN
    DELETE FROM EBA_ASSET_ORDER_TEMP_DOCS
    WHERE doc_id = :P2_DELETE_ID;
    END;with condition: Value in Expression 1 is Not Null, and Expression 1 set to:
    P2_DELETE_IDI have and another conditional Region (which is HTML) and it comes up after file uploading process as well. The region Source is:
    &lt;div id="FinalMessage">&lt;/div>
    &lt;br />
    &lt;div >&lt;a href="javascript:confirmFileDelete(htmldb_delete_message,'f?p=&APP_ID.:2:&SESSION.:REMOVE_ID:::P2_DELETE_ID:#DOC_ID#');">&lt;img >src="/i/delete.gif" style="position: relative; top: 1px;"/>Remove Uploaded File&lt;/a>
    &lt;/div>where id="FinalMessage" - is the Sucess/Error message from JS
    and .....href="javascript:confirmFileDelete....... - is my actual question. So, I am trying to hide my Report Region and show only my HTML region where I will be able using this (.....href....) link delete file from my table. I am able to dele file using report colum link but my .....href.... link dosnt want to delete my file, doen't even want to pick up file ID. Is there a way where I can link my .....href.... link to pull from Report Column????
    Thanks

    I am getting crazy now:
    It gives me an error message whan I am trying to add RETURN to my process, here is my process, seems to be fine and I can fined what is going on, may be I am blind:
    DECLARE
    n_size NUMBER;
    v_filename VARCHAR2(500);
    P2_FILE_INPUT VARCHAR2(1000) := v('P2_FILE_INPUT');
    BEGIN
    INSERT INTO EBA_ASSET_ORDER_TEMP_DOCS (DOC_ID, NAME, CONTENTS, mime_type, CREATED_ON, DOC_SIZE, FILENAME)
    SELECT ID, P2_FILE_INPUT, BLOB_CONTENT, mime_type, CREATED_ON, DOC_SIZE, FILENAME
    FROM apex_application_files
    WHERE NAME = P2_FILE_INPUT
    RETURNING DOC_ID INTO :P2_DELETE_ID;
    DELETE apex_application_files
    WHERE NAME = P2_FILE_INPUT;
    END;error:
    1 error has occurred
    ORA-06550: line 13, column 38: PL/SQL: ORA-00933: SQL command not properly ended ORA-06550: line 10, column 4: PL/SQL: SQL Statement ignored
    Edited by: Yasen® on Oct 5, 2009 3:28 PM

  • Display Blob content in HTML Region

    Hello,
    I'm trying to display the contents of an .htm file in an html region. I can get it to display as a link but I can't get it to display as an image. I have a page item that is display as text (do not save state). For the source value I use a PL/SQL function body. I use the following code to display the image,
    return '<img scr="#OWNER#.get_help_doc?p=U76.htm></img>';
    I get the broken link symbol.
    However, if I display it as a link as follows, it works:
    return '<a href="#OWNER#.get_help_doc?p=U76.htm'
    || '">Help</a>';
    How can I display the .htm file as an image? Thanks, Elizabeth

    I found my answer in message
    http://apex.oracle.com/pls/otn/f?p=11933:120:3919935161915118::NO:RP::.
    I used the <embed src=>
    Elizabeth

  • HTML Region

    Hi,
    I have an APEX application that uses some HTML regions to display help text and other types of messages for the user.
    I realize I can enter HTML code to give color and other text formating. This is a great feature.
    My question is: can I use items that are on the form inside the HTML?
    For example, I have a hidden field that would be nice to see inside the HTML region. Is this possible?
    Here is what I tried to do and id didnt work:
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
    <title></title>
    <style type="text/css">
    .style1
    font-size: larger;
    color: #0000FF;
    .style2
    color: #3333CC;
    font-size: xx-large;
    </style>
    </head>
    <body>
    <p class="style2">
    <strong>:*P65_CLM_ENR_ACC_MANAGER*</strong></p>
    </body>
    </html>
    I'm not getting the value for :=P65_CLM_ENR_ACC_MANAGER, instead, it shows up in the region as ":=P65_CLM_ENR_ACC_MANAGER"
    Any help would be appreciated :)

    *ALWAYS post code wrapped in <a href="http://wikis.sun.com/display/Forums/Forums+FAQ#ForumsFAQ-Arethereanyusefulformattingoptionsnotshownonthesidebar%3F">wrapped in <tt>\...\</tt> tags</a> to preserve formatting and stop the forum software from interpreting HTML/CSS/JavaScript.*
    I realize I can enter HTML code to give color and other text formating. This is a great feature.Use HTML to structure the document; CSS to provide "color and...formating".
    <li>, and elements cannot appear in a region<tt>html</tt>, <tt>head</tt> and <tt>body</tt> elements cannot appear in a region: they can only appear once in a document and will almost certainly already be components of the page template.
    <li>runatThere is no <tt>runat</tt> attribute.
    <li>Re: Placement of APEX_CSS.ADD_FILE in HTML, <tt>style</tt> and <tt>link rel="stylesheet"</tt> elements should only appear within the <tt>head</tt> element of a document. If (as appears likely) these styles are required across your app, the best approach would be to create them in an external style sheet.
    I have a hidden field that would be nice to see inside the HTML region. Is this possible?....I'm not getting the value for :=P65_CLM_ENR_ACC_MANAGER, instead, it shows up in the region as ":=P65_CLM_ENR_ACC_MANAGER"The syntax for static text substitution in an HTML region is:
    &P65_CLM_ENR_ACC_MANAGER.(including the terminating dot).
    And please update your forum profile with a better handle than "user13813605".

  • HEADER AND FOOTER IN HTML REGION

    I want to create a repeatable HTML Header (not an ApEx region Header) for a HTML region as described in
    http://www.html4newbies.com/header_footer_tip.php
    I want to include the header at different points in my HTML region
    It says that you need to save the Header in an external file and then reference it using the line
    <!--#include file="header.html" -->
    Can you do this in ApEx? I've uploaded the file with the header code into ApEx but how do I reference it? I've tried
    <!--#include file="#WORKSPACE_IMAGE#header.html" -->
    but it doesn't recognize it.
    Or is there a better way to do it?
    regards
    Paul P

    Can a shortcut be plugged in the middle of report output?
    The problem I'm grappling with is the page setup for a report prior to printing.
    If I use a template, the header will still appear only once if the report is large and pagination is turned off.
    Is the only way to define a "page" in ApEx through Pagination?
    If I have a report with no pagination set and the number of rows set to, say 10000 and I want to print off the report, how would I place a page header or footer every 66 lines (i.e. simulating portrait on A4)?
    Am I using the wrong application for this?
    regards
    Paul

  • Display image in HTML region???

    I made blank page, and on that page I made html region. Then I go to the Shared Components>Images Create and Upload the image DMD.gif
    to the Application 106, that the Application with which I'm working.I trying to put that image to the html region.
    In html region in Source I put this code, but it doesn't working:
    .<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    .<html xmlns="http://www.w3.org/1999/xhtml">
    .<head>
    .<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    .<title>Untitled Document</title>
    .</head>
    .<body>
    /img src="/i/DMD.gif" align="top"/
    .</body>
    .</html>
    I'm workin with Application Express 2.1!
    Edited by: user10187476 on Aug 27, 2008 2:35 AM

    In the HTML Region just put
    &lt;img src="#WORKSPACE_IMAGES#DMD.gif">
    or if you associated the image with the application
    &lt;img src="#APP_IMAGES#DMD.gif">
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Html region print report in APEX 3.0

    Hi all!
    I have some HTML regions on some pages of my application.
    Do you know how to receive print reports of this regions in some formats e.g. PDF, EXCEL, HTML, rtf ?
    Is't any idea or any link ?
    Regards,
    Roman

    Hi all!
    I have some HTML regions on some pages of my application.
    Do you know how to receive print reports of this regions in some formats e.g. PDF, EXCEL, HTML, rtf ?
    Is't any idea or any link ?
    Regards,
    Roman

  • How to display the value of a javascript variable in a html region ?

    Hello,
    I need to display my page title or name in a html region.
    I added a script in the <title> section of the template header... :
    (thanks Andy : Get page name from page attributes ?
    <script type="text/javascript">
    var pageTitle = '#TITLE#';
    </script>... so I can use it in a javascript variable.
    But now I don't know how to display it in a html syntax..
    Thanks!
    Fanny

    ... so I can use it in a javascript variable.Don't see any reason to modify page templates to introduce an unnecessary global JS variable when the document property is already there. Display it using an appropriate HTML element, e.g <tt>h1</tt> if it's the overall page heading.
    <h1>
      <script type="text/javascript">
        document.write(document.title);
      </script>
    </h1>

  • How to Display PHP Output as Portlet in HTML Region using utl_http.request

    I wanted to be able to parse PHP functions to add more functionality to my Page. nothing fantasy, something simple like: http://phpsysinfo.sourceforge.net/phpsysinfo-dev/?template=classic
    Where the realtime values are retrieved from the OS. this represent some kind of problem to me, I know how to do it from Shell Script, Perl or PHP, but not from PL/SQL.
    Based on my experience using Oracle Portal, Portlets, I think we really can make use of the feature used in Portal called Web Clipping. [ This feature basically goes to some Site a retrieve part of the site to show in the current page]. Well the PL/SQL utility utl_http.request does something similar.
    Make sure your request page does not retrieve some headers because that would cause a problem in your page and will not show up.
    This is what I did:
    <b> 1.- </b> Grant Privileges to execute [ <b> utl_http.request </b> ] to the owner of your schema.
    login into the OracleXE / APEX as SYS then go to the Object Navigator, then click on packages, find the utl_http.request then click on it, later click on grant and select your schema owner for your applicaion.
    <b> 2.- </b> Logout as SYS then login as your application schema user. just to test the functionality go to the sql command then enter the following command and then click run:
    <b> select substr(utl_http.request('http://www.oracle.com/'),1, 255) from dual; </b>
    If your output is:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Oracle 10g, Siebel, PeopleSoft | Oracle, The World's Largest Enterprise Software Company</title> <meta name="title" content="Enterprise Applications | Database | Fusio
    <font color='blue'> Wow It worked </font>, this really could be useful !!, If not go back to step 1 and check your permissions to execute, or perhaps your Internet connectivity.
    3.- Once we know the package works and we can retrieve content from the Internet. lets go to some of our pages add some HTML Region.
    4.- Create an item and put into the new region. the source will be SQL, For the purposes of my test the query to the Oracle Page failed, so I decided to give a shot with a simple PHP script with no headers.
    The internal server is: http://mytest.com/hello_world.php
    Where the content of the hello_world.php is:
    <?
    echo '"<b> Hello World </b> ";
    ?>
    This PHP works fine and display the basic Hello World. can be the same server or not, also noticed this can be another port perhaps using something like Ruby,Mason or Java.
    <b> 5.- </b> Finally in my Item the source type is SQL and looks like this:
    <b> select substr(utl_http.request('http://mytest.com/hello_world.php'),1, 255) from dual; </b>
    Apply the changes and run the page !!!
    Excelent It worked as expected. now you know how use utl_http.request to create webclipping in your OracleXE / APEX from remote pages, or how to use it to parse the output from CGI, Perl, PHP, Ruby or Java pages.
    Note: [ Just make sure to strip the headers or parse into a PL/SQL Procedure to clean then show ]
    Best Regards <b> Dino </b>.
    Brains R Like Books only work when they R Open.
    http://www.htmldbhosting.com/

    Sorry, from your post in the LabVIEW board I did not understand that it was the Output message that you were looking for.
    I thought you wanted the results from your test steps displayed on the user interface. 
    It is the “Output Panel” in the sequence editor that displays your output message, but I do not know if there is default Output panel activeX indicator for user interface that the TestStand engine would update automatically like it does the execution view.
    Maybe someone else knows 
    As also pointed out, the UI messages is your other option.
    The Output Message event number is 40 
    http://zone.ni.com/devzone/cda/epd/p/id/3879
    UIMsg_OutputMessages–(Value: 40) TestStand sends this message at periodic intervals when it holds references to output messages that calls to the OutputMessage.Post method queue. TestStand transfers the queued messages to an OutputMessages collection attached to the UIMessage.ActiveXData property for this event. An application that processes output messages should copy the output message references from the collection in UIMessage.ActiveXData to its own private OutputMessages collection by passing its private collection to the OutputMessages.CopyMessagesToCollection method. An application calls the Engine.NewOutputMessages method to create a private OutputMessage collection. TestStand generates this event only if the Engine.OutputMessagesEnabled property is True. Because there can be more than one handler for this event, the application should not modify the OutputMessages collection the UIMessage.ActiveXData property holds.
    Omar
    Message Edited by OmarGator on 10-09-2008 10:12 AM

  • Opening a Word document in a form layout html region

    Hi all,
    In an Interactive Report I use
    select '<img src="#WORKSPACE_IMAGES#'||package.f_get_document_type ( doc.id )||'" title="Document" width=20 height=20>'
    ) document
    from table
    to show an icon that eventually downloads (and shows) a word document.
    Now I have a form layout html region and I want to have the same icon\link to show a document.The document however is not in the same table as the rest of the page is based on.
    How can I show the document on this page?
    Kind Regards,
    Maurice
    Environment = Apex 4.0 database 11G
    Edited by: maurice.niezen on Aug 31, 2010 2:10 AM

    One way, create a hidden item, and return the value into it from your package (by having a computation that calls the function package.f_get_document_type(:P1_DOC_ID) . Let's say it's called :P1_DOC_TYPE
    There's a new item type in Apex 4, which is Display Image.
    When you get to settings in the item creation wizard, specify what the image is based on. From there, you can set it to be 'Image URL stored in Page item Value. Then on the source page, you can just specify the URL, #WORKSPACE_IMAGES#&P1_DOC_TYPE.

  • How to create a Hyperlink  from HTML region

    How can I create a Hyperlink to another site from an html region in an apex page. It should be something simple, but I could not find it
    Please help
    George

    Have a look here:
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    There are lots of examples that may be usefull for you.
    Denes Kubicek

  • Special Characters in a HTML region

    I recently upgraded from HTMLDB 2.0 to APEX 2.2 and I'm having trouble with some special characters.<br>
    <br>
    I have HTML region in which I display a hidden item. The hidden item (P1_TEST) has the following value:<br>
    <br>
    STRING1&lt;br&gt;STRING2&lt;br&gt;STRING3&lt;br&gt;<br>
    <br>
    The region source has a single reference to the hidden item:<br>
    <br>
    &P1_TEST. <- the period is there. :)<br>
    <br>
    In HTMLDB 2.0 the display in the HTML region would render the region as<br>
    <br>
    STRING1<br>
    STRING2<br>
    STRING3<br>
    <br>
    In APEX 2.2, the region is rendered as<br>
    <br>
    STRING1&lt;br&gt;STRING2&lt;br&gt;STRING3&lt;br&gt;<br>
    <br>
    which is obviously not what I want. <br>
    <br>
    Any ideas anybody? I must be missing something simple. :)<br>
    <br>
    Thanks, Kent

    Kent - This is explained here: Re: Computed Region TItles being Escaped in Apex 2.2 You can use an application item instead of a hidden page item as a quick solution. To continue to use a page item you can make its display type Display as Text (does not save state) and set its display condition to Never.
    Although this change from 2.0 to 2.2 necessitates this type of inconvenient program modification, the benefit is that a cross-site scripting vulnerability that existed in your application will now be corrected.
    Scott

Maybe you are looking for

  • Late 2011 MacBook Pro (Mountain Lion 10.8.2) backlight keyboard not functioning properly?

         I have a late 2011 MacBook Pro running OS X Mountain Lion 10.8.2 and for some reason, the automatic backlight keyboard will not funtion as it should. When I have the "Adjust keyboard brightness in low light" option enabled in settings, and I tur

  • Multi-value parameter with IN statement

    Hi. I have a ssrs report with a single selection "Car" parameter. The parameter Label and Values are as follows: Label   Value Ford     Ford, Ford Fiesta, Ford Van Skoda  Skoda, Skoda Sport Fiat      Fiat Panda, Fiat Sports Wagon I need to pass throu

  • IPSec on Windows XP Embedded

    Is it possible to configure IPSec on a system running Windows XP Embedded OS? If yes where can I find material on doing so? Thanks, Bob

  • Change default value of Partner Function in VA02

    Hi all, Can anyone please help me solve the following issues with Partner Functions in VA02: 1. How do I change the screen property (make it modifiable) of the Partner in the Partners tab for an auto-generated Free goods line item? 2. How can I chang

  • Interactive form as  Callable object error on testing the object.

    Hello experts, I am trying to use a adobe interactive form as a callable object in guided procedure and when I do the testing the error I am getting is: "Callable object implementation did not return output parameters" Result: Technical exception Det