Monday, 29 September 2014

Personilization in websphere portal

Personalization :- Using this we can hide a page or a portlet depending upon user group,access role,geographic location or browser used by him.

Use-case :- If user belong to particular to group do not show the portlet.

Step 1 :- Login to portal administration then navigate to application,personalization and then to business rules.





Step 2 :-  Now click on new drop down and then click on rule and fill below details


Step 3 :- Now select the Rule Type as Visibility rule as given below


Step 4 :- Now you can add any attribute based on your use case. I will be adding user info groups here. Because my visibility rule is based upon the group user belongs to.




Step 5 :- Now select the value of group by which you will determine. Whether to show a portlet or page. Now click value and then find groups then select your group.






Step 6 :- Now click on save and then navigate to preview to verify the rule is working or not. For me wpsadmin falls under wpsadmins group. So it show me output as show.



Step 7 :- Now navigate to portlets in administration while adding a portlet to portal page. Click on show portlet rule mappings and the select the rule to the portlet and then click on save.
















No comments:

Post a Comment

Custom single threaded java server

 package com.diffengine.csv; import java.io.*; import java.net.*; import java.util.Date; public class Server { public static void main(Str...