Switching view in the Load event. - InfoPath Dev
in

InfoPath Dev

Switching view in the Load event.

Last post 01-13-2007 10:57 PM by Shiraz Cupala. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 11-14-2006 12:55 PM

    Switching view in the Load event.

    Hello,

    Here is my requirement:

    The current user accessing the default view should be redirected to a different view based on his participation to a specific security group (determined through Sharepoint web service call).

    How could I achieve this when the default view loads?

    I tried:

    this.ViewInfos.SwitchView(ViewInfos["Restricted"]);

    but it seems like ViewInfos is not constructed on that point. Thanks for your help

    Thanks,
    Franck
  • 11-14-2006 01:17 PM In reply to

    Re: Switching view in the Load event.

    Just found my answer.

    http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2885

    Thanks,
    Franck
  • 01-13-2007 10:57 PM In reply to

    Re: Switching view in the Load event.

    Welcome to our Forum Franck. Glad you found the answer. Looking forward to your participation in our forum and to helping you with your InfoPath projects.
    Shiraz Cupala / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.