I have a scenario that was given to me. The scenario:
There is a List called Improvements for which a Requestor can make a submission.
Within this same list, the Admin can then make any approvals on the current item that the Requestor has submitted.
- There are 2 views on the InfoPath form. The Requestor View and the Admin View.
- There are also 2 controls on the InfoPath form. The first is a dropdown list box called Department, which is a column on the Improvements List. This control is also a Lookup from another List that stores users based on the Department that they belong in.
- The second control is a People Picker which displays the Admin responsible for making any approvals on the current item. This control gets populated when the user chooses a Department from the dropdown. When a Department is chosen, the People Picker gets populated with a user based on the Department chosen. For example, if the user chooses the Law department then the People Picker control gets populated based on the Department chosen.
What I'd like to know is, how can I restrict the Admin View from the Requestor?
When adding a New Item, the Requestor should be able to see the Requestor View. Afterwards, the Requestor is not allowed to see any other view except the Requestor View due to sensitive information. The only user allowed to see the Admin view is the Admin displayed in the People Picker.
I'm not sure what is the easiest method to accomplish what I need but any advice and steps are appreciated. How can I accomplish this?