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

Display a custom message on click of a Top Level Navigation Object

Hi Experts,

when the user clicks on the top level navigation entry link(for any application), I would like a custom message to be displayed to the end-users which would be maintained in a text file in a KM folder.

Currently, on click of the top level navigation link a workset map is displayed. But now I would like to read the text file and display the message (if any) maintained in the text file.

The message (if any) should be rendered before the workset map is displayed, or be rendered as an additional element on the same page as the workset map perhaps as an additional iView .

It is essential that the message content should not be cached by the Portal (in other words, the deactivation of the system message should not require a cache flush to become visible to the user).

The goal is to warn the users before they they access the applications of the workset map.

Can someone please guide me on this???

Regards,

Anurag

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 17, 2010 at 08:17 AM

    Hi,

    I am looking for a solution to a similar problem, can some one please assist?

    Thanks!

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 23, 2010 at 01:18 PM

    Hi,

    You can subscribe to the UpdateTLN event (for example put the following code in the masthead iview).

    EPCM.subscribeEvent("urn:com.sapportals:navigation", "UpdateTLN", funcname);

    Then you can write a javascript function (in this example funcname) and do whatever you want BEFORE the navigation.

    Regards,

    Omri

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 30, 2010 at 02:02 PM

    Hi Omri,

    Thanks a lot for your suggestion.

    Actually the requirement was a little bit moulded and hence we did not require this anymore.

    Awarding you the points for the same!!!

    Add a comment
    10|10000 characters needed characters exceeded

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.