ListData.svc REST issue in Sharepoint 2010 -


im having big problem in sharepoint 2010. im thinking bug in product.

i need search 2 form libraries, 1 in site in english, , other in site in portuguese, listdata.svc rest service.

the problem lies when try filter form library contenttype. in english library, goes well, in portuguese one, contenttype spelled "tipodeconteúdo", think breaking because of special char.

here urls

english: http://pc55861/_vti_bin/listdata.svc/consultas?$filter=contenttype eq 'consultajuridico' portuguese: http://pc55861:81/_vti_bin/listdata.svc/consultas?$filter=tipodeconteúdo eq 'consultajuridico'

i tried use "contenttype" instead of "tipodeconteúdo", no avail.

anyone have ideas?

i hope you've found answer now, since question doesn't have answer, here goes:

when query non-english site rest service need provide display names of lists , fields, this:

var url = "/_vti_bin/listdata.svc/páginas?$filter=" + encodeuricomponent('tipodeconteúdo') + " eq 'news article'" 

in querystring portion of url (filter, sort, etc) need urlencode special charecters in example above.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -