Need help in checking condition in sharepoint person or group field. - InfoPath Dev
in

InfoPath Dev

Need help in checking condition in sharepoint person or group field.

Last post 06-19-2012 11:10 AM by Anson Hidajat. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-19-2012 09:55 AM

    Need help in checking condition in sharepoint person or group field.

    Hi all, I have created one approver list in sharepoint with field name Approver(Data Type Person or Group). I have assigned few users in that field. Now when someuser open the infopath form, i want to check that whether this user is present or in that list I mean how can we query the user from infopath with sharepoint person or group field. Please somebody help me.
  • 06-19-2012 11:10 AM In reply to

    Re: Need help in checking condition in sharepoint person or group field.

    You should be able to use the function userName() and compare that to all instances of accountid in the people picker field.  That should determine whether or not the current user is an approver or not. Hope this helps!
    Anson Hidajat
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.