on 09-27-2006 11:13 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.