Show item's data on an approval form - InfoPath Dev
in

InfoPath Dev

Show item's data on an approval form

Last post 04-11-2013 08:24 AM by harlequin80. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 04-11-2013 08:24 AM

    Show item's data on an approval form

    Hi all,

    I have a workflow created with Nintex 2010 and I need to customize the task approval form with InfoPath 2010: unfortunately I really cannot show in the same form niether the accept/decline radios nor the item's data on which the workflow runs.

    I understand that we have two different kinds of data source (the Main and the secondary) but what I want to submit is not the secondary data source, obviously, but the main one.
    The problem is Infopath that doesn't accept the values I'm trying to pass it in the GetListItems webservice, anyway! My final goal is to use this secondary data as source to create a repeating table. So, IP show me this alert: 

    The SOAP response indicates that an error occurred on the server:

    Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
    <detail><errorstring xmlns="http://schemas.microsoft.com/sharepoint/soap/">Element &lt;Query&gt; of parameter query is missing or invalid.</errorstring><errorcode xmlns="http://schemas.microsoft.com/sharepoint/soap/">0x82000000</errorcode></detail>

    and if you're asking yourself if the soap message has some problems, I can tell you that it works for sure because I tested it apart. However here is:

    <GetListItems xmlns="http://schemas.microsoft.com/sharepoint/soap/">
    <listName>{31964ACF-38A1-4425-82DD-3D531314D357}</listName>
    <viewName>{31FBCB07-48A1-48E8-AA49-96AC88E74B10}</viewName>
    <query><Query><Where><Eq><FieldRef Name="ID" /><Value Type="Counter">{ItemProperty:ID}</Value></Eq></Where></Query></query>
    <viewFields><ViewFields><FieldRef Name="ID" /><FieldRef Name="Title" /></ViewFields></viewFields>
    <rowLimit><RowLimit>5</RowLimit></rowLimit>
    <queryOptions><QueryOptions/></queryOptions>
    <webID><WebID/></webID>
    </GetListItems>

    do you think is there something wrong?

    thanks in advice :)

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