Created By View - InfoPath Dev
in

InfoPath Dev

Created By View

Last post 04-08-2013 07:02 AM by wilkies0106aw. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 04-08-2013 07:02 AM

    Created By View

      All,

    Brain Dead moment.

     

    I have many forms which use the getuserprofilebyname service to populate username details i.e. - http://blogs.microsoft.co.il/blogs/itaysk/archive/2007/04/05/InfoPath-_2D00_-Get-the-current-user-without-writing-code.aspx I generally use the PreferredName for an employee name. This is populated on form creation and not refreshed on subsequent form opens.

    I also often have  set current user field which uses the following default value on form load - translate(value[name = "accountname"], "abcdefghijklmnopqrstuvwxyz", "abcdefghijklmnopqrstuvwxyz"). I use this for views and permissions etc.

    Looking back at some of my forms I need a "created by" view, where by the created by is actually the employee name - how can I do that? i.e. for the employee name = current user. Ideally this needs to be done so that I can just 'update' the design of the form.

     

    Thanks

     

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