none
How to remove 'Submitted by Anonymous User' in email of infopath

    Question

  • Hi,

    I have some infopath forms used for general customers to submit forms from a Sharepoint Internet site. but in the email it generated, the first line always is "[Submitted by Anonymous User] ". Does anybody know how I can remove this?

    Thanks.
    Sunday, December 13, 2009 9:16 PM

All replies

  • I have not tried this myself, but the auto-generated alerts are normally controlled via alertemplates.xml.  Try doing a search on that keyword, set aside a few hours to investigate and you'll probably have some success with it.


    --Paul Galvin, Arcovis
      Microsoft MVP - SharePoint
      Blogging @ http://feeds.feedburner.com/PaulGalvinsSharePointSpace
      Twitter @ http://www.twitter.com/pagalvin
    Sunday, December 13, 2009 11:29 PM
  • These links may also be useful:

    http://delicious.com/pagalvin/alerts

    --Paul Galvin, Arcovis
      Microsoft MVP - SharePoint
      Blogging @ http://feeds.feedburner.com/PaulGalvinsSharePointSpace
      Twitter @ http://www.twitter.com/pagalvin
    Sunday, December 13, 2009 11:31 PM
  • Thanks very much for your responses. But this may not be caused by an alert, I supposed.

    The email is generated by the infopath when using Email Submit data connection. In the body of email it sent, the line "[Submitted by Anonymous User]" is always automatically added at the top of the Introduction, which I would like to get rid of.
    Monday, December 14, 2009 1:20 AM
  • Any success?
    Faraz Javaid
    Wednesday, January 06, 2010 9:17 AM
  • Do you have any ideas? Ta.

    Thursday, January 14, 2010 3:28 AM
  • I have the same issue but haven't ran across a solution yet.
    Wednesday, February 16, 2011 10:29 PM
  • Did you managed to find a solution? I am urgently in need of an answer for this one, please
    Thursday, March 15, 2012 10:04 AM
  • It's definitely not straightforward.

    We found this link helpful: http://www.hornerit.com/2012/01/hide-submitted-by-in-infopath-browser.html

    The information is still embedded in the source, but does not show up in html formatted emails. It does, however, still show up in the Outlook desktop alert that pops up.

    Thursday, March 29, 2012 3:17 PM
  • In the end, the solution we came up with was to publish the InfoPath form to a SharePoint document library and then create a custom workflow in SPD that a) sends an email with the content of the form to a specified email address and then b) deletes the completed form from the doc library.

    The email that is sent comes from the SharePoint site collection address and does not contain any identifying information about the user who submitted the form, unless, obviously, you add that parameter.

    Thursday, March 29, 2012 8:48 PM
  • I think you were referring to the automatically generate "submitted by blah" message. There is no easy solution to this.

    I tried the workaround described in the following link and it worked well.

    http://www.hornerit.com/2012/01/hide-submitted-by-in-infopath-browser.html

    Thursday, April 12, 2012 9:03 PM
  • Hi, I am trying to do something similar to this. What i have is a form that a user has to fill out and then hit the submit button. when he hits submit the email received contains a submitted by section. After applying the workaround (taken from the hornerit.com site) i still see the submitted by in the alert. 

    My problem is i cannot do this as a document library because that would mean the user would have to save the document to get the workflow started. And i need it to be completely Anonymous. 

    What i have to achieve is this. its like a complaint/suggestion form where people write their issues and hit send. it should reach the HR and not be traceable back to the user. but the submitted by is making it impossible. 

    Is there a way that i can delete the contents of the class that contains submitted by in the style rather than just hiding it? 

    Any help is appreciated. I am stuck

    thanks. 

    Thursday, May 24, 2012 4:45 PM
  • Absolutely the same, I had to do for a previous client of mine

    I have spent  considerable amount of time investigating the issue and there is no perfect solution to this in my opinion.

    These are some workarounds.  (Assuming SP 2010 and InfoPath 2010, although may work in MOSS as well with minor modifications if necessary)

    Option 1. Create a simple infopath form for a list. In the list settings do the following:

    a. Go to : List settings -> General settings -> Advanced settings -> Read access. Now select Read items that were created by the user   option. Similarly select create items and edit items that were created by the user

    b. Stop inheriting permissions for the list and let only one service account to have full access to the list. Others will only have Contribute permissions (If I remember it correctly)

    c. Now when the users enter their feedback, in a infopath form webpart the data is stored in the list (the list can be hidden if required.)

    d. You can either delete the record after sending the email in a workflow or you can use the "Impersonate step" in the workflow to recreate the record or whatever you want to do with it.

    PLEASE NOTE: Its not mandatory to use the list. You can also submit the form to a library and do the same as above.

    Option 2. Create a Survey, which gives you option to give anonymous feedbacks. Please note you may need to do security settings similar to the above.

    None of these two methods are foolproof.

    Option 3. There are many free online surveys and polls services. You can create an account for your HR there, and then use the embed script they give and put in a html webpart. This probably works very well... Only HR will know and its absolutely anonymous (although many of these services track ip address)

    Let me know whichever approach you take at the end (Either the ones above or something else)

    Regards,




    • Edited by sankumarr Thursday, May 24, 2012 6:12 PM
    Thursday, May 24, 2012 6:10 PM