Java Script for Add to Browser Favorites

From what I understand the following script should work
within Captivate:
javascript:window.external.AddFavorite('
http://www.testsite.com',
testsite')">
Any feedback would be appreciated.

Welcome to our community
Sometimes JavaScript works better if stored as a function in
the corresponding HTM file Captivate produces. You then call the
function from Captivate.
You may also see where things are being blocked by the Flash
Player if testing locally. To ensure this isn't the case, take a
look at the tutorial linked below.
Click
here to view the tutorial
Cheers... Rick

Similar Messages

  • "Add To Browser Favorites" for ABAP Web Dynpro

    Hi All,
    In the Portal Environment, the end user has an option to "Add To Browser Favorites".  This will trigger the "Add a Favorite" window in the Internet Explorer and the user can save the favorite as needed.  Do we have a similar cabapility in ABAP Web Dynpro if the Web Dynpro is not delivered through an SAP Portal? 
    Thanks in advance for your help.
    John

    John Breen wrote:
    Hi All,
    >
    > In the Portal Environment, the end user has an option to "Add To Browser Favorites".  This will trigger the "Add a Favorite" window in the Internet Explorer and the user can save the favorite as needed.  Do we have a similar cabapility in ABAP Web Dynpro if the Web Dynpro is not delivered through an SAP Portal? 
    >
    > Thanks in advance for your help.
    >
    > John
    No.  There is no similiar option in the Web Dynpro framework, nor can you access JavaScript in order to interact with the web browser and supply this feature. Browser Favorites can be maintained by the NetWeaver Portal Framework or in the NetWeaver Business Client by the surrounding frame. In the case of the NWBC, it isn't actually browser favorites but a separate set of favorites merged with Easy Access Menu favorites.

  • Add to Browser Favorites from WDJ

    Hi experts.
    I'm running web dynpro java with portal environment, and trying to call [Add to Browser favorites] function of portal
    from WDJ.
    Is this possible?
    Thanks for your time.

    I am not sure but maybe you can use the WDPortalEventing API to do this?

  • How to enable java script in my Firefox browser? help its urgent.

    how to enable java script in my Firefox browser? help its urgent.

    go to '''about:config''' and search for '''javascript.enabled''' change its value to '''true'''
    *[http://kb.mozillazine.org/About:config about:config]

  • Can we get a "Add to Browser Favorites" URL from ABAP-side?

    Hi,
    via "Add to Browser Favorites", you can get a URL for opening exactly the portal page you are currently on. Is there any possibility
    to get (or create/generate) the URL for such a page from ABAP-side? We have the requirement to send e-mails from the ABAP
    backend with links (URLs) to a corresponding portal page (like the example below). This has to be done quite generic, mi.e. the server,
    the port, the application parameters, etc. cannot be hardcoded but have to be generated in a generic way.
    Thank you and kind regards,
        Florian
    PS: Example:
    http://pwdf6460.wdf.sap.corp:50000/irj/portal/ajax?navigationtarget=roles://portal_content/com.sap.pct/every_user/com.sap.pct.erp.common.bp_folder/com.sap.pct.erp.common.roles/com.sap.pct.erp.common.erp_common/com.sap.pct.erp.common.lpd_start_wd_abap&&WebDynproApplication=CPROJECTS_FPM&WebDynproConfiguration=CPROJECTS_FPM&ApplicationParameter=OBJ_EVENT%253dDPO47BAB5FEB7A55A28E10000000A424B1D47BAB5FEB7A55A28E10000000A424B1DDPO++++++++++++++++++++++++NON&NavMode=3&System=SAP_cProjects&PrevNavTarget=ROLES%253a%252f%252fportal_content%252fcom.sap.pct%252fevery_user%252fcom.sap.pct.plm.ppm.PPM50%252fcom.sap.pct.plm.ppm.Roles%252fcom.sap.pct.plm.ppm.port_prj_mgmt_showcase%252fcom.sap.pct.plm.ppm.projectmanagement_showcase%252fcom.sap.pct.plm.ppm.pm_overview%252fcom.sap.pct.plm.ppm.ws_projects%252fcom.sap.pct.plm.ppm.cpr_projects_showcase&WebDynproNamespace=sap&&NavigationContext=merge(ROLES://portal_content/every_user/general/eu_core_role/com.sap.uwl.home_core_ws/com.sap.netweaver.bc.uwl.overview%7CROLES://portal_content/every_user/general/eu_core_role/com.sap.portal.home_core/com.sap.portal.home.overview)

    Hi,
    It is hard to know exactly what to suggest since I don't know the full story behind the process you are trying to implement. However I can make some suggestions:
    1. Use short URLs. These can be configured in the portal and will allow for easier navigation. you will see this as a "quick link" parameter in the page properties.
    2. Rather then hard coding any values use a configuration table in the ABAP system.
    3. If the process starts in the portal you could have your portal application send the necessary data to the ABAP system so it could use it to generate the email (e.g. Server/Port/Parameters etc...)
    4. If it is a dual stack system you may be able to leverage the co-existance of portal an ABAP on the same server.
    5. What about using a web service on the portal to supply the URL to the ABAP system. You could call this web service from the ABAP and have the portal provide the data that way. This would be good if your process kicks off on the ABAP side and not via the portal.
    Anyway, I hope some of those suggestions help.
    BRgds,
    Simon

  • "Java Script Disabled on your browser. Please Enable it."

    I tried to log-in to this site:
    "http://www.edudel.nic.in/mis/MisAdmin/frmMisLogin.aspx"
    but instead got this message:
    "Java Script Disabled on your browser. Please Enable it."
    I have already enabled JavaScript in settings, but it gives the same error. When I tried doing the same in Internet Explorer (v9), everything was working fine. Please tell me what to do.

    The problem is there's a glitch in the javascript of http://edudel.nic.in/mis/MisAdmin/frmMisLogin.aspx
    There's a form element with an ID of "txtpassword", but in their validation function, they call it with getElementById("txtPassword"). Obviously a case issue, but it apparently works in IE.
    I created a workaround for a user I met in #firefox, a simple greasemonkey script that replaces the function with a fixed version.
    Here's the link:
    http://userscripts.org/scripts/show/102156

  • It gives message that "Java Script Disabled on your browser. Please Enable it." but it is allready enabled what should i do

    While browsing "http://edudel.nic.in" this site when we enter id and password it gives message"Java Script Disabled on your browser. Please Enable it." but it is allready enabled in Tools-> Options-> Content window

    The problem is there's a glitch in the javascript of http://edudel.nic.in/mis/MisAdmin/frmMisLogin.aspx
    There's a form element with an ID of "txtpassword", but in their validation function, they call it with getElementById("txtPassword"). Obviously a case issue, but it apparently works in IE.
    I created a workaround for a user I met in #firefox, a simple greasemonkey script that replaces the function with a fixed version.
    Here's the link:
    http://userscripts.org/scripts/show/102156

  • Can't find a java script that will close browser window

    I went through the archives and found several java scripts
    for closing browser windows. Unfortunately none of the work. If I
    find one that will work on a Mac - Safari then it won't work on a
    PC - IE. I downloaded and installed that extension but cannot find
    it on my Mac menus. Running MX2004 on a Mac.
    Here are the codes I've tried and a example page:
    <a href="#" onClick="window.close()">close
    window</a>
    <a href="javascript:window.close();">{YOUR TEXT
    HERE}</a>
    <a href="javascript:window.close()">Click here to close
    this
    window</a>
    <a href="javascript:self.close();"> close window
    </a>
    Here's an example of a non working page:
    [removed to protect the company]
    and another script that doesn't work:
    [removed to protect the company]
    Thanks for all your help.

    phrarod wrote:
    > I came here to learn. It was a simple thing and I was
    embarrassed that I forgot
    > how to do it. I mentioned that. I thanked Alan. My
    friend owns that company.
    > He's trying to help me out. He's a great guy and helps
    people alot. He doesn't
    > rip anyone off or pay them a pittance. He doesn't do a
    ton of web work because
    > as you said its harder and harder to get any money since
    clients have to be
    > educated why they need you when they can get it for free
    or $300 or a couple
    > hundred. We're all trying to make a living. If someone
    helps me I want to repay
    > that help if I can. I know I'm not paying for the advice
    here and since its in
    > a forum I don't know about I can't help technically.
    Networking is always a
    > good thing. I tried to help by offering a lead. How do
    you know this person
    > doesn't pay much? Because of me? Rather than following a
    lead you just assumed.
    > I know a lot about print and TV. I'm trying to fill out
    my skill-set to offer a
    > wider range of services. End of rant. I'm just hurt I
    was stepped on as it
    > blind-sided me. I have a solution. If its so basic it
    upsets the people who
    > answer then don't answer.
    >
    Don't feel offended, the comments weren't directed at you,
    rather at the
    bizarre world of web design.
    :-) We need to hang tough and help each other, whether we're
    working
    for a decent salary, for a pittance, or for our middle-aged
    aunt.
    Bonnie
    in California
    8 ^ )

  • How to Enable Custom Java Scripts for forms in Planning 11.1.2.2

    I am working on Planning 11.1.2.2 right now.
    Planning admin guide says, there is no explicit requirement to enable java Script for planning forms.
    I set simple alert to see text "Hello World" in function validateForm() function in custom/validateData.js file - to see and test that alert when I save data for my selected application/form.
    Closed javascript file and workspace, and planning application web page. Since I have not to do anything new to enable this java script alert, I opened that form and saved data to see if I can see my alert.. I got no alert, except "data are saved".
    Has anything changed since last version? Am I missing something? Or, do I need to recycle services to get this alert?
    thanks in advance.

    Thanks guys, for your quick replies..!
    Not sure what I missed, but I still have a hard time finding my "Hello World" alert.
    What I did, is here.
    a. Cleared all cookies and temp files from IE.
    b. Updated validateData.js file from ear / war files using 7-zip program at given path from your link.
    c. Stopped EPM services
    d. Dropped tmp folder.
    e. Started EPM services and let system deploy ear file (with my java script code).
    All services are up. I can see EAR file deployed and java script file ValidateData.js has all my changes in new tmp folder now.
    I am able to open my application and form.
    But, my "Hello World" alert is still not appearing. Form is saved and saw message as usual.
    One exception I noticed in my path. I have ....user_projects\domains\EPMSystem\servers\EPMServer0\.... in place of ....user_projects\domains\EPMSystem\servers\Planning_0\.... in my path. Planning_0 is replaced by EPMServer0 in this version. Rest is all same.
    Any clue? thanks in advance,

  • "error while evaluating Java script for the package"

    Okay, this is a new one on me! Anyone ever get this message? I don't know what is going on with my iMac, all I know is that about a month ago my iTunes was working fine, and when I just went to use it, it tells me "you can not use the application iTunes with this version of Mac OS X. So I thought maybe something was wrong with my iTunes and downloaded it again and i got the "error while evaluating Java script for the package" when I tried to reinstall iTunes. Another issue I am having is with updates. I haven't received an update for a long time and when I manually check, it tells me there are none.

    Okay, this is a new one on me! Anyone ever get this message? I don't know what is going on with my iMac, all I know is that about a month ago my iTunes was working fine, and when I just went to use it, it tells me "you can not use the application iTunes with this version of Mac OS X. So I thought maybe something was wrong with my iTunes and downloaded it again and i got the "error while evaluating Java script for the package" when I tried to reinstall iTunes. Another issue I am having is with updates. I haven't received an update for a long time and when I manually check, it tells me there are none.

  • How to write Java script for refering the 1st page text field from 2nd page?

    Hello I am developing an VISITOR info interactive form with webdynpro ABAP, its with 2 pages. Their heirarchy is,
    VISITOR_form
        |
        |
        |------Page_1
        |            |
        |            |
        |            |------Text_Field_A_1
        |            |
        |            |------Text_Field_A_2
        |
        |------Page_2
                     |
                     |
                     |------Text_Field_B_1
                     |
                     |------Text_Field_B_2
    Now, i have selected the 'Text_Field_B_1' of page_2 and writing the Java script, my requirement is; If Page_1's 'Text_Field_A_2' has a value of "Value_ABCD", THEN the 'Text_Field_B_1' of page_2 should be 'readOnly'. Pls let me know Wht is the Java script for this requirement?

    if (xfa.event.newText=="ABCD")
    VISITOR_form.Page_2.Text_FieldB_1.access ="readOnly";
    place script on change event of Text_FieldA_2

  • Java script for doesn't word (its's made for index)

    Hy,
    I have a java-script, for indexes (for InDesign is CS3) - but it doesn't work.
    I attached 2 files, the first one is the script, the second one is the error-message from InDesign CS3.
    (My friend is working with CS4, the script there is ok.)
    We renewed java-system, because for script, but we haven't better result... :-(
    Please, help me, thanks,
    Anna

    It's a CS3 bug.
    Have a look at this post: http://forums.adobe.com/message/2033721#2033721
    I dont have the time to do it, but you can make it work in both CS3 and CS4.

  • Using java scripts for pdf

    I am trying to find a sort of tutorial on how to use java scripts for pdf files, particularly in setting up repetitive links between several pdf files.

    Here is a very nice website that has tons and tons of stuff for pdf using java script. Enjoy!
    http://www.planetpdf.com/forumarchive/forum34.htm

  • Java script for menu

    Hello,
    As I know, we can use Java script to create client side menu. So user can browser through the menu tree to select the page they want.
    My question is, Can we add more functionnality to this menu tree, so the menu can be anything but URL? ( For example, user browser the menu tree, click a link(or a button?) and call some function(which also writon in Java script) on the client side to perform some action other than call a linked page)
    Thanks
    Hui lu

    Hi,
    You can try like this:
    //in the <head> section write:
    <script language="javascript">
    function callFunc(){
    //some code of yours
    </script>
    //On the menu item write this code:
    <a href = 'javascript:callFunc();'>
    Hope this will serve.
    atanu

  • Java scripting for header,footer and combine PDF as package

    Hi All,
    1.How to add header and footer using scripting.
    2.How can i combine 5 pdf files in to one pdf as PDF file package using Java Scripting.
    Thanks
    Mohamed Idris

    Hi Lenonard,
    Thanks for your reply, I am refering JavaScript for Acrobat API Reference, Version 8 document , but i could not find the right syntax for the above task.
    I am sucessfull writing script for page label but not for insertion of page number in the footer section.
    Regarding combining PDF files i could merge file and it comes as single PDF file not like assembeling pdf files as package.
    Please let me know the syntax and if i am looking at not right documentation, please let me know the document name to refer.
    Thanks again.
    Mohamed Idris

Maybe you are looking for

  • CS4 failed to load properly; now seems to reject my serial number

    I recently upgraded my computer, and deactivated CS4 Design Premium.  Then tried rerinstalling to the new PC, but receive error messages along lines of "missing components". Today went to remove and reinstal from desktop to fix this, but the program

  • Forte UDS 5.1.9

    Did any of you here are on UDS 5.1.9 ? Do you think it is a stable release? What is the latest version are you on ? Srikanth

  • Title

    I down the free trial of converting a file from pdf to excel can not find it on my computer for sure or to get it to work in over my head

  • MBA mid 2013 Airdrop not active?

    Hi, I have an MBA (mid 2013 with Yosemite 10.10.2) and an iPhone 6 (iOS 8.1.3) with Bluetooth and Wifi (same network) enabled on both devices. Airdrop enabled on iPhone for everyone. On my MBA i do not see a Airdrop icon whatsoever. I looked in finde

  • Can't open excel and get the message

    'The file could not be accessed and the program crashes.  Any thoughts?