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

iView publishing

Hi,

I have created an iView and would like to make this iview only available for certain times of the month. This would mean that say between 12th - 15th this would be unavailable to the users to view.

Is this possible, should I be able to use the time publishing on an iview?

If you can help or any advice I would appreciate it and will reward points.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2006 at 10:37 AM

    Hi Kai,

    You are getting confused between "<b>portal content</b>" and "<b>KM-Content</b>".

    IView is portal content and there are no services available like time based publishing here. (Only KM-Contents have these services)

    So the only option I see for this custom requirement is to implement your own IView where you can decide when to show it. (Hide Portal Application)

    You can hide your IView in doOnNodeReady() method, but this also has restriction and only works for EMBEDDED isolation mode.

    See this for more:

    http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/60b54066ea8531e10000000a1550b0/frameset.htm

    So here goes the code:

    protected void doOnNodeReady(IPortalComponentRequest request, IEvent event) {
      if (!showUp(request)) {
        request.getNode().setNodeMode(new NodeMode("HideMode"));
        return;
      } else {
       request.getNode().setNodeMode(NodeMode.DEFAULT_MODE);
      }
    }

    Greetings,

    Praveen Gudapati

    p.s. points are always welcome for helpful answers 😊

    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.