cancel
Showing results for 
Search instead for 
Did you mean: 

iView publishing

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

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