How to get created by value on IP2010 form - InfoPath Dev
in

InfoPath Dev

How to get created by value on IP2010 form

Last post 09-04-2012 08:16 AM by Gennady Vanin (Геннадий Ванин, Новосибирск). 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 09-03-2012 06:05 AM

    • wkargo
    • Not Ranked
    • Joined on 07-03-2012
    • Posts 9

    How to get created by value on IP2010 form

    Hi

    I'm trying to display created by field from form library SP 2010 on mu custom IP form 2010. To see who created the form.

    I created the SP connection to my form library to get the created by field.

    I have created 2 rules which are triggered when form is opened :

    1st If the Title ( mandatory field) is blank, then I'm displaying the current user using formula userName() : Works user log on is displayed

     2nd If the Title  is not empty then using the data connection to SP  I'm trying to get the Created By value from list library . Doesn't work nothing is displayed

     Could you please advice how to display this value on the form ? Thanks

     

  • 09-03-2012 08:12 AM In reply to

    Re: How to get created by value on IP2010 form

    Again guessing game exercise.

    wkargo:
     2nd opening already filled in form, the rule is checking if the title ( one of the mandatory fields ) is not empty then using the data connection to SP  I'm trying to get the Created By value from list library
     

    What is "list library"?

     Form library or document library does not contain mandatory title field

    And in Sharepoint List Form you just drag-and-drop Created By from Fields pane of Main Data Connection/Source onto design surface of list form template

     

    drag'n'drop Created by data field onto design surface of template form in Infopath Designer 2010

     

     Filling a List in Nrowser

     

     

    All work for me

     

    Works the same for library but after creating secondary/receive data connection/source to a sharepoint library

    Gennady Vanin (Novosibirsk) --- Геннадий Ванин (Новосибирск)
  • 09-03-2012 08:35 AM In reply to

    • wkargo
    • Not Ranked
    • Joined on 07-03-2012
    • Posts 9

    Re: How to get created by value on IP2010 form

     Hi Gennady

    I have described the problem more precisely .

    I want to display the created by on custom form stored in form library. I don't  see those field in my main data fields .So I created another connection to this form library to get it and 2 rules to handle scenario when form is opened for first time ,

     When I drag and drop fields from this new data connection nothing is displayed .

  • 09-03-2012 10:44 AM In reply to

    Re: How to get created by value on IP2010 form

     Well, I see a repeating table bound to a data field Created By (secondary/receive data connection) filled from form library without any rules.

    Having no ideas why you fail to see them


    Gennady Vanin (Novosibirsk) --- Геннадий Ванин (Новосибирск)
  • 09-03-2012 11:08 AM In reply to

    • wkargo
    • Not Ranked
    • Joined on 07-03-2012
    • Posts 9

    Re: How to get created by value on IP2010 form

     Hi

    Are you able to see the values once you drag and drop Display name from pc:Person group ?

     

  • 09-03-2012 12:36 PM In reply to

     Yes, I am

     


    Gennady Vanin (Novosibirsk) --- Геннадий Ванин (Новосибирск)
  • 09-04-2012 02:27 AM In reply to

    • wkargo
    • Not Ranked
    • Joined on 07-03-2012
    • Posts 9

    Re: How to get created by value on IP2010 form

     Ok , does it work if you drag and drop only Display name from ps:Person ?

     Is it working if you open the form for the first time ?

    Thx

  • 09-04-2012 08:16 AM In reply to

    Re: How to get created by value on IP2010 form

    wkargo:
    Ok , does it work if you drag and drop only Display name from ps:Person ?
     

    Yes, I have redone it few times.

    wkargo:
    Is it working if you open the form for the first time ?

    Yes, both in Preview or from browser, from previously XML data forms (according to their amount)

    Gennady Vanin (Novosibirsk) --- Геннадий Ванин (Новосибирск)
Page 1 of 1 (8 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.