Tuesday, 21 January 2014

Storing PortletPreference in serveresource



·         By default, portletpreference can be stored using process action /serveResource method in the portlet class.

·        For storing portlet preference using serve resource method, the following setting needs be done in Portal server in additional:     

  •  Assign all authenticated  portal user to  privilege user  for Portlet which uses serveResource for storing preferences 
    • Click"Resource Permissions" and "Portlets"
  •     Search "Test" in search box



  • Click"Privileged user" and Select "All Authenticated Portal users"
  •     Click "Add". Add " All Authenticated Portal users"
  •   
  • Assign all authenticated  portal user to  privilege user  for Web module which uses serveResource for storing preferences  
  •  
  •     Click "Resource Permissions" and "Web Modules"
  •  
  •     Search "Test" in  Search Box.Click" Access" Icon
  •     Click" Priveileged user" Icon
    •   Click "Add". Add " All Authenticated Portal users"
  • Assign all authenticated portal user to privilege user for page which contains portlet (which uses serveResource for storing preferences).  

  •   Click "Resource Permissions" and "Pages"
  • Search "Test" in Searchbox. Click "Access" Icon

        Click "Privileged user" . 
        Click "Add". Add " All Authenticated Portal users"

No comments:

Post a Comment