Auto fill current user without name check - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Auto fill current user without name check

Last post 04-03-2019 08:52 AM by Hilary Stoupa. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 03-27-2019 03:27 AM

    Auto fill current user without name check

    In SharePoint I have an InfoPath form with a person/group field. The field is auto filled with the current user logged in. This is working. My problem is I can't save the form if I don't click on the button for name check (the first button on the right side of the field) My goal is to avoid this and save the form without controlling the name. How can I achieve this? See the attachment. ***Update*** I can see there is a space after the character semicolon in the user name. If I delete the semicolon manual, then I can save the form. Can I get rid of the space after semicolon?
  • 04-01-2019 08:03 AM In reply to

    Re: Auto fill current user without name check

    Are you populating both the accountid and the displayname for the user? If I recall correctly, both have to be set for the control to properly resolve.
    Hilary Stoupa

  • 04-01-2019 11:24 PM In reply to

    Re: Auto fill current user without name check

    Only the account id. I'll try your solution and populate both the account id and displayname.
  • 04-03-2019 01:08 AM In reply to

    Re: Auto fill current user without name check

     Hi again,

     I tried your solution and it's working fine, when I test the form in InfoPath.

    After publishing the form to SharePoint I get this error:

     

    Destinationsprogrammet blev ikke fundet (program-id: InfoPathGUPBN).

    Der blev føjet en post til Windows-hændelsesloggen på serveren.
    Log-id:5566

    Korrelations-id:ed45cf9e-11d9-f0ae-248a-d98b881bdd3e

     

    The error says something about the destination program was not found.

    What can be the problem?

    Best regards

    Morten 

     

  • 04-03-2019 08:52 AM In reply to

    Re: Auto fill current user without name check

    You get the error on open? You may want to check the correlation id in the ULS logs - generally 5566 is an error we see when we try to query a SharePoint REST service from InfoPath.
    Hilary Stoupa

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