Today I ran into a pesky little issue when trying to query
documents from sharepoint. In a previous example
I talked about how to query documents from sharepoint, but what I did not know
at the time is that if you have a field name that has a whitespace, you have to
do some extra work.
If you have a field named ‘FooField’ all is good, however if
you have a field named ‘Foo Field’ (notice the whitespace) you will get the
following exception.
{System.Web.Services.Protocols.SoapException: Server was unable to process
request. ---> One or more field types are not installed properly. Go to the
list settings page to delete these fields. ---> One or more field types are
not installed properly. Go to the list settings page to delete these fields.
To resolve this issue replace the whitespace with _x0020_ so the new field name would be ‘Foo_x0020_Field’.
Hope this helps someone.
Till next time
Thanks to Tangible Thoughts for showing me the solution to
this – post found here.
Posted
08-07-2007 9:25 AM
by
Derik Whittaker