Add new link to Portal Favorites in a JspDynpage using API?

Hi everyone!
I need to add a new link (like the current page in the portal) with java... but without using the menu tray bar.
Is there any java API which I can use Add a portal favorite?
Any Idea ??
Thanks you very much in advance

Hi Nitesh,
Portal Favorites are read from the following KM folder:
/userhome/<userid>/Favorites/
So using KM APIs, try to add a link in to that folder and you can see it.
-Aarthi

Similar Messages

  • Add new link to Portal Favorites in a JspDynpage ?

    Hi everyone!
    I need to add a new link (like the current page in the portal) with java... but without using the menu tray bar.
    Something like use a java API that use User Account information....
    Any Idea ??
    Thanks you very much in advance
    Leslie

    Hi Nitesh,
    Portal Favorites are read from the following KM folder:
    /userhome/<userid>/Favorites/
    So using KM APIs, try to add a link in to that folder and you can see it.
    -Aarthi

  • How can i add a new link to Portal favorites?

    Hi,
    I have created a portal application and configured it to a porta frame work page byy adding iViews and portal pages.
    I would like to display an iView as a link in the  portal favorites. I have added it to portal favorites as related link. But nothing is displayed in the portal favorites when i logged in as application user.
    How can i add a link to the created iView just like  the "DeveloperContent" link shown in portal favorites when we login as portal administrator?
    Your help and suggestions solicited...
    Best regards,
    Sudheesh

    Hi Sudheesh,
    The Related Links option is for Content Administrators to add links that they think will be useful for a certain page or iView...an end user can't add their own links to the Related Links iView. Also, you don't need Knowledge Management installed in the Portal for the Related Links iView to work. Also, Related Links will be available only on the pages/iViews that the Content Administrator has created them.
    Read more about Related Links here:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/1d37600aa111d7b84700047582c9f7/frameset.htm
    Portal Favorites is a nice option for end users to decide which iViews or pages they would like to be available from every Portal page.
    To open new iViews/pages in a new window, rather than in the current Content Area, adjust the Workprotect mode of the portal (either the user can do it for their preference or the Administrator can do it for everyone):
    http://help.sap.com/saphelp_nw04/helpdata/en/15/4b673e214ad112e10000000a11405a/frameset.htm

  • Add new link on Quick Launch using visual studio

    Hi,
    How can I add new link on quick launch using visual studio?
    I saw many link about developing quick launch or top link bar.
    But they are using visual webpart to develop this function and can add
    when the user add this webpart. How can I add automatically when I deploy the project.
    Thanks in advance!
    Best Regards, wendy

    using System;
    using System.Web.UI;
    using System.Linq;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.Navigation;
    namespace SPQuickLaunchAddItemWebPart.VisualWebPart1
    public partial class VisualWebPart1UserControl : UserControl
    protected void Page_Load(object sender, EventArgs e)
    CleanUpQuickLaunch(“My Header”);
    AddQuickLaunchItem(“My Header”, “http://www.google.com/q=stuff”, “My Link Here”, “http://www.google.com”);
    CleanUpTopNavigationBar(“My Header”);
    AddTopNavigationBarItem(“My Header”, “http://www.google.com/q=stuff”, “My Link Here”, “http://www.google.com”);
    AddTopNavigationBarItem(“My Header”, “http://www.google.com/q=stuff”, “My Link Here1″, “http://www.google.com”);
    public static void CleanUpQuickLaunch(string header)
    using (SPSite site = SPContext.Current.Site)
    using (SPWeb web = site.OpenWeb())
    web.AllowUnsafeUpdates = true;
    SPNavigationNodeCollection quickLaunch = web.Navigation.QuickLaunch;
    // try to get quick launch header
    SPNavigationNode nodeHeader = quickLaunch.Cast<SPNavigationNode>().Where(n => n.Title == header).FirstOrDefault();
    //if header not found remove it
    if (nodeHeader != null)
    quickLaunch.Delete(nodeHeader);
    public static void CleanUpTopNavigationBar(string header)
    using (SPSite site = SPContext.Current.Site)
    using (SPWeb web = site.OpenWeb())
    web.AllowUnsafeUpdates = true;
    SPNavigationNodeCollection topNavigation = web.Navigation.TopNavigationBar;
    // try to get quick launch header
    SPNavigationNode nodeHeader = topNavigation.Cast<SPNavigationNode>().Where(n => n.Title == header).FirstOrDefault();
    //if header not found remove it
    if (nodeHeader != null)
    topNavigation.Delete(nodeHeader);
    public static void AddQuickLaunchItem(string header, string headerURL, string item, string url)
    using (SPSite site = SPContext.Current.Site)
    using (SPWeb web = site.OpenWeb())
    web.AllowUnsafeUpdates = true;
    SPNavigationNodeCollection quickLaunch = web.Navigation.QuickLaunch;
    // try to get quick launch header
    SPNavigationNode nodeHeader = quickLaunch.Cast<SPNavigationNode>().Where(n => n.Title == header).FirstOrDefault();
    //if header not found create it
    if (nodeHeader == null)
    nodeHeader = quickLaunch.AddAsFirst(new SPNavigationNode(header, headerURL, true));
    nodeHeader.Update();
    //try to get node item under header
    SPNavigationNode nodeItem = nodeHeader.Children.Cast<SPNavigationNode>().Where(n => n.Title == item).FirstOrDefault();
    //If item not found under heading then create it
    if (nodeItem == null)
    nodeItem = nodeHeader.Children.AddAsLast(new SPNavigationNode(item, url, true));
    else
    nodeItem.Url = url;
    nodeItem.Update();
    nodeHeader.Update();
    public static void AddTopNavigationBarItem(string header, string headerURL, string item, string url)
    using (SPSite site = SPContext.Current.Site)
    using (SPWeb web = site.OpenWeb())
    web.AllowUnsafeUpdates = true;
    SPNavigationNodeCollection topNavBar = web.Navigation.TopNavigationBar;
    // try to get quick launch header
    SPNavigationNode nodeHeader = topNavBar.Cast<SPNavigationNode>().Where(n => n.Title == header).FirstOrDefault();
    //if header not found create it
    if (nodeHeader == null)
    nodeHeader = topNavBar.AddAsFirst(new SPNavigationNode(header, headerURL, true));
    nodeHeader.Update();
    //try to get node item under header
    SPNavigationNode nodeItem = nodeHeader.Children.Cast<SPNavigationNode>().Where(n => n.Title == item).FirstOrDefault();
    //If item not found under heading then create it
    if (nodeItem == null)
    nodeItem = nodeHeader.Children.AddAsLast(new SPNavigationNode(item, url, true));
    else
    nodeItem.Url = url;
    nodeItem.Update();
    nodeHeader.Update();
    above code demonstrate how to add node inside the quick launch and top navigation.
    you can also follow the below link.
    http://myspexp.com/2012/04/30/adding-items-to-your-quick-launch-or-top-navigation-programmatically/
    Hiren Patel | Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • Firefox won't let me use any of the links-I can't add new links by clicking on the + box. I can't delete or add links. I can't even open one of the links at the top of this page Thanks

    Firefox won't let me use any of the links-I can't add new links by clicking on the + box. I can't delete or add links. I can't even open one of the links at the top of this page

    I'm not sure what you mean by "the + box". Is that a feature on one of your toolbars?

  • Ability to add new links on Business Catalyst online editing

    It would be really great if the office staff had the possibility to add new links via the "Edit" option in Business Catalyst. PLEASE add this function in the near future. It would greatly improve our productivity.

    You can edit/modify site contents and then upload to BC, while uploading to BC you can either use the existing site if you already have published the site or you can go with a new trial site.
    If you are referring to replacement of any site in BC with new contents then the same process for site update will work. I am missing out something or you are looking for something else , then please correct me.
    Thanks,
    Sanjit

  • Open link from portal favorites

    Hi all,
    When we add some KM Navigation iView to portal favorites and try to open it from portal favorites link it opened with wrong layoutset (not the same layoutset that declarated in original iView). How can we change it?
    Thanks,
    Ola

    Hi Ola,
    we had the same problem, that we want to open the KM Folder in our customized layout and not in the standard user layout.
    The only way we found to realize this, was to overwrite the standard user layout with our customized layout.
    You will have to decide, if you want to change the standard in this case... a better solution we haven't found
    Best Regards
    Frank

  • How i will add new link in masthead iview

    Hi,
    i want to add  a new link in masthead iview,
    e.g. i want to add aboutus link .
    so what could be the code/procedure for header.jsp.
    Please help .
    Thanks
    Sanjay

    Hi Sanjay,
    -The three main files in the masthead are HeaderiView.jsp,LogInRedirect.jsp and LogOffConfirmMsg.jsp
    -The HeaderiView contains the masthead users see when they are in the portal.
    -Once you added your link to the HeaderiView.jsp,upload the par file.
    -Once the par file is uploaded to the portal,you need to create a masthead iview based on this par file.
    -Then this iView will be used for masthead on the framework page.
    -create a folder in portal catalog-right click the folder->create a iView from par->select your own masthead iView->choose next->choose default component  and click next->Enter the properties like-iView name,iView ID,prefix,Save as -iView and click next>save.
    Here is the important step :
    Add the iView to the framework page,then only it will be visible to the end users.
    Browse the ramework page being used by the portal in the portal catalog
    Right click on he page->edit->Page Layout->Select masthead iView on the framework page and click remove.
    now iViews(Right click)->Widgets_masthead->Add iView to page->Delta Link->Position the masthead.->Logoff and logon to the portal.
    It should work fine for you now I guess.
    Thank you.
    Regards,
    Karthick

  • How to add new links to a page

    Hello Community
    In Sharepoint 2013 Server can you create:
    A Link in the left navigtion bar  or Quick Launch
     when clicked it can open a new page  and on that page there is an “Add New” type of 
    button. 
    Then on that page you can add as many links as the page will allow, each 
    of those links can contain a url
        Thank you
        Shabeaut

    Hi,
    To add a new link on the left nav:
    You can go to site settings> navigation> add a link under "current navigation".
    For the second requirement:
    You can create a "links" list and add it to that second page. This way you can have that "Add Links" option and add links.
    Thanks,
    norasampang

  • Show Quick links under portal favorites

    Dear friends,
    I am integrating BI reports into SAP Enterprise protal 7.0
    i have  a scenario like after opening a report there is a button called "SAVE AS" . on clink of this i have to provide the description of the report and on click "OK" it should save it and the description part will go as a quick link under "protal favorites " of  navigational pannel.
    Could any body come across this scenario ..please provide your valuable inputs ..
    Regards
    Ratnakar

    this quesion still not answered...
    Edited by: ratnakar reddy alwala on Oct 3, 2008 11:45 AM

  • How do you add a link to another website in you PDF using LiveCycle?

    Can you add a link in your PDF in livecycle that opens a new window that that takes you to a predetermined website?

    There may be simpler ways, but this is how I made my button.
    Add the button.On the Object palette>Field page change appearnce of button to have no outline and no fill. Highlight the text and on the Font and paragraph palettes choose the correct look for your text (blue and underlined plus anything else you want) and change the text to what you want the link to say.
    Then to add the URL, open your script editor (Window>Script editor) & choose "Langauge:Javascript" and "Run at:Client".
    With the button chosen, choose the CLICK event (from drop down list, beside "Show") add the script:
    app.launchURL("http://AND THIS IS WHERE YOU ADD YOUR OWN URL")
    Hope that is helpful

  • Clicking a link in portal favorites opens in a new window?

    Hi
       I added few pages to my favorties and when i click on the the link in favorites, it is opening a dialog with "download" and save buttons. I donno why it is happening like that.
      could some one help in this regard??
    Thank you

    hi,
    we have the same problem. We are on EP6 SP13, IE 6.0.
    We can't solve it. Eighter with client-caching nor without caching.
    On click on a favorite the ie-dialog ist coming out for open oder save the destination. When I choose "open" nothing happens.
    Thanks!

  • Help on aading a new link in portal

    Hi All,
    I want to add a new in Logon page of portal. How ever i suceeeded in the doing that. When i click on this a custom jsp should be opened providing info to the user. This page i created and copied to PORTAL-INF folder in logon par project created in NWDS.
    How to refer this custom jsp in umLogonPage.jsp is a problem for me when the user clicks on that link.
    Thanks
    Supriya.

    Supriya,
    It is possible to open a custom JSP page from logon page. There is a jar file contains all the navigation logc in it. You have to customize the jar umelogonbar.jar in which you can modify the java file SAPMLogonLogic.java. Also you need to add your new JSP file name in a properties file which is available in the jar.To do all these you can de-compile the jar file , add your custom code and recompile it again. Check my earlier posts for the logon page customization.
    There are alternate ways to your requirement,
    Way1:
    1. Create a JSP Dynpage /WebDynpro application which contains the required functionalities.
    2. Create iViews/Page against the application and set as ananymous autherization.
    3. Call the iView/Page from login page.
    Way2:
    1. Customize the existing jsp if applicable and call them whenever required.
    Way3:
    1. Just give a link to external url on the logon page.
    Ram

  • Adds new options in portal menu

    I need add a new option in the portal menu.
    The option is a copy of standard option (pz17).
    Y have done a copy of the standard report asociated to pz17 (RHDPERSL). I modify ZRHDPERSL
    I have assigned the report ZRHDPERSL to the transaction zpz17 in table T77WWW_REP.
    The problem is:  When I execute the transaction zpz17, it calls to the report RHDPERSL instead of ZRHDPERSL.
    What is happening ??  Do I Have to add information to another table ???
    Thanks

    You assign ABAP reports to transaction codes with SE93.

  • Add new links

    Ok I have a website template. We are trying to change the
    buttons to point to new html pages like aboutus.html. Right now all
    the buttons point to index.html and then index-1.html and
    index-2.html and so on. I am unsure how to change this code to do
    that. Please help. Thanks.

    Don't buy templates.
    Ideally, for something like this there should have been an
    Array or an XML file allowing users such as yourself to edit the
    list of pages to be linked to. This is pretty messy hence why you
    should buy templates and call yourself a designer.
    You can do 2 things:
    1. make your pages index-#
    2. get rid of the getURL call completely and add a getURL on
    the frames labeled 's1', 's2' etc to go to the pages you want to
    load.
    yes, it's a hack but the price you pay for working with
    templates that aren't very well thought out..

Maybe you are looking for