Submitter and Reviewer shows the same name - InfoPath Dev
in

InfoPath Dev

Submitter and Reviewer shows the same name

Last post 07-24-2012 02:08 AM by joannewellings42. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 07-22-2012 07:12 AM

    Submitter and Reviewer shows the same name

    In my Infopath Form 2007, I have 3 sections.
    Section I: for submission.
    Section II and III: for review
    There's one field in each sections (submitted by and reviewed by sections) where it shows the Submitter's and reviewer's name in the form.
    The problem is:
    Submitted by field shows the correct name but Reviewed by section shows same name as submitted by; which is not correct. Reviewed by field should show the correct name because Reviewed by person is different than Submitted by.

    Need your help.

    Filed under:
  • 07-23-2012 03:46 AM In reply to

    Re: Submitter and Reviewer shows the same name

    Are you using the GetUserProfile web service to retrieve the user names? And then are you setting the field values by using "Default Values"?

  • 07-23-2012 06:49 AM In reply to

    Re: Submitter and Reviewer shows the same name

    joannewellings42,

    Yes, I am using GetUserProfile web  service and I am using Value (filtered with name is equals to "FirstName") from GetUserProfile web service. It shows the name of the submitter in the reviewer section...I am just wondering why it is not showing the current user name who is reviewing the form. Hope you can help in this matter.

    Thanks

    Filed under:
  • 07-23-2012 06:58 AM In reply to

    Re: Submitter and Reviewer shows the same name

    Is there a way you can use a rule to set the Reviewer name, rather than using default value?

    If possible, you could attach your form here and I'll have a look. I've had a problem with these values before, which I've fixed by making sure that the field values are set by rules so they cannot be changed by refreshing.

  • 07-23-2012 07:45 AM In reply to

    Re: Submitter and Reviewer shows the same name

    I added field in the Value section. What should be the value in the Rules?

     

  • 07-23-2012 08:26 AM In reply to

    Re: Submitter and Reviewer shows the same name

    The thing that might be happening is that if you're using the same data connection to get both values, that it is overwritng anything you do to set the value of the reviewer.

     It's hard to say without seeing it. Are you able to attach it here to have a look at please?

  • 07-23-2012 11:58 AM In reply to

    Re: Submitter and Reviewer shows the same name

    I wish I could attach my whole form. This is my project so I don't think I should attach here. Hope you understand.

    For two different sections in the Reviewer sections, I used two different data connections although, it has the same Sumit properties (using same data connection). Any suggestions?

     Thanks

  • 07-24-2012 02:08 AM In reply to

    Re: Submitter and Reviewer shows the same name

    Try adding a button that sets the value of the Reviewer fields to the details of the person looking at the form and remove any default value settings from the fields. If you click the button, does it work OK? Does it change the name of the submitter too?

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