Skip to Content
author's profile photo Former Member
Former Member

Linking to a Workset and Updating Detailed Navigation

Hi,

I am creating KM document iviews that contain graphics and text. I am using these iviews as splash pages or launch pages to various sections of our portal. I know how to create a link to an iview <a href="pcd!3aportal_content!2fcom.lamsonlink.LINK_Content!2fcom.lamsonlink.LaunchPages!2fcom.lamsonlink.Iview!2fcom.lamsonlink.CIHomepage"> and a link to a page and that works very well.

But now I have to create a link that needs to launch a workset containing multiple pages and update the detailed navigation bar. Is that possible to do just using an <a href> tag?

Our portal version is NW04 Stack 12.

Thanks,

Kris

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 16, 2005 at 08:51 PM

    Looks like your Inner page is coming from a different domain. You will have to relax the domain in Javascript.

    Check out this thread, it does the same thing.

    EP Domain Relaxing

    Hope this helps

    Message was edited by: Ankur Jain

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 16, 2005 at 06:56 PM

    You misunderstood me..

    Try this

    <a href="#" onClick= "return parent.EPCM.doNavigate('ROLES://portal_content/com.lamsonlink.LINK_Content/com.lamsonlink.Roles/com.lamsonlink.Applications/com.lamsonlink.CompetitiveIntelligence');">

    Ankur

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 16, 2005 at 01:52 PM

    Hi Kris,

    You can put in HREF the following link,

    <your_portal_server>/<portal_alias>/<initial_page>? NavigationTarget=<escaped_NavigationTarget>

    For example...

    http:// : /irj/ index.htm? NavigationTarget=ROLES%3A//portal_content/MyRole/MyRole/MyTest/MyIView

    and this will open up the Page, with the Top Level and Detailed Level Navigation set to right target.

    Thanks

    Ankur

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Ankur,

      Thank you for your response. I was able to link to the workset as you described below. I just ran into one more snag though. The page opens up in itself which means I have duplicaed desktop areas. I would like the link to load the work area in the main frame. I did some searching and found the WDPortalNavigationMode.SHOW_INPLACE paramater but I have no idea how to use that in an <a href> code. Any help you could provide would be most appreciated!

      Thanks,

      Kris

  • author's profile photo Former Member
    Former Member
    Posted on Aug 16, 2005 at 04:51 PM

    Hi Kris,

    This means that you are already inside the Portal and wish to navigate to other Page/iView. You can make use of the EPCM javascript functions.

    In your Href just put the following code

    <a href="LinkName" onClick= return EPCM.doNavigate('NavigationTarget');"> </a>

    If you get an error saying EPCM object not found, try using parent.EPCM in the above href link.

    Hope this helps.

    Ankur

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Ankur,

      Here is the code I am using and it's giving me an error message and then once i click no to debug it still loads the page in the same window.

      <a href="/?NavigationTarget=ROLES://portal_content/com.lamsonlink.LINK_Content/com.lamsonlink.Roles/com.lamsonlink.Applications/com.lamsonlink.CompetitiveIntelligence" onClick= "return parent.EPCM.doNavigate('NavigationTarget');">

      Am I missing something?

      Thanks,

      Kris

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.