Skip Ribbon Commands
Skip to main content



พฤษภาคม 30

Open up the desired site in SharePoint Designer and look in your Master Pages.  Locate your desired master page (mine is v4, like most others).  Many sites say not to alter the master page itself, but to make a copy.  You can do that…..or revert to a previous version if you make a mistake.  Open the file, then click Edit File.

Look for the following element in the code:

<SharePoint:UIVersionedContent UIVersion="4" runat="server" id="PlaceHolderQuickLaunchBottomV4">
<ul class="s4-specialNavLinkList">

Above the bold section, add the following line of code:
<Sharepoint:SPSecurityTrimmedControl runat="server" PermissionsString="ManagePermissions">

Change the blue PermissionsString value to whatever you want.  Multiple permissions can be separated with a comma (no spaces).  Note it should be a permission your target user(s) do not have, and has to come from this list.  Spelling and case-sensitivity is important.  Finally, add the closing tag after the SharePoint:UIVersionedContent closing tag:

Save your changes and test the results.  Those with the correct permissions should be able to see the Recycle Bin and View All Site Content elements in the quick launch area at the bottom, everyone else should not.

Note: This WILL NOT remove View All Site Content from the drop down menu under Site Actions.  To remove View All Site Content from the Site Actions drop down, in the same master page, go up towards the top and look for the following element:
CssClass="ms-siteactionscontainer s4-notdlg">

Start scrolling through the MenuItemTemplate elements underneath this one, and look for the one with the id of “MenuItem_ViewAllSiteContents”.

<SharePoint:MenuItemTemplate runat="server" id="MenuItem_ViewAllSiteContents"
PermissionMode="Any" />

Notice the attribute I highlighted in blue? Change the value to be whatever you set it to in the previous code segment above and save your changes.​

กุมภาพันธ์ 24
"How do I add a column (meta data) to SharePoint folders?"

My first thought is to modify the Content Type named Folder, but it is "sealed". (Microsoft locked the door!) So I created a new Content Type based on Folder, added the custom column, added the content type to the library and magically I found my custom folder type in the New dropdown. Here's the steps:

  1. Go to Site ActionsSite Settings 
  2. Click Site Content Types 
  3. Click Create
  4. Give the new content type a name such as "Enhanced Folder" or "Product Spec Folder"
  5. Set the parent content type group as Folder Content Types
  6. Set the parent content type to Folder
  7. Add the new content type to a Group. I put it back in the "Folder Content Types" group
  8. Click OK
  9. Scroll down to the columns section and click Add from new site column
  10. Name the column and set all the usual column options
  11. Repeat for any additional columns (Release Date, etc)
  12. Click OK
  13. Go to your document library
  14. Click Settings and Library Settings, or in 2010 click the Library ribbon tab and then click Library Settings
  15. Click Advanced and set Allow management of content types to Yes and click OK (this may already selected)
  16. Scroll down to Content Types and click Add from existing site content types and add your new folder content type
  17. Go to your document library and click the New dropdown, or the New button in the 2010 Document ribbon, and add your new folder!
  18. Go to the View dropdown and click Modify this view and add your new folder meta data columns (you will probably want to move them to just after the Name column)​
เมษายน 23
SharePoint 2010 Cross-Site Content Rollup using SharePoint Designer 2010 and a DataView Web Part

To display a list in a site collection from a different site collection:

  1. Open Internet Explorer and browse to your SharePoint list from which you would like to display data from.
  2. In the ribbon, click on Library
  3. Click on Library Settings

  4. In Internet Explorer’s address bar, copy the contents of the url after the List=
  5. Open notepad and paste contents.
    Example:  %7B4C36CA74%2DF413%2D493B%2DA5FA%2D3C3B607FC5D5%7DNext we need to decode contents of the list GUID:Replace the beginning %7B with {
    Example:  {4C36CA74%2DF413%2D493B%2DA5FA%2D3C3B607FC5D5%7DReplace the %7D at end with }
    Example:  4C36CA74%2DF413%2D493B%2DA5FA%2D3C3B607FC5D5Replace all instances of %2D with –
    Example: {4C36CA74-F413-493B-A5FA-3C3B607FC5D5}


    Keep this window open as we will need the list GUID later.

  6. Open SharePoint Designer 2010.
  7. Open the web site where you would like to display the list contents.
  8. In the left-menu, under Site Objects, click on Data Sources.
  9. On the top, click on Data Sources tab, then on SOAP Service Connection.

  10. In the Data Source Properties window:
    1. Click on the login tab.
    2. Under options, select “Save this username and password in the data connection”. Enter appropriate service account and password that has access to the site.
    3. Click on the Source tab.
    4. In the Service description location field, type in: /_vti_bin/lists.asmx
    5. Click on Connect Now button.
    6. Set Port drop-down = ListsSoap.
    7. Set Option drop-down = GetListItems.
    8. Open the notepad file and copy the list guid from step 5.a above.
    9. In the Parameters sub window, double-click on listName.
    10. Paste the copied list GUID into Value field.
    11. Click on the OK button.
    12. Window should look similar to:
  11. Click on the OK button.
  12. In the left-menu, click on Site Pages:
  13. In the right-window, right-click on the page you would like to add the list and select checkout.
  14. Right-click on the file again and select Edit File in Advanced Mode.
  15. Left-click in the page area where you want to add the Data View.
  16. On the top menu, click on Insert then Data View, then under SOAP services, double-click on the connection created above (e.g. Lists on
  17. A Data Form Web Part will appear.

    Also, on the right-side the Data Source Details will appear.
  18. Save and check-in the page.
  19. View the page in the browser.

Note: If you don’t want the page to display the yellow bar shown below you have several options:

  1. Comment out the bar display in the V4.master file. Look for and comment out:
    <div id=”s4-statusbarcontainer” style=”display:none”>
     <div id=”pageStatusBar”>
  2. Alternative method if you don’t want to hide all messages on page:​
มกราคม 02
Change Master Page

Step 1 - Activate the Server Publishing Infrastructure for Site Collections 

  1. From the site, go to Site Actions and select Site Settings
  2. Under Site Collection Administration and chose Site Collection Features
  3. Activate the SharePoint Server Publishing Infrastructure


Step 2 - Activate Server Publishing for the Site

  1. From the site, go to Site Actions and select Site Settings
  2. Under Site Actions chose Manage Site Features
  3. Activate the SharePoint Server Publishing

Step 3 - Change the master page

  1. From the site, go to Site Actions and select Site Settings
  2. Under Look and Feel new options should now be available including Master Page

ธันวาคม 21
Hide "View All Site Content" link for anonymous users in SharePoint 2010

This solution requires you to install Microsoft Office SharePoint Designer.
  1. Go to "Site Actions" ==> "Site Settings"
  2. Under Galleries, click on "Master Pages"
  3. Select v4.master and select "Edit in Microsoft Office SharePoint Designer".
  4. In "Design" view locate "View All Site Content" on the left-hand-site navigation bar and click on it.
  5. Go to "Code" view. You will see the following code highlighted:

<Sharepoint:SPSecurityTrimmedControl runat="server" PermissionsString="ViewFormPages">
<div class="ms-quicklaunchheader">
<SharePoint:SPLinkButton id="idNavLinkViewAll" runat="server" NavigateUrl="~site/_layouts/viewlsts.aspx" Text="<%$Resources:wss,quiklnch_allcontent%>" AccessKey="<%$Resources:wss,quiklnch_allcontent_AK%>"/>

  1. Change the PermissionString attribute value of the Sharepoint:SPSecurityTrimmedControl XML element from ViewFormPages to BrowseDirectories.
  2. Save the default.master. If you login as an anonymous user you will not see the "View All Site Content" link. However when authenticated you will see this option.

พฤศจิกายน 05
SQLServer Conver Datetime Reference
กันยายน 21
Hide Recently Modified Items

Hide Recently Modified Items

Hide Recently Modified Items

In SharePoint 2010 we all are familiar with the following annoying quicklaunch menu:

Follow these steps : 
  1. Go to  "Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\DocumentTemplates" .
  2. Open "wkpstd.aspx" file.
  3. Search for tag "SharePoint:RecentChangesMenu".
  4. Add visible="false"  at the end of this tag.
  5. Save this file & refresh SharePoint site .

กรกฎาคม 12


กรกฎาคม 12
install Linux Integration Services Version 3.1
มิถุนายน 22
สัมมนา IBM Technology and Administrator

อัพเดท IBM Technology

- IBM_VirtualDesktopInfrastructure

- StorwizeV7000 Client v5_pasin

- Sysx12SocketClientPrSrvrOptDetail


IT Administrator จาก Chi-Change


StorwizeV7000 Client v5_pasin.pdfStorwizeV7000 Client v5_pasin.pdf

Sysx12SocketClientPrSrvrOptDetail - 20120619.pdfSysx12SocketClientPrSrvrOptDetail - 20120619.pdf

1 - 10Next

 About this blog

About this blog
Blog คอมพิวเตอร์ มีจุดประสงค์สำหรับจัดเก็บ ถ่ายทอดองค์ความรู้ ตลอดจนการให้ความรู้และวิธีการแก้ไขปัญหาทั้งในส่วนของคอมพิวเตอร์ตลอดจนผู้สนใจทั่วไป