Menu
Cutty
  • Chryslers
  • Lutherie
  • YLSNED
  • About
Cutty

Tag: SharePoint

Getting List Items from SharePoint list

Posted on October 26, 2010February 18, 2015 by Iain 'Cutty' Carlin

Today I am trying to populate an ASP.Net drop down list from the contents of a SharePoint list using the Lists web service.

I found this Microsoft page that was most useful in helping me to do that: http://msdn.microsoft.com/en-us/library/lists.lists.getlistitems.aspx

A couple of issues I struck that are mentioned in the article:

  • I was getting a SOAP error saying “Guid should contain 32 digits with 4 dashes”. As mentioned in the above article this is due to Visual Studio putting a web reference in Web.config to the top level site rather than the sub-site in which the list exists.
  • Once the above was fixed, I got a second error: “InvalidOperationException: Client found response content type of ‘text/html; charset=utf-8’, but expected ‘text/xml’”.
…
+

SharePoint filters evaluate criteria in order

Posted on September 23, 2010February 19, 2015 by Iain 'Cutty' Carlin

Users requested that I filter a list of announcements so that the logic would work like:

(Show All Users Notices OR Staff Notices) AND (Posted before today AND expire after today).

The default filtering doesn’t let you put the brackets into the filter query. Turns out that SharePoint runs the query in order and ‘virtually’ puts brackets around things.

So my eventual logic was(((Show all Users Notices Or Staff Notices) AND StartDate before Today) AND Expires After Today).…

+

InfoPath – “Schema validation found non-datatype errors.”

Posted on September 9, 2010February 19, 2015 by Iain 'Cutty' Carlin

I have a multi-view form that loads different views depending on the status and user. I can’t test it using preview unless some data is loaded.

I have to upload the new form and try it out on live data. I made a change, uploaded then got the error: “Schema validation found non-datatype errors.”

In mucking about with my form, I changed the order of some fields in the Submit data source. InfoPath doesn’t like this and gives you the cryptic message above.…

+
  • Previous
  • 1
  • 2
  • 3

Recent Posts

  • Instrument Making Course
  • Jigging, plating and sanding
  • A building block….
  • Fridays are lutherie days!
  • Music is your art…

Categories

  • Chryslers (1)
  • Cutty's Blog (7)
  • Lutherie (38)
  • You Learn Something New Every Day (39)
©2022 Cutty | Powered by WordPress & Superb Themes