Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: AddView

$
0
0
Here is the result from the GetViewHtml operation without the Type attribute set
<GetViewHtmlResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/">
    <GetViewHtmlResult>
        <View Name="{1FBCBABD-6A12-48FD-836B-2E7DFD69388E}" Type="HTML" DisplayName="010103" Url="/REMOVED BY ME/Forms/0101031.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/images/dlicon.png">
            <ViewFields>
                <FieldRef Name="Title"/>
                <FieldRef Name="RegID"/>
            </ViewFields>
            <Query>
                <Where>
                    <Eq>
                        <FieldRef Name="RegID"/>
                        <Value>010103</Value>
                    </Eq>
                </Where>
            </Query>
            <RowLimit Paged="TRUE">100</RowLimit>
            <XslLink Default="TRUE">main.xsl</XslLink>
            <Toolbar Type="Standard"/>
            <ParameterBindings>
                <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noitemsinview_doclibrary)"/>
                <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noitemsinview_doclibrary_howto2)"/>
            </ParameterBindings>
        </View>
    </GetViewHtmlResult>
</GetViewHtmlResponse>
After opening the view for Edit and clicking the OK button, the result becomes...
<GetViewHtmlResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/">
    <GetViewHtmlResult>
        <View Name="{1FBCBABD-6A12-48FD-836B-2E7DFD69388E}" Type="HTML" DisplayName="010103" Url="/REMOVED BY ME/Forms/0101031.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/images/dlicon.png">
            <ViewFields>
                <FieldRef Name="Title"/>
                <FieldRef Name="RegID"/>
            </ViewFields>
            <Query>
                <Where>
                    <Eq>
                        <FieldRef Name="RegID"/>
                        <Value Type="Text">010103</Value>
                    </Eq>
                </Where>
            </Query>
            <Aggregations Value="Off"/>
            <RowLimit Paged="TRUE">100</RowLimit>
            <Mobile MobileItemLimit="3" MobileSimpleViewField="Title"/>
            <XslLink Default="TRUE">main.xsl</XslLink>
            <Toolbar Type="Standard"/>
            <ParameterBindings>
                <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noitemsinview_doclibrary)"/>
                <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noitemsinview_doclibrary_howto2)"/>
            </ParameterBindings>
        </View>
    </GetViewHtmlResult>
</GetViewHtmlResponse>
Which is identical to the result of the GetViewHTML operation with the added Type attribute to the AddView operation.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>