SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I update the View title of a SharePoint 2007 list using the views.asmx web service? According to MSDN the Views.UpdateView web method takes a parameter viewProperties =

An XML fragment that contains all the view-level properties as attributes, such as Editor, Hidden, ReadOnly, and Title.

But what is the structure of this XML fragment? I tried supplying <ViewProperties Title='MyCustomView' /> but always get an SOAP exception indicating that the viewProperties has invalid value.

share|improve this question

The structure of the XML fragment isn't really documented but there's some clue to it in SPView.PropertiesXml:

<View Name="{7591FC7D-8304-42C7-9456-09F4241AC6F8}" 
    Type="HTML" DisplayName="View_Name" 
    BaseViewID="1" />

Try using PowerShell to interrogate an existing view and find out what its PropertiesXml value is.

If you still don't have any luck and have to use web services then you will just need to recreate the view. This is a common problem when using the SharePoint SOAP web services - they are lacking in functionality.

share|improve this answer

I was successful changing view Properties with the follow xml syntax

try < viewProperties>< View Title="MyCustomView" />< /viewProperties>

or in Sharepoint 2010 the title is the displayname

< viewProperties>< View DisplayName=""MyCustomView"" />< /viewProperties>"

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.