Sending the current page in a mailto link

I want to create a mailto link that will attach the url of the current page to the body of the e-mail message.
I have created a display only item and added the following code to the default value:
<anchor href='mailto:?subject=Please Review the attached Lessons Learned&body=Please review the following Lessons Learned: Copy and Paste link here'>Send the Lesson Learned for Review</anchor>
(I have replaced the a tag with anchor so the code will show up)
This is working and opening up the mail client with a blank recipient list and the subject and body filled in. Now where I have "Copy and Paste link here", I would like for the URL of the current page to be filled in. Is there a way to do this?
Thanks,
MIchelle

Hi
I use the following computation for the field, which is used as a parameter of a send_mail procedure.
SERVER_NAME and DAD NAME are described somewhere in APEX help - they are usefull if you need to switch between development/testing/production environment with different server host names and Oracle database names.
P50_INTEREST_ID contains the value to be set on the linked page 38, more precisely to it's attribute P38_INTEREST_ID. The value could be reffered also as v('P50_INTEREST_ID') or &P50_INTEREST_ID. instead of :P50_INTEREST_ID.
IAL_NICKNAME is an application variable containing users nickname.
Roman
'Hi,' ||
CHR(13) || CHR(10) || CHR(13) || CHR(10) ||
'Please, look at ' || 'http://' || owa_util.get_cgi_env ('SERVER_NAME') || '/pls/' || owa_util.get_cgi_env ('DAD_NAME') || '/' || 'f?p=' || V('APP_ID') || ':38:::NO:38:P38_INTEREST_ID:' || :P50_INTEREST_ID || ' .' ||
CHR(13) || CHR(10) || CHR(13) || CHR(10) ||
V('IAL_NICKNAME')

Similar Messages

  • How can I make a link a different color than the other links according to the current page?

    Hello.  I have created a navigation bar.  And I would like to style the links to have the current page link a different color than the other links.  For example, if all of the links have a black background, I would like to have the current page link to have a white background.  The reason that I would like to style them this way is so that the visitor knows what page is being visitied.
    I tried different ways but all of them did not show to make any change to the links.  This is what I have so far.  The links work, but all of them have the same color and background.  When on the home page, I would like to have the home page link to have a white background with black letters.  I would appreciate your advice.
    <head>
    ul {
        list-style-type: none;
        text-align: right;
        padding-top: 10px;
        padding-bottom: 6px;
        padding-right: 10px;
    li {
        display: inline;
    a:link {
        color: #FFF;
        background-color: #000;
        text-align: center;
        padding-top: 8px;
        padding-right: 8px;
        padding-bottom: 8px;
        padding-left: 7px;
        text-decoration: none;
    a:visited {
        color: #FFF;
        background-color: #000;
        text-decoration: none;
    a:hover {
        color: #000;
        background-color: #FFF;
        text-decoration: none;   
    a:active {
        color: #FFF;
        background-color: #000;
        text-decoration: none;   
    a.menu:link {
         color: #000   
         background-color: #FFF;
         text-decoration: none;
    </head>
    <body>
    <div class="navigation">
        <ul>
            <li class="menu"><a href="index.html" target="_self">HOME</a></li>
    </body>
    Thank you very much.

    http://www.itworld.com/development/351097/setting-active-menu-item-based-current-url-jquer y

  • I click a link and it opens on the current page and a new tab, how do i keep the first tab on the current page and only have the link clicked on appear in the new tab?

    I go to click a link for any site and it opens the link in the current page and a new tab. I only want it to open the link in the new tab. I want to keep the original tab what it was.

    you can try to write some web driver to do this particular job for you, one such driver is Selenium. know more about it at https://code.google.com/p/selenium/downloads/list.
    But this thing will need a good programming skill. Otherwise you have Adblock plus addon (https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/), you can try this. you can also contact its developer to include this particular facility also in this add on

  • Changing the color of the link to the current page

    How can I change the link on the current page to display a different color until the user redirects to another page. I am wanting to keep all my links visible and simply change the color of the link that the user is on.
    I think I am going to use the 'pFlowStepId'.
    I am using a navigation bar that redirects to pages within the application but one link redirects to a url.
    Thanks in advance!

    &lt;style type="text/css"><br>
    &lt;!--<br>
    a:hover {<br>
         color: #ce1008; font-weight: bold;<br>
         text-decoration: underline;<br>
    }<br>
    .style1 {color: #ce1008; font-weight: bold;}<br>
    --><br>
    &lt;/style><br>
    Copy and paste into HTML Header.<br>
    Welcome to the &lt;a href="f?p=&amp;APP_ID.:1001:&amp;SESSION.::NO:::"><br>
    &lt;span class="style1">Master – Detail - Details&lt;/span>&lt;/a> demo application.<br>
    …<br>
    Click &lt;a href="f?p=&amp;APP_ID.:1001:&amp;SESSION.::NO:::">here&lt;/a>
    to begin.<br>
    It is located at http://htmldb.oracle.com/pls/otn/f?p=26372
    Then pick ApEx>Forms>Master – Detail from menus.
    Konstantin

  • Send a request without leaving the current page?

    Hi,
    I got a question here:
    In a jsp page, when the user changed a option in a drop down box, I want the page to send a request to the server doing some operations on the database(probably use a bean) but still stay at the current page. How can I do that?
    Another simple question is:
    There're 10 elements/components in a FORM, and the user is changing the options in a drop down box (one of the 10 elements/components). Is there any way I can know which elements/components the user is playing with ?
    Thanks in advance!

    it is your own risk to your applets to communicate with DBs because nobody suggests that. I agree with the Javascript story and the frames. It can be done but i thought he wanted to do that in one single page. And finally, i dont trust frames that much. I have seen many times the 404 error found on pages and because i use dynamic pages i have to make connection for each frame. and with throusands users being online it is bad for my server (traffic).

  • How do you remove the hand cursor on the "current" page link?

    I'm working on a new website design in Dreamweaver and would like to remove the hand cursor when it hovers over the current page link. I'd welcome any help!   Here's an example of the design: http://www.bfranklincrafts.com/NewSite/MonroeCalendar.html
    Thanks!
    LioLee

    Create a class with the following style rule, and apply it to the current link:
    .current {
      cursor: default;

  • When I open a link in a new tab reduces the size of the font on the current page.

    The font is shrinked only on the current page (just like ctrl+wheemouse down). Happens if is ctrl+click or use the mouse middle button. Can you please advise how to fix this? Setting minimal font doesnt work. Thank you for your help.''

    Sounds like a problem with the mouse driver. You can check the settings in Control Panel > Mouse. Also make sure that you have the latest updates of all drivers.
    You can start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * [[Troubleshooting extensions and themes]]
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)

  • How to change the default Layout Of the Error Page (to hide Home link)?

    How to change the default Layout Of the Error Page (to hide Home link)?
    If a user want to view some page that he/she don't have access to view it, a error page with this message will be displayed.
    "You do not have permission to perform this operation. (WWC-44131)"
    The error page, have in the Upper right page, Home link and Help link.
    My question is, How to Hide HOME link and HELP link in the Page?
    I try to find the template of the page, but failed to do that.
    Can anybody help?..it urgent.
    Thanks.

    Modifying the error page is not supported in the current release of Portal (9.0.2). You will be able to do this in the upcoming 9.0.2.6 release, planned for the end of May.
    Regards,
    Jerry
    PortalPM

  • How to get the current page URL

    HI All
    I am working in oracle apps 4.0
    I have one page called history in that i have one page item called Application url. My application id is 122 but its a copy of application 106
    How to get the current page url for the page item.
    Any steps should be help ful
    Thanks & Regards
    Srikkanth.M

    I'm not 100% clear on what the requirement is from the description, however it does sound like you are making things unnecessarily complicated.
    If you want permanent/ID-independent links then use application and page aliases.
    so here we used to display the url like this: <tt>{noformat}http://81.131.254.171:8080/apex/f?p=122{noformat}</tt>
    Do you mean that the URL is displayed like that? If so that doesn't seem particularly helpful. How is anyone supposed to know what it is?
    There are many ways to provide links in APEX&mdash;including lists and nav bars.
    Where the link is to another resource located on the same server (such as another page in the same app, or a different app in the workspace), relative addressing can be used, making it unecessary to include scheme, domain and port information in the URL. For example, if the page to be linked to has a page alias <tt>ABOUT</tt> in an application with alias <tt>UNITY</tt>, and the apps share an authentication scheme/cookie to permit shared sessions, then the link URL is simply
    f?p=UNITY:ABOUT:&APP_SESSION.

  • How to get the function name/ID  of the current page

    HI,
    I searched the forum and google, but it is not clear on how to get the function name of the current page.
    I have 4 functions in my self service A ,B,C,D (seeded page links ) they all have to go to a page called hhhPG. Based on which function user is clicks I have to show the data in hhhPG.
    so my question is how to get the function name ? I mean I need to know if user click on link A , B, C or D link and came to this page.
    I found below in one forum and also there is getfunctionID in pageContext , but I do not know what to pass to getfunctionid("???") to get value.
    FunctionSecurity funcSecurity = pageContext.getFunctionSecurity();
    Or is there a better way of know where user is coming from ? like geturl....
    Please help, I need this ASAP.
    Thank you.

    Use below to find out how the user came into the page
    FunctionSecurity funcSecurity = pageContext.getFunctionSecurity();
    boolean isFunc1 = funcSecurity.testFunction(funcSecurity.getFunction("YOUR_FUNCTION_SHORT_NAME1"));
    boolean isFunc2 = funcSecurity.testFunction(funcSecurity.getFunction("YOUR_FUNCTION_SHORT_NAME2"));
    boolean isFunc3 = funcSecurity.testFunction(funcSecurity.getFunction("YOUR_FUNCTION_SHORT_NAME3"));
    boolean isFunc4 = funcSecurity.testFunction(funcSecurity.getFunction("YOUR_FUNCTION_SHORT_NAME4"));
    So one of them will be true based on the function the user came in.
    Write your logic based on these flags.
    Regards,
    Peddi.

  • How to exit the session at the end of the current page

    hi gurus,
    i want to exit the session at the end of the current page, so that when i am trying to open some other  page in the same browser it should ask for login id & pwd and should not pick the previous session-id.
    Regards,
    srikar

    Look at the below links, it might help you..
    [Link1|Re: Navigation with a new session]
    [Link2|how to end a session in bsp ?]
    Raja

  • Using PHP to identify the current page - by David Powers

    Hi There,
    I'm trying to write a script so I can identify the sub-pages under "Gallery" in my website
    Under Gallery I have more than hundred pages describing the photos but I want to identify them as the "Gallery" page.
    How do I achieve that?
    It would be tedious to write the "PHP if" statement for each photo link.
    I trust there is a simpler solution.
    In PHP solutions by David Powers, Ch.4 "Using PHP to identify the current page"
    The script is:
    <?php $currentPage = basename($_SERVER['SCRIPT_NAME']); ?>
    <ul id="nav">
      <li><a href="index.php" <?php if ($currentPage == 'index02.php') {echo 'id="here"';} ?>>Home</a></li>
      <li><a href="journal.php" <?php if ($currentPage == 'journal.php') {echo 'id="here"';} ?>>Journal</a></li>
      <li><a href="gallery.php" <?php if ($currentPage == 'gallery.php') {echo 'id="here"';} ?>>Gallery</a></li>
      <li><a href="contact.php" <?php if ($currentPage == 'contact.php') {echo 'id="here"';} ?>>Contact</a></li>
    </ul>
    Let's say that the gallery pages contains hundreds of links gallery like gallery/photos1.php, gallery/photos2.php, gallery/photos3.php, gallery/photos4.php, gallery/photos5.php, gallery/photos6.php, gallery/photos7.php etc...
    How would I identify the sub-pages so when we are there Gallery is highlighted?
    Thank you!
    Best,

    Hello Siddhardha,
    To get the details of a process you need to use Locator class from BPEL api. You can locate your process by listInstances method which accepts WhereCondition parameter used to build a query on process instances. Once you've found the process you were looking for you can use getAuditTrail method to retrieve audit trail of a given instance. You can also use setStatus() method from a BPELX java exec tag within your process and later retrieve it from instance handle by getStatus method.
    A sample snippet to retrieve instance handles to all child processes of a given process:
    StringBuffer sb = new StringBuffer();
    Locator locator = new Locator(domain,domainpassword);
    WhereCondition wc = new WhereCondition();
    String query = sb.append(SQLDefs.AL_ci_root_id).append(" = ? ").toString();
    wc.append(query);
    wc.setLong(1,parentInstance);
    IInstanceHandle[] ih = locator.listInstances(wc);
    You can read more about querying processes on http://blogs.oracle.com/matt/2006/06/27?print-friendly=true
    Radoslaw

  • Return to the current page after refreshing

    Hello!
    When I refresh the current page I'd like to return to it, not to another page.
    When I choose "SAP Business Intelligence" forums link (with all subordinate forums in one screen) and go to previous pages (for example, to 3rd page), even if I return to 1st page when I refresh the screen it shows me again the 3rd one, not the first. It's very annoying. Could it be changed?
    Best regards,
    Eugene

    Eugene
    The forums are displayed in an iframe. Therefore, if you wanted to simply refresh the forums to the exact page that you have navigated to, you should right-click on the content area of SDN (the forums page) and choose the refresh option. This will refresh this window and should keep your place marker. If you refresh the URL in the browser window then this will refresh the entire SDN page and will take you to the entry point of the forums.
    I hope this helps
    D

  • Javascript pop up windows -- forces the current page to change?

    I have a really odd bug. I am testing a javascript popup window for a report. I edit the column of the report and tell it to link to a URL. For testing purposes I just put in javascript:window.open(); That takes fine. However, when I click the link in the report, it refreshes the current page, the url stays the same but the only thing I see on the page is [object]. White screen, black text. Anyone have any idea as to whats causing this? Thanks a bunch.

    Create the &lt;A&gt; like this
    &lt;A href="javascript:void(0)" onclick="javascript:fnPopup()">link&lt;/a&gt;
    or
    &lt;A href="javascript:fnPopup()"&gt;Link&lt;/a&gt;
    To achieve this I will type the following in URL
    javascript:void(0)" onclick="javascript:fnPopup()
    Note: there is no double quotes at the beggining and end.

  • Pdf reader that will let me print the current page number to stdout ?

    I'm looking into annotating my readings, and it'd really speed things up if I were able to get the current page number printed to stdout.
    I've been through evince and xpdf's manuals, the latter will let you output the file to ps, so there might be some hacking possible there, but maybe there is a more convenient alternative...?
    Would appreciate some suggestions.
    Cheers !

    Sure that works, it's just that I'm already wrapping my pdf reader in a ruby script to allows me to make annotations linking back to the original document and page, and I also use the clipboard to quote.
    So instead of being a keybinding away, I end up have to juggle with windows...

Maybe you are looking for

  • How can I change the country from my apple id account ?

    Hello , I changed my credit card and I need to change the country field from my Apple ID account, for some reason it's unaccessable . Can you please tell me how to change the country field ? thanks

  • Probelm with Creating purchase order using BAPI_PO_CREATE1

    Hi Experts, I am trying to create a PO using the "BAPI_PO_CREATE1". The BAPI is returning a PO number but when I am checking for the same in ME23 its saying that the number doesnot exsists. In BAPI retrun I am gettig an info message as "Stock transpo

  • Links not working in Creative Cloud desktop app

    I have the latest version of the CC app installed (V1.7.1.418) running on Windows 7 (64 bit). I have noticed that many of the links are not working - for example in Community the "Add Work" and "View Profile" buttons do nothing when clicked and in th

  • I get a message  missing plug-in when on safari

    I get message   missing plug-n when using saffari

  • Message 16389 Not found

    I get this error on OO4O 8.1.7.3.15 on each data control error. It seems not to find the error entries. The error OIP-16389 is not explained in the Help (ORACLEO.hlp). Can anyone help me ? The full message is : OIP-16389: Message not found; product=O