Search - InfoPath Dev

InfoPath Dev

Search

Page 1 of 1 (6 items)
  • Re: XPath query to check if a field would be a duplicate?

     Actually, this issue turned out to be related to the default view of the library in SharePoint.  Updating the default view to show all the items in the library fixed the issue.  I will experiment with basing my data source off a different view, so that the default view can still be paged, but for now my issue is resolved.  ...
    Posted to Code (Forum) by burtikus on 05-27-2009
  • Re: XPath query to check if a field would be a duplicate?

    That expression gets me most of the way there.  Thanks Hilary!! One question though.  This code now works for preventing duplicates against the most recent 100 forms in the library.  Further back than that though, it does not find any results to the xpath query.  I know the SharePoint user interface displays the library in ...
    Posted to Code (Forum) by burtikus on 05-22-2009
  • XPath query to check if a field would be a duplicate?

    Hi all.  I'm having a bit of trouble figuring out how to accomplish something.  Basically, I have an InfoPath 2007 form being submitted to a MOSS 2007 Form Library.  I originally set this up to use a Title field that's on the form itself as the document title when the form is submitted.  This "seemed like a good ...
    Posted to Code (Forum) by burtikus on 05-20-2009
  • Re: Retrieve SharePoint Form ID in code?

    [quote user="Hilary Stoupa"] I overlooked your variable 'xnMyForm' -- I bet that is pointed to your Main Data Source, and, of course, the XPath you are using won't be valid against that.... you'd need something along the lines of: string RFCID = ...
    Posted to Code (Forum) by burtikus on 02-26-2009
  • Re: Retrieve SharePoint Form ID in code?

     The XPath I just copied from the data source, so I'm assuming that's right.    The line that causes the error is      string RFCID = xnMyForm.SelectSingleNode("/dfs:myFields/dfs:dataFields/dfs:Request_For_Change/@ID", ns).Value;   I'm pretty new at InfoPath and SharePoint, but ...
    Posted to Code (Forum) by burtikus on 02-25-2009
  • Retrieve SharePoint Form ID in code?

    Hi all,   I have an InfoPath form that is being submitted to a SharePoint form library.  After the form has been submitted, I would like to retrieve the ID field from the form library and store it in the form's data source.  I can do this in many different ways, but so far nothing I've tried is working.   I have set ...
    Posted to Code (Forum) by burtikus on 02-24-2009
Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.