SubmitToSharePointList, /id=my:id - InfoPath Dev
in

InfoPath Dev

SubmitToSharePointList, /id=my:id

Last post 12-08-2010 09:00 AM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-08-2010 08:56 AM

    SubmitToSharePointList, /id=my:id

    What if there is no id field in the form?

    I'm getting this error, without the id parameter in the Command field, since I don't have it in the form: 

    An unexpected error occurred executing the rule. Action: SubmitToSharePointList
     Arguments:
    submit: ShPSubmitGFMC
    mapping: mappingGFMC

     Details: Expression must evaluate to a node-set.
    Stack:   at MS.Internal.Xml.XPath.XPathParser.ParseNodeTest(AstNode qyInput, AxisType axisType, XPathNodeType nodeType)
       at MS.Internal.Xml.XPath.XPathParser.ParseStep(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseLocationPath(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParsePathExpr(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseUnionExpr(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseUnaryExpr(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseMultiplicativeExpr(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseAdditiveExpr(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseRelationalExpr(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseEqualityExpr(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseAndExpr(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseOrExpr(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseXPathExpresion(String xpathExpresion)
       at MS.Internal.Xml.XPath.QueryBuilder.Build(String query, Boolean allowVar, Boolean allowKey)
       at MS.Internal.Xml.XPath.QueryBuilder.Build(String query, Boolean& needContext)
       at System.Xml.XPath.XPathExpression.Compile(String xpath, IXmlNamespaceResolver nsResolver)
       at System.Xml.XPath.XPathNavigator.Select(String xpath, IXmlNamespaceResolver resolver)
       at Qdabra.Tools.RulesLibrary.Commands.UpdateFormItemList(String fullIdPath)
       at Qdabra.Tools.RulesLibrary.Commands.PopulateIdsAndLastModified(XPathNavigator outputNav, XmlDocument mapping, String idXpath)
       at Qdabra.Tools.RulesLibrary.Commands.SubmitToSharePointList(String submitDs, String mappingDs, String id, String dsname, String xpath, String name, String uniqueName)
       at Qdabra.Tools.RulesLibrary.Commands.SubmitToSharePointList()
       at Qdabra.Tools.RulesLibrary.Commands.ExecuteCommand()

    I'm only adding to a reference list and not updating anything.

    Thanks in advance for your help.  Again.

     

    -Nancy
  • 12-08-2010 09:00 AM In reply to

    Re: SubmitToSharePointList, /id=my:id

    Hi, Nancy:

    I'm afraid this is a bug. I'll email you through the forum to coordinate getting you a patched build.

    Sorry about the inconvenience!

    Hilary Stoupa

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