none
XsltListViewWebPart added by SharePoint-Designer not editable in Browser RRS feed

  • Question

  • Using: SharePoint 2010, SharePoint-Designer 2010

    Since the Service-Pack 2 and CU (August) Updates every added XsltListViewWebPart via SharePoint-Designer on a Blank-Web-Part-Page cannot be edited with the Browser anymore.

    If i want to edit the current view (via Browser), none of the columns are selected.

    And if i want to apply changes, i got following error:

    Are there any known issues between SP-Designer and SP (SP2 + CU-August) ?

    Tuesday, November 19, 2013 10:24 AM

All replies

  • Hi, 

      Can you try to create a new web application and site collection and try to add the webpart and check it out. It would be more helpful if you try to get some more exception details from ULS logs.


    Balaji -Please click mark as answer if my reply solves your problem.

    Tuesday, November 19, 2013 11:05 AM
  • Created new WebApp, new SiteCollection, activated Publishing Feature, created new Blank-Web-Part-Page.
    Then i added a Data-View of a Custom-List via SharePoint-Designer and tried to change some settings via "Edit Web-Part" with the Browser -> Same Error !

    XsltListViewWebPart-Tag added with SP-Designer:

    <WebPartPages:XsltListViewWebPart runat="server" IsIncluded="True" GhostedXslLink="main.xsl" NoDefaultStyle="TRUE" ViewFlag="8" Title="CustomList" PageType="PAGE_NORMALVIEW" ListName="{4FCB4E3B-45F4-4F19-AAE7-41835C5BE8E9}" Default="FALSE" DisplayName="CustomList" __markuptype="vsattributemarkup" __WebPartId="{E400FC41-7018-4263-A031-AEAE8957581E}" partorder="2" id="g_e400fc41_7018_4263_a031_aeae8957581e" viewcontenttypeid="0x" __designer:customxsl="fldtypes_MarketingProductPickerField.xsl;fldtypes_Ratings.xsl">
    <XmlDefinition>
    							<View Name="{CB5F95FF-5453-4F38-9314-A6D530F8B6E1}" MobileView="TRUE" Type="HTML" DisplayName="All Items" Url="/Lists/CustomList/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/images/generic.png">
    								<Query/>
    								<ViewFields>
    									<FieldRef Name="Attachments"/>
    									<FieldRef Name="LinkTitle"/>
    								</ViewFields>
    								<RowLimit Paged="TRUE">30</RowLimit>
    								<Toolbar Type="Standard"/>
    							</View>
    						</XmlDefinition>
    <parameterbindings>
    							<ParameterBinding Name="dvt_sortdir" Location="Postback;Connection"/>
    							<ParameterBinding Name="dvt_sortfield" Location="Postback;Connection"/>
    							<ParameterBinding Name="dvt_startposition" Location="Postback" DefaultValue=""/>
    							<ParameterBinding Name="dvt_firstrow" Location="Postback;Connection"/>
    							<ParameterBinding Name="OpenMenuKeyAccessible" Location="Resource(wss,OpenMenuKeyAccessible)" />
    							<ParameterBinding Name="open_menu" Location="Resource(wss,open_menu)" />
    							<ParameterBinding Name="select_deselect_all" Location="Resource(wss,select_deselect_all)" />
    							<ParameterBinding Name="idPresEnabled" Location="Resource(wss,idPresEnabled)" />
    							<ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
    							<ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(core,noXinviewofY_DEFAULT)" />
    							<ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
    							<ParameterBinding Name="MoreAnnouncements" Location="Resource(wss,moreItemsParen)" />
    						</parameterbindings></WebPartPages:XsltListViewWebPart>

    XsltListViewWebPart-Tag added with Browser:

    <WebPartPages:XsltListViewWebPart runat="server" AllowHide="True" PartImageSmall="" PartOrder="2" Title="CustomList" ManualRefresh="False" ViewGuid="{6487B5FD-7E53-434F-98AC-02D378C71EBA}" HelpMode="Modeless" AllowEdit="True" SuppressWebPartChrome="False" ShowWithSampleData="False" ListId="4fcb4e3b-45f4-4f19-aae7-41835c5be8e9" GhostedXslLink="main.xsl" PageSize="-1" UseSQLDataSourcePaging="True" EnableOriginalValue="False" NoDefaultStyle="" ConnectionID="00000000-0000-0000-0000-000000000000" ExportControlledProperties="False" AutoRefreshInterval="60" ViewContentTypeId="0x" Description="" AllowZoneChange="True" CatalogIconImageUrl="/_layouts/images/itgen.png" ID="g_6487b5fd_7e53_434f_98ac_02d378c71eba" MissingAssembly="Cannot import this Web Part." FrameState="Normal" AllowMinimize="True" Dir="Default" ViewFlag="8388621" AllowConnect="True" ListUrl="" DetailLink="/Lists/CustomList" WebId="00000000-0000-0000-0000-000000000000" PartImageLarge="/_layouts/images/itgen.png" TitleUrl="/Lists/CustomList" ListName="{4FCB4E3B-45F4-4F19-AAE7-41835C5BE8E9}" FrameType="Default" DataSourceID="" IsIncludedFilter="" AllowRemove="True" HelpLink="" IsIncluded="True" IsVisible="True" AsyncRefresh="False" AutoRefresh="False" ListDisplayName="" InitialAsyncDataFetch="False" __MarkupType="vsattributemarkup" __WebPartId="{6487B5FD-7E53-434F-98AC-02D378C71EBA}" __AllowXSLTEditing="true" __designer:CustomXsl="fldtypes_MarketingProductPickerField.xsl;fldtypes_Ratings.xsl" WebPart="true" Height="" Width=""><DataFields>
    </DataFields>
    <ParameterBindings>
    							<ParameterBinding Name="dvt_sortdir" Location="Postback;Connection"/>
    							<ParameterBinding Name="dvt_sortfield" Location="Postback;Connection"/>
    							<ParameterBinding Name="dvt_startposition" Location="Postback" DefaultValue=""/>
    							<ParameterBinding Name="dvt_firstrow" Location="Postback;Connection"/>
    							<ParameterBinding Name="OpenMenuKeyAccessible" Location="Resource(wss,OpenMenuKeyAccessible)" />
    							<ParameterBinding Name="open_menu" Location="Resource(wss,open_menu)" />
    							<ParameterBinding Name="select_deselect_all" Location="Resource(wss,select_deselect_all)" />
    							<ParameterBinding Name="idPresEnabled" Location="Resource(wss,idPresEnabled)" />
    							<ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
    							<ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
    						</ParameterBindings>
    <XmlDefinition>
    							<View Name="{6487B5FD-7E53-434F-98AC-02D378C71EBA}" MobileView="TRUE" Type="HTML" Hidden="TRUE" DisplayName="" Url="/Pages/Test2.aspx" Level="255" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/images/generic.png">
    								<Query>
    									<OrderBy>
    										<FieldRef Name="ID"/>
    									</OrderBy>
    								</Query>
    								<ViewFields>
    									<FieldRef Name="Attachments"/>
    									<FieldRef Name="LinkTitle"/>
    								</ViewFields>
    								<RowLimit Paged="TRUE">30</RowLimit>
    								<Toolbar Type="Freeform"/>
    							</View>
    						</XmlDefinition>
    </WebPartPages:XsltListViewWebPart>
    

    Log:

    • ApplyViewToListWebPartInStore failed with hr 0x80004005 for url http://knlemosstest01:8088/Pages/Test.aspx, web part Id {E400FC41-7018-4263-A031-AEAE8957581E}, list Id {4FCB4E3B-45F4-4F19-AAE7-41835C5BE8E9} 0c68323d-be84-4a20-961b-0f3cf494bf56
    • Cannot complete this action.  Please try again. 0c68323d-be84-4a20-961b-0f3cf494bf56

    Tuesday, November 19, 2013 12:30 PM