掲示板

How to navigate the user his organization page directly.

11年前 に Kiran Kumar Boyini によって更新されました。

How to navigate the user his organization page directly.

Expert 投稿: 287 参加年月日: 11/06/02 最新の投稿
Hi All,

I want to navigate the user to his organization site or organization default page ,which he belongs after sign in successfully.

how it is possible .


Thanks,

Kiran
thumbnail
11年前 に Bart Simpson によって更新されました。

RE: How to navigate the user his organization page directly.

Liferay Master 投稿: 522 参加年月日: 11/08/29 最新の投稿
Create a
login.events.post
hook and extend the Action class.
Set the "LAST_PATH" attribute in session to the user's site / organization using something like :-
 com.liferay.portal.service.GroupLocalServiceUtil.getUserGroups(long userId)).get(0).getFriendlyURL()
thumbnail
11年前 に Apoorva Prakash によって更新されました。

RE: How to navigate the user his organization page directly.

Liferay Master 投稿: 658 参加年月日: 10/06/15 最新の投稿
Hello Kiran Kumar,

There are some properties in portal.properties, they may help you...

##
## Set this property as per your needs for landing page after user log in. It could be from one of
## the value from below options
## 1. userPrivatePage
## 2. userPublicPage
## 3. site
## 4. organization
##
custom.landing.page.type={userPrivatePage/userPublicPage/site/organization}


Hope this will help...

Thanks and Regards,
Apoorva Prakash