Different view for different person - InfoPath Dev
in

InfoPath Dev

Different view for different person

Last post 10-09-2007 03:21 AM by adamrharding. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-23-2007 03:33 AM

    Different view for different person

    Hi,

    I have an infopath form with 2 views which I publish it in Sharerepoint 2007. The first view can only be viewed and filled by user whereas the second view can only be viewed by approver after the form has been approved.

    Is there any solution to do this?

    Thanks.

    Filed under: ,
  • 08-23-2007 03:45 AM In reply to

    Re: Different view for different person

    I would propose that you get the login of the user who opens the form in the OnLoad event (just search the forum, there are various threads about this topic and examples for all possible languages). Then depending on this call the SwitchView method in order to switch to the users corresponding view. Another idea is to work with User Roles. Hope this helps.
    Listen to Motörhead cos they play Rock'n Roll :)
  • 10-09-2007 03:21 AM In reply to

    Re: Different view for different person

    Hi

    An active directory web service would be a simple solution such that once the authoriser is specified, then the relevant employeeID is set and has to match at the opening of the form to move over to the authorisers view.

    This can be done without such a servce such that my originators specify the email address to mail the form on to the authoriser.  When I open the form his email address (from AD) has to match to switch the view.

    This is a good system I have use to great affect.

    Adam

    Adam Harding
    Wales
    UK
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.