cancel
Showing results for 
Search instead for 
Did you mean: 

Changing default view based on some condition

Former Member
0 Kudos

Hi All,

I need to change the default iview based on a condition that depends on users login id in portal.The web dynpro application is deployed on the portal....the iview should change based on a condition....

Any pointers as to how can i change the default ivie based on a condition??

Thanks and Regards

Radhika Kuthiala

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I need to change the default iview based on a condition that depends on users login id in portal.

To acheive the above you need to get the current logged in user

IWDClientUser user = WDClientUser.getCurrentUser();

Now based on your condition fire a plug to the respective view.

Regards

Ayyapparaj

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi Radhika,

Depend upon the user logged into the portal you can assign roles which contains required iviews.

hierarchy i.e. iView -> Page -> Workset -> Role.

User & Role Based Access

https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action?pageId=16442

Content Administration link.

http://help.sap.com/saphelp_erp2004/helpdata/en/5a/0339000c0b11d7b84800047582c9f7/frameset.htm

Check this too: [Here|; and [Here|;

Regards, Suresh KB