Filter on more than 1 value - owssvr - filterowssvr ? - InfoPath Dev Sign in | Join | Help in Data Connections InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Data Connections » Filter on more than 1 value - owssvr - filterowssvr ? Filter on more than 1 value - owssvr - filterowssvr ? Last post 01-10-2012 06:03 AM by Jimmy. 3 replies. Page 1 of 1 (4 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 01-10-2012 05:31 AM djasp Joined on 10-01-2011 NL Posts 12 Filter on more than 1 value - owssvr - filterowssvr ? Reply Contact Hello,Is it possible to filter om more than 1 value if you have a xml dataconnection like this:http://server/_vti_bin/owssvr.dll?Cmd=Display&List={GUID}&XMLDATA=TRUE?I want to filter my sharepoint list down to only the rows where the ID is a certain value to speed up my form. I know the ID's to filter on and sometimes it's 1 id (that works) but most of the time it's more than 1 (2 or 3 of more)i've tried:1.https://server/_vti_bin/owssvr.dll?Cmd=Display&List={GUID}&XMLDATA=TRUE&FilterField1=ID&FilterValue1=71,3302.https://server/_vti_bin/owssvr.dll?Cmd=Display&List={GUID}&XMLDATA=TRUE&FilterField1=ID&FilterValue1=71&3303.using a rule with filterowssvr doesn't do the trick also (it only works with 1 value)but that does not workIs there another way to do it? Another question i have is if you can filter on a range. For example only the rows which are created between Date1 and Date2. Thank you very much. 01-10-2012 05:41 AM In reply to Jimmy Joined on 07-03-2008 Posts 2,595 Re: Filter on more than 1 value - owssvr - filterowssvr ? Mark as Not AnswerMark as Answer... Reply Contact It doesn't appear that there is a way to do this. You wouldn't happen to be using ShP 2010 are you? If so, you could use its OData features to construct a more complex query. Jimmy Rishe / Software Developer / Microsoft MVPQdabra Software 01-10-2012 05:54 AM In reply to djasp Joined on 10-01-2011 NL Posts 12 Re: Filter on more than 1 value - owssvr - filterowssvr ? Mark as Not AnswerMark as Answer... Reply Contact Hi,Yes we have SP2010. Does that also work for people using infopath 2007 or newer?I guess i have to learn how to use the OData stuff. 01-10-2012 06:03 AM In reply to Jimmy Joined on 07-03-2008 Posts 2,595 Re: Filter on more than 1 value - owssvr - filterowssvr ? Mark as Not AnswerMark as Answer... Reply Contact OData utilizes a REST webservice like owssvr, so in IP2007, you'll either need code or you can use qRules as I describe in this blog post: http://www.infopathdev.com/blogs/jimmy/archive/2012/01/04/query-rest-webservices-from-infopath-2007-with-qrules.aspx You can have a look at Hilary Stoupa's Channel9 video to get up to speed on OData: http://channel9.msdn.com/Blogs/donovanf/Infopath-2010-OData-and-Cascading-Filtering-in-Forms Jimmy Rishe / Software Developer / Microsoft MVPQdabra Software Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Hello,Is it possible to filter om more than 1 value if you have a xml dataconnection like this:http://server/_vti_bin/owssvr.dll?Cmd=Display&List={GUID}&XMLDATA=TRUE?I want to filter my sharepoint list down to only the rows where the ID is a certain value to speed up my form. I know the ID's to filter on and sometimes it's 1 id (that works) but most of the time it's more than 1 (2 or 3 of more)i've tried:1.https://server/_vti_bin/owssvr.dll?Cmd=Display&List={GUID}&XMLDATA=TRUE&FilterField1=ID&FilterValue1=71,3302.https://server/_vti_bin/owssvr.dll?Cmd=Display&List={GUID}&XMLDATA=TRUE&FilterField1=ID&FilterValue1=71&3303.using a rule with filterowssvr doesn't do the trick also (it only works with 1 value)but that does not workIs there another way to do it?
Another question i have is if you can filter on a range. For example only the rows which are created between Date1 and Date2.
Thank you very much.
It doesn't appear that there is a way to do this. You wouldn't happen to be using ShP 2010 are you? If so, you could use its OData features to construct a more complex query.
Hi,Yes we have SP2010. Does that also work for people using infopath 2007 or newer?I guess i have to learn how to use the OData stuff.
OData utilizes a REST webservice like owssvr, so in IP2007, you'll either need code or you can use qRules as I describe in this blog post:
http://www.infopathdev.com/blogs/jimmy/archive/2012/01/04/query-rest-webservices-from-infopath-2007-with-qrules.aspx
You can have a look at Hilary Stoupa's Channel9 video to get up to speed on OData:
http://channel9.msdn.com/Blogs/donovanf/Infopath-2010-OData-and-Cascading-Filtering-in-Forms