udc connection & owssvr.dll - InfoPath Dev
in

InfoPath Dev

udc connection & owssvr.dll

Last post 01-24-2013 11:33 PM by Alandha. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-04-2012 01:05 AM

    udc connection & owssvr.dll

    Hi all,

    I tried to use udc connection file type="XmlQuery" along with owssvr.dll so that I can filter data returned from the sharepoint list.
    However, it always complains "specifies a connection of type XmlQuery. Expected type was SharePointList." when I test the form in preview.
    I've listed my udcx file below, please have a look if there is any syntax errors or what cause this. It would be good if someone can provide an example of how to use <udc:Query> tag along with <udc:Type Type="XmlQuery">. Thanks a lot

      <?xml version="1.0" encoding="UTF-8" ?>
      <?MicrosoftWindowsSharePointServices ContentTypeID="0x010100B4CBD48E029A4ad8B62CB0E41868F2B0"?>
    - <udc:DataSource MajorVersion="2" MinorVersion="0" xmlns:udc="http://schemas.microsoft.com/office/infopath/2006/udc">
      <udc:Name>Regions</udc:Name>
      <udc:Description>Format: UDC V2; Connection Type: XmlQuery; Purpose: ReadOnly;</udc:Description>
    - <udc:Type MajorVersion="2" MinorVersion="0" Type="XmlQuery">
      <udc:SubType MajorVersion="0" MinorVersion="0" Type="" />
      </udc:Type>
    - <udc:ConnectionInfo Purpose="ReadOnly" AltDataSource="">
      <udc:WsdlUrl />
    - <udc:SelectCommand>
      <udc:ListId />
      <udc:WebUrl />
      <udc:ConnectionString />
      <udc:ServiceUrl UseFormsServiceProxy="false" />
      <udc:SoapAction />
      <udc:Query>https://myserver/_vti_bin/owssvr.dll?Cmd=Display&List={0D0FB7E3-C63D-41B3-BFE3-F24163BB9556}&XMLDATA=TRUE&noredirect=true&FilterField1=Category&FilterValue1=All</udc:Query>
      </udc:SelectCommand>
    - <udc:UpdateCommand>
      <udc:ServiceUrl UseFormsServiceProxy="false" />
      <udc:SoapAction />
      <udc:Submit />
      <udc:FileName>Specify a filename or formula</udc:FileName>
      <udc:FolderName AllowOverwrite="" />
      </udc:UpdateCommand>
      </udc:ConnectionInfo>
      </udc:DataSource>

     

  • 01-24-2013 11:33 PM In reply to

    Re: udc connection & owssvr.dll

    Have you got any solution for your above mentioned issue? Even i am also facing the same issue.

    Has any one got any suggestion, please do respond.

    Thanks!

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