شروع:1397/04/27 05:36 ب.ظ
Picture Placeholder: mostafa rafiei
Picture Placeholder: mostafa rafiei
  • mostafa rafiei

ایجاد درخت فیلتر متادیتا در شیرپوینت

<SharePoint:SPNavigationManager
      id="TreeViewNavigationManagerV4"
      runat="server"
      ContainedControl="TreeView"
      CssClass="ms-tv-box"
     >
      <SharePoint:splinkbutton runat="server" NavigateUrl="~site/_layouts/15/viewlsts.aspx" id="idNavLinkSiteHierarchyV4" Text="<%$Resources:wss,treeview_header%>" accesskey="<%$Resources:wss,quiklnch_allcontent_AK%>"
      CssClass="ms-tv-header" />
       <SharePoint:delegatecontrol runat="server" ControlId="TreeViewAndDataSource">
        <Template_Controls>
        <SharePoint:sphierarchydatasourcecontrol
         runat="server"
         id="TreeViewDataSourceV4"
         RootContextObject="Web"
         IncludeDiscussionFolders="true"
        />
        <SharePoint:sprememberscroll runat="server" id="TreeViewRememberScrollV4" onscroll="javascript:_spRecordScrollPositions(this);"
         style="overflow: auto;">
         <SharePoint:sptreeview
         id="WebTreeViewV4"
         runat="server"
         ShowLines="false"
         DataSourceId="TreeViewDataSourceV4"
         ExpandDepth="0"
         SelectedNodeStyle-CssClass="ms-tv-selected"
         NodeStyle-CssClass="ms-tv-item"
         SkipLinkText=""
         NodeIndent="12"
         ExpandImageUrl="/_layouts/15/images/tvclosed.png?rev=40"
         ExpandImageUrlRtl="/_layouts/15/images/tvclosedrtl.png?rev=40"
         CollapseImageUrl="/_layouts/15/images/tvopen.png?rev=40"
         CollapseImageUrlRtl="/_layouts/15/images/tvopenrtl.png?rev=40"
         NoExpandImageUrl="/_layouts/15/images/tvblank.gif?rev=40"
         >
         </SharePoint:SPTreeView>
        </SharePoint:SPRememberScroll>
        </Template_Controls>
       </SharePoint:DelegateControl>
     </SharePoint:SPNavigationManager>

این کد به داخل تک <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">

در  فایل نما  یا صفحات aspx شیرپوینت اسنتفاده کنید .

 

 

Picture Placeholder: mostafa rafiei
  • mostafa rafiei
/_layouts/15/images/person.gif" alt="Picture Placeholder: mostafa rafiei" />
mostafa rafiei

<SharePoint:SPNavigationManager
      id="TreeViewNavigationManagerV4"
      runat="server"
      ContainedControl="TreeView"
      CssClass="ms-tv-box"
     >
      <SharePoint:splinkbutton runat="server" NavigateUrl="~site/_layouts/15/viewlsts.aspx" id="idNavLinkSiteHierarchyV4" Text="<%$Resources:wss,treeview_header%>" accesskey="<%$Resources:wss,quiklnch_allcontent_AK%>"
      CssClass="ms-tv-header" />
       <SharePoint:delegatecontrol runat="server" ControlId="TreeViewAndDataSource">
        <Template_Controls>
        <SharePoint:sphierarchydatasourcecontrol
         runat="server"
         id="TreeViewDataSourceV4"
         RootContextObject="Web"
         IncludeDiscussionFolders="true"
        />
        <SharePoint:sprememberscroll runat="server" id="TreeViewRememberScrollV4" onscroll="javascript:_spRecordScrollPositions(this);"
         style="overflow: auto;">
         <SharePoint:sptreeview
         id="WebTreeViewV4"
         runat="server"
         ShowLines="false"
         DataSourceId="TreeViewDataSourceV4"
         ExpandDepth="0"
         SelectedNodeStyle-CssClass="ms-tv-selected"
         NodeStyle-CssClass="ms-tv-item"
         SkipLinkText=""
         NodeIndent="12"
         ExpandImageUrl="/_layouts/15/images/tvclosed.png?rev=40"
         ExpandImageUrlRtl="/_layouts/15/images/tvclosedrtl.png?rev=40"
         CollapseImageUrl="/_layouts/15/images/tvopen.png?rev=40"
         CollapseImageUrlRtl="/_layouts/15/images/tvopenrtl.png?rev=40"
         NoExpandImageUrl="/_layouts/15/images/tvblank.gif?rev=40"
         >
         </SharePoint:SPTreeView>
        </SharePoint:SPRememberScroll>
        </Template_Controls>
       </SharePoint:DelegateControl>
     </SharePoint:SPNavigationManager>

این کد به داخل تک <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">

در  فایل نما  یا صفحات aspx شیرپوینت اسنتفاده کنید .

 

 

01397/04/27 05:36 ب.ظ1397/04/27 05:36 ب.ظخیرAdministration
0
1393/10/23 07:08 ب.ظ
گفتمانی برای نمایش وجود ندارد