English 中文(简体)
在新窗口中打开超链接列
原标题:sharepoint XsltListViewWebPart open hyperlink column in new window

Hopefully someone can provide a tip because I have a rather urgent issue. I have the following XsltListViewWebPart:

        <WebPartPages:XsltListViewWebPart runat="server" Description="Test" ListDisplayName="" ImportErrorMessage="Error." PartOrder="0" HelpLink="" AllowRemove="True" IsVisible="True" AllowHide="True" UseSQLDataSourcePaging="True" ExportControlledProperties="False" IsIncludedFilter="" DataSourceID="" Title="Title" ViewFlag="8388621" NoDefaultStyle="" AllowConnect="True" FrameState="Normal" CatalogIconImageUrl="/_layouts/images/itdl.png" PageSize="-1" PartImageLarge="/_layouts/images/itdl.png" AsyncRefresh="False" Dir="Default" DetailLink="/Freigegebene Dokumente" ShowWithSampleData="False" ListId="84474224-4a76-471f-8e12-52f3185c4d72" ListName="{84474224-4A76-471F-8E12-52F3185C4D72}" FrameType="Default" PartImageSmall="" IsIncluded="True" SuppressWebPartChrome="False" AllowEdit="True" ViewGuid="{1B1FF0C7-CD99-4AFE-81E1-B1C2B3B08242}" AutoRefresh="False" AutoRefreshInterval="60" AllowMinimize="True" WebId="f9888801-89f4-459b-9fe6-a6780d624ec9" ViewContentTypeId="0x" InitialAsyncDataFetch="False" GhostedXslLink="main.xsl" MissingAssembly="Error." HelpMode="Modeless" ListUrl="" ID="g_205870e9_70f2_4539_bbbf_a71b43f06783" ConnectionID="00000000-0000-0000-0000-000000000000" AllowZoneChange="True" TitleUrl="/TitleUrl" ManualRefresh="False" __MarkupType="vsattributemarkup" __WebPartId="{1B1FF0C7-CD99-4AFE-81E1-B1C2B3B08242}" __AllowXSLTEditing="true" __designer:CustomXsl="fldtypes_Ratings.xsl" WebPart="true" Height="" Width=""><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,noitemsinview_doclibrary)" />
                                        <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noitemsinview_doclibrary_howto2)" />
                                    </ParameterBindings>
      <XmlDefinition>
                                        <View Name="{1B1FF0C7-CD99-4AFE-81E1-B1C2B3B08242}" MobileView="TRUE" Type="HTML" Hidden="TRUE" DisplayName="" Url="/SitePages/Homepage.aspx" Level="255" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/images/dlicon.png">
                                            <Query>
                                                <OrderBy>
                                                    <FieldRef Name="FileLeafRef"/>
                                                </OrderBy>
                                            </Query>
                                            <ViewFields>
                                                <FieldRef Name="DocIcon"/>
                                                <FieldRef Name="LinkFilename"/>
                                                <FieldRef Name="Modified"/>
                                                <FieldRef Name="Editor"/>
                                            </ViewFields>
                                            <RowLimit Paged="TRUE">15</RowLimit>
                                            <Toolbar Type="Freeform"/>
                                        </View>
                                    </XmlDefinition>
      <DataFields>
      </DataFields>
      </WebPartPages:XsltListViewWebPart>

字段“ 编辑器” 指超链接列。 我如何才能修改上面的 XsltListViewWebPart 以使此列在新窗口中打开? 我不需要确切的解决方案, 只需提示我应该做什么, 因为目前我有点不知所措 。

Thank you for your help. Regards,

最佳回答

我找到了问题。 在 SharePoint 设计器 - 设计视图中有一个选项, 为 XsltListViewWebPart 插入整个 XSLT。 问题是, 您需要先在 XsltListViewWebPart 代码中点击, 才能让这个设计选项可见, 并插入 XSLT 选项 。

问题回答

暂无回答




相关问题
SharePoint - Approaching Website Storage Limit Email

How can i go about changing the distribution list as well as the email text for the email that goes out to site collection admin when a site collection approaches it s size limit? Thanks for your ...

UI automated testing within SharePoint

I m looking for automated Functional Testing tools that can manipulate SharePoint sites, libraries, and documents thought the web interface. It needs to be extensible enough to handle any custom ...

Enable authorization on sitemap provider

I want to enable Authorization on the Site map provider. We have enabled anonymous access to the site and we want the Site map provider to be visible only to authorized users. I tried ...

SharePoint : web service permission error

I have a sharepoint site, and I am calling a standard sharepoint web service. I create the web service request like this : wsDws.Url = this.SiteAddress + @"/_vti_bin/Dws.asmx"; When I use ...

Sharepoint 2007 Data view Webpart custom parameters

I m sort of new to the custom parameters that can be setup on a DataView Webpart. There are 6 options: - None - Control - Cookie - Form - QueryString - Server Variable I think that None, Cookie and ...

热门标签