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

SharePoint 2010 is limits the selection control for a list/library's view in a webpart to the first 50 available. I need to select view # 5x... What part of the code below can I edit to make the webpart diplay the view I want?

WebPartPages:XsltListViewWebPart runat="server" Description=""
ListDisplayName="" PartOrder="2" HelpLink="" AllowRemove="False"
IsVisible="True" AllowHide="True" UseSQLDataSourcePaging="True"
ExportControlledProperties="False" IsIncludedFilter="" DataSourceID=""
Title="Related Courses" ViewFlag="8388745" NoDefaultStyle=""
AllowConnect="True" FrameState="Normal"
CatalogIconImageUrl="/_layouts/images/itdl.gif" PageSize="-1"
PartImageLarge="/_layouts/images/itdl.gif" AsyncRefresh="False"
Dir="Default" DetailLink="/CSMD/marketingcommunity/Marketing Course Library"
ShowWithSampleData="False" ListId="48f49a86-c61c-413b-86a5-5786560cec68"
AllowClose="False" ListName="{48F49A86-C61C-413B-86A5-5786560CEC68}"
FrameType="TitleBarOnly" PartImageSmall="" IsIncluded="True"
SuppressWebPartChrome="False" AllowEdit="False"
ViewGuid="{E788A8D4-D7B8-428F-B702-8A138ED14881}" ChromeType="TitleOnly"
AutoRefresh="False" AutoRefreshInterval="60" AllowMinimize="False"
WebId="00000000-0000-0000-0000-000000000000" ViewContentTypeId="0x"
InitialAsyncDataFetch="False" GhostedXslLink="main.xsl"
MissingAssembly="Cannot import this Web Part." HelpMode="Modeless"
ListUrl="" ID="g_e788a8d4_d7b8_428f_b702_8a138ed14881"
ConnectionID="00000000-0000-0000-0000-000000000000" AllowZoneChange="True"
TitleUrl="/CSMD/marketingcommunity/Marketing Course Library"
ManualRefresh="False" __MarkupType="vsattributemarkup"
__AllowXSLTEditing="true" WebPart="true" Height="" Width=""
share|improve this question
Zork - Thanks for the clean-up! I hadn't realized that was a formatting option :-) – Pete Sep 17 '12 at 18:35

I'd say this chunk:


share|improve this answer
I'll give this a shot as soon as I return to the project. Thanks, Abe! – Pete Sep 17 '12 at 18:36

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.