Why won't InfoPath UPDATE my SharePoint Document Library?

Posted on 2012-08-13
Last Modified: 2012-08-29
I have a SharePoint site, and I can create InfoPath forms to post data to it. While this works like a charm, the UPDATE does not work. If I use the InfoPath forms to attempt an update, the promoted fields are modified, but the updated document comes across as a new document.
Question by:Rahsaan-Pringle
    LVL 28

    Accepted Solution

    You need to look at the formula you are using to create the file name.

    The values are changing and therefore when it submits it has a different name.

    Usually what i do is create a field, which is blank on a new form.

    I have a rule, before I submit, which if the field is blank sets it to what i want the file name to be.

    Then when setting up the submit dataconnection, use that field as the file name.

    That way on edits the name will stay the same, which sounds like what you want.

    Author Comment

    I see. I was thinking that the unique value would be a hidden ID field, but it's the document name. I am new to the implementation of rules (C# dev), so any guidance you can give on that would be greatly appreciated.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    This very simple solution applies to a narrow cross-section of the "needs to close" variety. In this case, the full message in Event Viewer was in applog, Event ID 1000: Faulting application iexplore.exe, version 8.0.6001.18702, faulting module …
    This collection of functions covers all the normal rounding methods of just about any numeric value.
    Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
    The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now