NewViewPage Method
Adds a view page to a SharePoint Web site. A view page controls the display of items in a SharePoint list.
Syntax
<Method ID="Text">
<SetList Scope="Request">GUID</SetList>
<SetVar Name="Cmd">NewViewPage</SetVar>
<SetVar Name="PageUrl">List/Folder_Name/View_Page.aspx</SetVar>
<SetVar Name="DisplayName">View_Title</SetVar>
<SetVar Name="HiddenView">[TRUE|FALSE]</SetVar>
</Method>
Parameters
ID = "Text"
Scope = "Request"
Name = "Cmd"
Name = "PageURL"
Name = "DisplayName"
Name = "HiddenView"
Decoded
<Method ID="0,NewViewPage">
<SetList Scope="Request">GUID</SetList>
<SetVar Name="Cmd">NewViewPage</SetVar>
<SetVar Name="PageUrl">Lists/Announcements/View_Page.aspx</SetVar>
<SetVar Name="DisplayName">View_Title</SetVar>
<SetVar Name="HiddenView">FALSE</SetVar>
</Method>
Return Value
Success
Returns the code attribute, which is a signed-decimal representation of an HRESULT.
Error
Returns an XML-encoded Unicode (UTF-8) text string. See Error Message Format for Windows SharePoint Services for more information.