- Open Component Wizard
- Click on Options --> Add
- Give suitable name to the component, do not change any of the fields.
- Now the new component is created and you can add resource to this component.
- Click on Add, under Resource Defination tab.
- Select service radio button
- Make load order as 20 (this is to make sure your component is loaded last and content server will use the LOGIN service created by us instead of the default service.)
- Click next,
- Click next
- Now in the Add service dialog box , Give name as LOGIN
- Select Service as the Service Class
- Leave rest of the fields blank.
- Click on Add button under Actions sections
- Select type as Java Method.
- Give name as prepareRedirect
- In parameter Text box add IdcService=COLLECTION_DISPLAY&hasCollectionID=true&dCollectionID=2
- This will take your users to the browse content page. We can the IDC service as per our requirement
- Click OK
- Close all boxes.
- Enable the component
- Restart content server
- Go to the portal home page and click on LOGIN
- You should go the desired page
Thursday, October 1, 2009
Redirect post Login in UCM content server
If you have a requirement where you need to redirect the user to some other page after login instead of the default search page we need to over ride the LOGIN service. Below are the details steps to take the user to the browse content page which has the list of virtual folders in the content server..
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment