"Add to bookmarks - button" for application with application alias

How to make "add to bookmarks - button" to login page of the application with the application alias?
The idea is to ensure that end-users are storing the application alias to bookmarks rather than the direct link to application id which might change.
rgrds Paavo

Jari, here are some of my trials hosted now in apex.oracle.com. All url's to be bookmarked are "hardcoded" in to the login page html-header's javascript function.
Sample db application - url with workspace name.
http://apex.oracle.com/pls/apex/f?p=COM_ORACLE_APEX_PRODUCT_PORTAL:LOGIN:0&c=PAAVO_POC
- the LOGIN alias defaults to login page
- the session id is = 0 as recommended here: http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/concept_url.htm#HTMDB03020
- workspace name is actually Internal in the administration so omitting workspace name leads to error " Error The application alias "COM_ORACLE_APEX_PRODUCT_PORTAL" can not be converted to a unique application ID. ", perhaps other workspaces have also the same sample app alias
- so used the PAAVO_POC as workspace name (got it during registration)
- LOGIN page HTML-header is:
<script type="text/javascript">
function bookmark()
window.external.AddFavorite("http://apex.oracle.com/pls/apex/f?p=COM_ORACLE_APEX_PRODUCT_PORTAL:LOGIN:0&c=PAAVO_POC","COM_ORACLE_APEX_PRODUCT_PORTAL in ws paavo_poc");
</script>- LOGIN page HTML Body attribute is:
<form>
<input type="button" onclick="bookmark()" value="Bookmark me">
</form>- tried to also add "Click here to bookmark me" button in the login region with the following code (couldn't figure out how to do button for this via apex developer)
<form>
<input type="button" onclick="bookmark()" value="Click here to bookmark me">
</form>- login doesn't work anymore
Copy of the same sample application but with more different / more unique alias and without the "Click here to bookmark me" button in the Login-region.
http://apex.oracle.com/pls/apex/f?p=paavos_product_portal:LOGIN:0&c=PAAVO_POC
- the bookmark could be stored without workspace name, but it might break if the same app. alias name appears in some other workspace http://apex.oracle.com/pls/apex/f?p=paavos_product_portal:LOGIN:0
- login works now because no hassling with the button-code in the Login-region :)
Then fresh new application with the following URL's and with the same symptoms.
http://apex.oracle.com/pls/apex/f?p=POCTEST_NO_B_BUTTON:LOGIN:0&c=PAAVO_POC
http://apex.oracle.com/pls/apex/f?p=poctest:LOGIN:0&c=PAAVO_POC
- Enter with "demo" and "ApexIsGood". Please don't kill my workspace with lots of 'fishes' :).
It would be good to have the URL constructed dynamically e.g. fetching the application_alias_name and the correct workspace to be used.
In perfect world it would also be good to have feature in for redirecting the user from old version to production 'application alias' with dynamic action requesting the user to update his/her bookmark.
But as said I am bit stuck ..
rgrds Paavo
Edited by: paavo on Apr 7, 2012 3:20 PM
Edited by: paavo on Apr 10, 2012 4:05 PM

Similar Messages

  • I want to add javascript Bookmark function for Safari with out any alert

    I have already searched this forum but it seems discussions related to my question are very old. (latest was posted in 2008). I was wondering if there is any solution for this now. Thanks in advance.

    Premiere Elements doesn't have a timecode counter embedded into the program.
    But this free utility may help.
    http://paul.glagla.free.fr/dvdate_en_installer.htm

  • When i try to submit an application with Application Loader, the wizard is blocked on "Send API itunes connect usage, waiting for response". Any idea ?

    When i try to submit an application with Application Loader, the wizard is blocked on "Send API itunes connect usage, waiting for response". Any idea ?

    Thank you, Vincent! It's still down for me, but at least I know someone had the same issue. Hoping it's going to work over here soon
    Best!

  • How to add bookmark button for user to access application

    I would like to add a button that will be an 'ADD BOOKMARK' concept for the user so that they don't try to save the url that is generated at the time they run the application.
    I am using Apex 4.0.
    Is anyone familiar with this concept?
    I see it a lot on the internet with other websites.
    Thanks,
    Maggie

    This post is made for the future Apex users that need this info.
    I discovered a fantastic website that helped me generate the code needed for my apex page to add a bookmark link. This website is:
    http://www.webmaster-affiliates.net/bookmark-site_doit.php
    This was my code used (be sure to replace the curly brackets with a pointed less than/greater than bracket):
    {div align=right}{a href="javascript:window.external.AddFavorite('http://your.url.goes.here:7780/pls/apex/f?p=Graphics_Status', 'Graphics Status')"}Bookmark Site{a}{div}
    I created a page region and put the above code in the source field. Worked fantastic.
    Maggie
    Edited by: mjhamilton on Sep 2, 2010 7:59 AM

  • SPSiteCollection.Add in WCF service for FBA web application throws "user not found"

    Hi,
    I use SharePoint 2010 SP2. Programmatically I can create a FBA-based web application and now I want to add a new site collection ("/") subsequently. Everything is done in a WCF web service with its own application pool and web
    application. In extracts my code looks like this:
    const uint cLID = 1031;
    const string cSiteWebTemplate = "BLANKINTERNETCONTAINER#0";
    const string cAdminName = "i:0#.f|user|username";
    const string cDisplayName = "username";
    const string cSiteAdminEmail = "[email protected]";
    SPWebApplication webApplication = SPWebApplication.Lookup(new Uri("https://www.someurl.com"));
    using (SPSite newSite = webApplication.Sites.Add("/", "some title", "some site collection comment", cLID, cSiteWebTemplate, cAdminName, cDisplayName, cSiteAdminEmail, null, null, null, false))
    I also have a Windows forms based application where the exactly same code (except the changes required for WCF services) runs smooth, no exceptions or errors.
    Now every time the webApplication.Sites.Add-method is called inside the WCF service by any client I get the following exception (it is in German, English
    translation in square brackets):
    Microsoft.SharePoint.SPException: Der Benutzer kann nicht gefunden werden. [user cannot be found]
      bei [at] Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPContentDatabase database, SPSiteSubscription siteSubscription, String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName,
    String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, String quotaTemplate, String sscRootWebUrl, Boolean useHostHeaderAsSiteName)
      bei Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPSiteSubscription siteSubscription, String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin,
    String secondaryContactName, String secondaryContactEmail, Boolean useHostHeaderAsSiteName)
      bei Microsoft.SharePoint.Administration.SPSiteCollection.Add(String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName,
    String secondaryContactEmail, Boolean useHostHeaderAsSiteName)
    The process user is the same both for my Windows forms based application and my WCF service and I expect the code runs the same in both cases. I did not find any matching forum entry and I have no idea why a WCF service does not execute
    the same way as a Windows forms application. Additionally, before applying SP2, I used an ASMX service with a similar code snippet and it also worked fine.
    Can anyone please tell me why calling
    webApplication.Sites.Add-method by a WCF service does not work? Is there anything I can do to make it work properly?

    The creation of a new web application using SharePoint API works in WCF service. I also lined out that...
    SPWebApplication webApplication = SPWebApplication.Lookup(new Uri(https://www.someurl.com));
    ... works in WCF service. In return I really get the very web application that I requested. Also exactly the same code snippet is called by exactly the same user context both in WCF Service and Windows forms application. Only for Windows forms
    application it does not throw the exception but in WCF Service it does. I had some WCF Service specialist colleague looking through the code and web.config and he stated it looks ok (unfortunately he does not have any experience with SharePoint).
    If you state "It's not, then your WCF config is wrong" what do you think I need to add or change in web.config in order to make it work? BTW: I did not modify app.config in my Windows forms application, so I thought I do not need to modify my web.config.

  • How to disable browser next and previous buttons for entire ADF application

    Hi,
    JDev Ver : 11.1.1.2.0
    How can I disable the browser navigation buttons next and previous for my entire ADF application.
    If user click on page and then if it press backspace key then it should not go back to the previous opend url and the current page should remain as it is.
    How can I do this ?
    regards,
    devang

    Back button (and backspace) will always go to the previous page. However, with a single master page, the previous page will be the page that called the application so users won't be likely to use it to navigate. The idea of opening the application in a new window/tab is also a nice addition to prevent the back button from being enabled and yes that would block backspace as well. Combine both solutions and you'll have a tab with both back and forward button disabled for the whole application. I don't think there's any document specifically about this solution, but it's not exactly complicated, you seem to already have it actually. Can you precise your question?
    ~ Simon

  • What is the bookmark button for? It keeps disappearing.

    The bookmark button shows at 'customize' time but then just goes away. What is it for?

    That Bookmark button appears when the Menu Bar is hidden and the Bookmarks word menu item won't appear. Showing the Menu Bar is the default for WinXP; with Vista & Win7 the Menu Bar is hidden by default.
    That particular Bookmarks button opens a slightly truncated view of what the Bookmarks menu item on the Menu Bar shows. There's another similar Bookmarks button that is sitting in the Customize Palette which opens the Bookmarks Sidebar.
    If you want to see the Bookmarks button that "disappears" when you close Customize, open View > Toolbars and click on Menu Bar so the check-mark is gone and Menu Bar will be hidden, replaced by the orange Firefox button.

  • Change label' s button for MI customer application

    Hi All,
    i have a MI application (ZCUSTOMER_STORAGE) and when my client run the MI client there is a button with "ZCUSTOMER_STORAGE" label.
    Is possible change this label (without change application name)?
    Best regards

    Hi,
    when you upload the application via WebConsole or NWA, there are two naiming fields. First is the name of the APP, that is the name of the WAR file and should be the same like at GETAPPLICATIONNAME. The second value is the info text. As by my knowledge - I have not uploaded content for a while now - this second value is the one displayed on the MI home screen. Changing this second value will display another name in MI Home Screen.
    Hope this helps!
    Regards,
    Oliver

  • Setting the item for globalization with application language derived...

    Hi guys,
    i would like to try translation based on item preference.
    I've these settings.
    Application Primary Language: italian
    Application Language Derived From: item prefercence (english)
    I've tested the translation with browser settings and it works.
    Now i want to have a fixed language.
    How can i specify this item?
    For example i want a static global var containing the language called CUR_APP_LAN
    Wich value i have to assign to CUR_APP_LAN and where i say to apex that it has to use CUR_APP_LAN for translation?
    Thanx a lot.

    You have to create an item (application item) named FSP_LANGUAGE_PREFERENCE and set its value to 'it'.
    Scott

  • Using "Check for Purchases" with applications

    Hey Guys,
    I have an iPod Touch 16gb. I download an application to the iPod via the on-iPod app store. If I go back to my computer and hit check for purchases, it never downloads the newly purchased app.
    I always have to sync my iPod and then it gets transferred over. My question is what would happen if my iPod was stolen or deleted and I lost the app files on my computer, how would I get them back?
    I thought the whole point of "Check for Purchases" was so that it keeps a record of what you downloaded?

    I thought the whole point of "Check for Purchases" was so that it keeps a record of what you downloaded?
    It's to check for stuff you have purchased but not downloaded

  • Use of % for height with application.cfm

    How comes the height in % in both tags doesn't works when an application.cfm exists. When I remove the application.cfm everything works fine.
    <iframe src="messages.cfm" width="95%" height="74%"></iframe>
    <cfform format="flash" skin="halosilver" wmode="transparent" style="backgroundAlpha:0;" height="48.3%"></cfform>

    Any Application.cfm (note the capital letter, btw), or your specific Application.cfm?  What about an Application.cfm file which simply has a CF comment in it, and nothing else?
    Adam

  • How do i add buy now buttons for paypal on thumbnails in Adobe Bridge photoalbums

    I have a series of photographs which i am selling online. I have found Bridge to be wonderful in creating a photoalbum but can't add the buy now button from paypal as I can in Dreamweavers albums

    ashbid wrote:
    I have found Bridge to be wonderful in creating a photoalbum but can't add the buy now button from paypal as I can in Dreamweavers albums
    Nor should you. Bridge is merely focused on processing images. Whatever limited HTML code it spits out is solely to the purpose of allowing others to view your image collections online. nothing more. Bridge has no graps of web design. Still, I don't really see your problem. Nothing stops you from copy&pasting different peices of code together or looking for alternate solutions with dynamic JavaScript or Flash based galleries as well as using PHP-based content managemnt systems for spitting out hundreds of pages based on a server template... if you get my meaning: It's more of a problem with your workflow and placing expectations on something that never was meant to be used that way.
    Mylenium

  • Is it possible to make a tab group into an app tab or bookmark button for single click switching?

    Firefox 4 - I like the idea of tab groups but don't like the way you have to switch between them.
    Is there a way to create an app tab or button that I can click on to switch between my tab groups?
    Thanks,
    Grant

    This can be done with html5 and jQuery to create ur audio player then embedded with the web content overlay
    http://www.jquery4u.com/media/10-jquery-html5-audio-players/
    http://www.codebasehero.com/2011/07/html5-music-player-updated/

  • Which sfp module add in Sg300-10 for connecting with 4503 switch over fiber?

    Hello guys...
    i need help in network design...
    i have 2 cisco 4503 core switches with 48 port sfp that will use to connect at branches SG300-10 with 2 fiber that is single mode...
    which module should use in Sg300-10 that will compatable with 4503 fiber module?
    Please tell me if I will use the GLC-LH-SMD for  WS-C4500 with fiber optic card WS-X4448-GB-SFP what type of SFP do we have to use for the small business switch SG300-10?
    We could go for MGBLX1?
    if i am ok please reply if not please provide the correct one solution for my design...!

    Hello guys...
    i need help in network design...
    i have 2 cisco 4503 core switches with 48 port sfp that will use to connect at branches SG300-10 with 2 fiber that is single mode...
    which module should use in Sg300-10 that will compatable with 4503 fiber module?
    Please tell me if I will use the GLC-LH-SMD for  WS-C4500 with fiber optic card WS-X4448-GB-SFP what type of SFP do we have to use for the small business switch SG300-10?
    We could go for MGBLX1?
    if i am ok please reply if not please provide the correct one solution for my design...!

  • Ideas for working with child applications

    Hi. We are migrating to Web Forms from client server. We have a form that acts as the gateway to all of our other forms. During our migration I've been using Open_Form to call all other forms accessible from this gateway form. For the most part this works great. However I've noticed a couple of differences that I fear our users will complain about and I'd like to know if you have ideas as to how I can addresses these issues:
    1. Each application is now housed within a single Windows taskbar item. In client-server, users are use to seeing a separate taskbar item for each application they open - thus allowing them to ALT-Tab between applications. It appears that under Web Forms there will only ever be one Windows Taskbar item and that the user will need to use ALT-W to toggle between open applications. Is this the norm under Web Forms? If so, I plan to present it as a simple training issue. But if there is a way to launch each application as a stand alone application with the ability to pass parameters to the launched application I would prefer to do that.
    2. Many of our users will start their day by opening several form applications they frequently use. They do this so that they can simply toggle to the open form application quickly as opposed to navigating through our gateway application in order to lauch it each time. Many of our forms open and programatically put the for in Enter-Query mode so that they don't need to do this manually each time they open the form. However, I've noticed that under Web Forms that they cannot toggle away from an open form application if it's in Enter-Query mode. They receive the message "FRM-41361: Cannot navigate out of the current form in Enter-Query mode". Is this the norm under Web Forms? Should I plan on telling users they must Cancel-Query prior to toggling away from open forms in Enter-Query mode?
    Any thoughts and ideas would be greatly appreciated. Thanks.
    Edited by: Buechler on Jan 22, 2009 2:12 PM

    I'm thinking this might make for a long, messy fileDepends on which entries are really different. If all share the same environment then in each section you would just have the starting form.
    The calling of the form would look like WEB.SHOW_DOCUMENT('http://server:port/forms/frmservlet?config=xx', '_blank');
    But.. if you don't use any single-sign-on-methods the user would have to connect again each time (or you would have to pass username/password as clear text in the url).
    Other option:
    If the main form does nothing but call other forms you could buildup a "static" html-page with a button for each "standalone"-application instead of the main-form.
    btw.. One big problem we had with open_form some years ago (and behaviour is still the same):
    You can only build up one CALL_FORM-stack in one runtime. This means if you have two parallel forms OF1 and OF2 opened with OPEN_FORM (you treat like different applications), if you
    -go to OF1
    -open a sub-form using CALL_FORM
    -navigate to OF2
    -try to issue a CALL_FORM from there you will get an FRM-41353.

Maybe you are looking for