1 of 1 people found this helpful
When a user click on Dashboard (i mean My Page as you mention), a user page will be created automatically, you don't need to create it yourself.
Or what else user page do you need to create programatically?
Yes, I want tor create user page programatically.
You can create user page programmatically, to create user page you need:
- Create user site if is not exist
- Create user page
- Create user node refer to user page have been created.
You can refer to Dashboard - an user page is created programmatically too.
With dashboard, user page will be created in org.exoplatform.portal.application.UserSiteLifeCycle#onStartRequest(), this is an app lifecycle, it is configured in https://github.com/gatein/gatein-portal/blob/3.6.3.Final/web/portal/src/main/webapp/WEB-INF/webui-configuration.xml