on 12-08-2005 3:09 AM
Hello everyone,
I've created a Window with 2 viewsets. One of the viewsets is now currently set as a default and the other is not. When I start my application, based on certain conditions, I want to be able to set which of the 2 viewsets become the default viewset.
Any help will be highly appreciated.
Thanks,
Mike
Hi mike,
Where will u check the condition to navigate to ur viewset according to the condition. u can create a view as default and then create a button and from there u can navigate to any of the two viewset depending on ur application.
Let me know ur problem more precise.
Regards,
Vijayakhanna Raman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Vijayakhanna,
When a user logs in, depending on how he is setup in our system (Administrator or User) I want to show a different viewset for the type of user. I plan to do this in the interface view in the onPlugDefault method.
If the user is an Administrator, i'd like the user to see the Administrators Viewset and if the user was an ordinary user, I'd like that person to see the User's Viewset.
regards,
Mike
hi mike
if you want to show a different view from the login view
depending on the user then do coding as nagraj said.
the following link may be useful regarding the UME permissions
which i hope is what you are dealing with.
https://www.sdn.sap.com/irj/sdn?rid=/webcontent/uuid/adcfa85d-0501-0010-a398-80a47b8e3fc2 [original link is broken]
regards
saravana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi mike,
If both the viewset is in the same window then the default viewset will be seen in the browser so it is not possible to check from ur System setup.
Regards,
Vijayakhanna Raman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi mike
is it that you want to show different viewsets depending on the user.as far as i know it is possible in enterprise portal.where you assign a viewset to user depending on their roles.the thing which you said can be exactly done using enterprise portal.
regards
saravana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The property for setting the default view and viewset cannot be bound to context varaible, so cannot we cannot set the property dynamically.
However another method exist, i.e. if you fire plug to one of the view's of any of the viewset based on the condition then the control goes to the viewset which has the view embedded in it.
I hope you understood the method.
regards,
Mahesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.