I am creating a browser enabled form with Infopath 2010. I have 3 views and these views are dependent on some rules.
1) When the employee submit the information to the sharepoint list and when the employee click on the submitted view than the read only view should be displayed.
2) when the manager is login than the manager's view should be open and manager should be see all the request of employee.
Any ideas ?
You can do this by setting a field value in your InfoPath form to set the status of the form when the form is saved or submitted.
Then on the Form Load event you can check the value and user role and set the corresponding view.
For user information you can check this blog post: Get the User Profile through MOSS Web Services.
You can find my blog here: http://developertrack.blogspot.com
Microsoft 正在进行一项网上调查，以了解您对 Msdn 网站的意见。如果您选择参加，我们将会在您离开 Msdn 网站时向您显示该网上调查。