Microsoft KB Archive/929263: Difference between revisions
(importing KB archive) |
m (Text replacement - "<" to "<") |
||
Line 47: | Line 47: | ||
To create a read-only view for a list in Windows SharePoint Services 2.0, set the '''ReadOnly''' property to true in the Schema.xml file for the list definition. For example, set the '''ReadOnly''' property as in the following example. | To create a read-only view for a list in Windows SharePoint Services 2.0, set the '''ReadOnly''' property to true in the Schema.xml file for the list definition. For example, set the '''ReadOnly''' property as in the following example. | ||
<pre class="codesample"> | <pre class="codesample"><View BaseViewID="100" Type="HTML" WebPartZoneID="Main" DisplayName="display name" ReadOnly="TRUE"</pre> | ||
'''Note''' You cannot modify the read-only property of a view by using either the '''SPView''' object model or the Views Web service. The '''ReadOnlyView''' property of the '''SPView''' class is a read-only property. You can change the title property by using the '''UpdateView''' method of the Views Web service. However, you cannot change the title property by using the '''ReadOnlyView''' property of the '''SPView''' class. | '''Note''' You cannot modify the read-only property of a view by using either the '''SPView''' object model or the Views Web service. The '''ReadOnlyView''' property of the '''SPView''' class is a read-only property. You can change the title property by using the '''UpdateView''' method of the Views Web service. However, you cannot change the title property by using the '''ReadOnlyView''' property of the '''SPView''' class. | ||
Latest revision as of 09:32, 21 July 2020
Article ID: 929263
Article Last Modified on 12/22/2006
APPLIES TO
- Microsoft Windows SharePoint Services
INTRODUCTION
This article describes how to create read-only views in Microsoft Windows SharePoint Services 2.0.
MORE INFORMATION
To create a read-only view for a list in Windows SharePoint Services 2.0, set the ReadOnly property to true in the Schema.xml file for the list definition. For example, set the ReadOnly property as in the following example.
<View BaseViewID="100" Type="HTML" WebPartZoneID="Main" DisplayName="display name" ReadOnly="TRUE"
Note You cannot modify the read-only property of a view by using either the SPView object model or the Views Web service. The ReadOnlyView property of the SPView class is a read-only property. You can change the title property by using the UpdateView method of the Views Web service. However, you cannot change the title property by using the ReadOnlyView property of the SPView class.
Additional query words: WSS
Keywords: kbexpertiseinter kbhowto KB929263