SPListItem 의 Update 속성은 아래 4가지가 있다.

SystemUpdate() 수정자와 수정일자를 업데이트 하지않는고, 신규 버전을 생성 하지 않는다.
SystemUpdate(Boolean) 수정자와 수정일자를 업데이트 하지않고, Boolean이 "true"일 경우 신규 버전을 생성 "false"일 경우 신규 버전을 생성하지 않는다.
Update() 수정자와 수정일자가 업데이트 되고 신규 버전이 생성 된다.
UpdateOverwriteVersion() 수정자와 수정일자가 업데이트 되고 신규 버전은 생성되지 않는다.

 

Event Receiver의 ItemUpdated 메소드에서 SPListItem 을 업데이트 하는 경우 아래의 오류가 발생 되는 경우가 있다.

 

파일이 ******의 공유 사용을 위해 잠겼습니다. Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)

 

이는 owa 또는 다른곳에서 해당 문서를 사용하는 경우 발생 되며, 이때는 SystemUpdate() 또는 SystemUpdate(false)를 사용하면 해결 된다.

 

 

 

 

 

 

 

 

 

 

 

Posted by 홍상길 홍상길

Microsoft.Office.Server.UserProfiles.LMTRepopulationJob Exception 발생 시

AppFabricCachingService에서 발생 되는 문제로 해당 서비스를 초기화 해주자!

 

Sharepoint Management Shell 에서 아래 명령 실행.

 

Restart-Service AppFabricCachingService
Posted by 홍상길 홍상길

1. Show Off Your Style with SharePoint Theming

Theming in SharePoint 2013 makes it easier to drastically change the look of your site and make it your own. That said, the new look of SharePoint sites is great, so why would you want to change it?

http://sharepoint.microsoft.com/blog/Pages/BlogPost.aspx?pID=1043

2. Certain Microsoft SharePoint Server 2013 installation scenarios are not supported

This article describes Microsoft SharePoint Server 2013 installation scenarios that are not supported.

http://support.microsoft.com/kb/2764086

3. Global Solutions for SharePoint 2013

This model provides architectural guidance for geographically distributed deployments of SharePoint 2013.

http://www.microsoft.com/en-us/download/details.aspx?id=34975

4. Backup and restore: SharePoint Server 2013

This model illustrates various ways that you can back up and restore a SharePoint environment.

http://www.microsoft.com/en-us/download/details.aspx?id=30365

5. Databases that support SharePoint 2013 Preview

This model illustrates the databases that that support SharePoint 2013 Preview.

http://www.microsoft.com/en-us/download/details.aspx?id=30363

6. Design Sample: Corporate Portal with Host-named Sites for SharePoint Server 2013

This design sample illustrates the use of host-named site collections with all sites deployed in a single web application on the farm. This method is highly scalable and is flexible in managing URLs.

http://www.microsoft.com/en-us/download/details.aspx?id=30362

7. Design Sample: Corporate Portal with Path-based Sites for SharePoint Server 2013

This design sample illustrates the use of path-based site collections with sites organized into dedicated web applications and a single top-level site collection per web application.

http://www.microsoft.com/en-us/download/details.aspx?id=30378

8. Design Sample: Extranet with Dedicated Zones for Authentication for SharePoint 2013

This design sample illustrates many top-level project sites with vanity URLs by using host-named sites for each project site (instead of organizing project sites underneath a top-level site collection).

http://www.microsoft.com/en-us/download/details.aspx?id=30368

9. Downloadable eBook: Deployment guide for SharePoint 2013

Download this free ebook to learn how to install and configure SharePoint Server and SharePoint Foundation.

http://www.microsoft.com/en-us/download/details.aspx?id=30384

10. Downloadable eBook: Explore SharePoint 2013

Download this free eBook to learn more about what's new in SharePoint 2013.

http://www.microsoft.com/en-us/download/details.aspx?id=30368

11. Enterprise search architectures for SharePoint Server 2013

This design sample shows the search architecture for a variety of sizes of server farms.

http://www.microsoft.com/en-us/download/details.aspx?id=30383

12. Incoming email planning worksheet

This worksheet helps you record information to help you plan for incoming email in a SharePoint deployment.

http://www.microsoft.com/en-us/download/details.aspx?id=34805

13. Microsoft SharePoint Products and Technologies Protocol Documentation

The Microsoft SharePoint Products and Technologies protocol documentation provides technical specifications for Microsoft proprietary protocols that are implemented and used in SharePoint Products and Technologies.

http://www.microsoft.com/en-us/download/details.aspx?id=25255

14. Multi-farm architectures with SharePoint Server 2013

This model provides architectural guidance for multi-farm deployments of SharePoint Server 2013.

http://www.microsoft.com/en-us/download/details.aspx?id=34973

15. Search architectures for SharePoint Server 2013

This design sample shows the search architecture for a medium size server farm.

http://www.microsoft.com/en-us/download/details.aspx?id=30374

16. Services in SharePoint Server 2013

This illustration provides information about services that are available in SharePoint Server 2013.

http://www.microsoft.com/en-us/download/details.aspx?id=30402

17. SharePoint 2013 Upgrade Process

This model explains the process that you use when you upgrade from SharePoint Foundation 2010 or SharePoint Server 2010 to SharePoint Foundation 2013 or SharePoint Server 2013.

http://www.microsoft.com/en-us/download/details.aspx?id=30371

18. SharePoint 2013: App Overview for IT Pro

The app model in SharePoint 2013 enables SharePoint environments to add functionality quickly and securely.

http://www.microsoft.com/en-us/download/details.aspx?id=30373

19. SharePoint 2013: How to Test Upgrade

This model explains how to create a test environment to use when you upgrade from SharePoint Server 2010 or SharePoint Foundation 2010 to SharePoint 2013 Products

http://www.microsoft.com/en-us/download/details.aspx?id=30366

20. Test Lab Guide: Configure SharePoint Server 2010 in a Three-Tier Farm

This paper contains step-by-step instructions for creating a test lab containing a three-tier SharePoint farm.

http://www.microsoft.com/en-us/download/details.aspx?id=29420

21.Topologies for SharePoint 2013

The versatility of SharePoint 2013 provides opportunities to develop a topology that satisfies your business goals.

http://www.microsoft.com/en-us/download/details.aspx?id=30377

22.User profile properties and profile synchronization planning worksheets for SharePoint Server 2013

The following planning worksheets can assist you when planning user profiles or planning and configuring profile synchronization.

http://www.microsoft.com/en-us/download/details.aspx?id=35404

23.White Paper: Office 2013--Access Services Setup for an On-Premises Installation

This white paper provides instructions that will help you configure SQL Server 2012 for Access Services in SharePoint Server 2013. It includes instructions for an on-premises installation and configuration of Access Services on a server that is running SharePoint Server 2013.

http://www.microsoft.com/en-us/download/details.aspx?id=30445 

 

 

출처 : http://msmvps.com/blogs/sundar_narasiman/default.aspx

 

Posted by 홍상길 홍상길

Behind Code에서 Master Page의 Title 변경 하는 방법에 대해 알아 보겠습니다.

 

// Master Page에 등록되어있는 PlaceHolder 명과 설정할 Title 값을 매개변수로 입력 합니다. 

         private void SetTitle(string placeHolderName, string title)
        {
            try
            {

// 현재 페이지의 MasterPage의 PlaceHolder을 가져옵니다. 

                ContentPlaceHolder contentPlaceHolder = (ContentPlaceHolder)Page.Master.FindControl(placeHolderName);
                contentPlaceHolder.Controls.Clear();
                LiteralControl literalControl = new LiteralControl();
                literalControl.Text = title;

// Title을 등록 한 후 가져온 PlaceHolder Control에 입력 합니다. 

                contentPlaceHolder.Controls.Add(literalControl);
            }
            catch {
            }
        }

 

함수 호출은 아래와 같이!!

SetTitle("PlaceHolderPageTitle", "타이틀수정!");
Posted by 홍상길 홍상길

출처 : http://social.technet.microsoft.com/Forums/ko-KR/sharepointportalserverko/thread/12c26c48-cee3-4cd8-865b-ece9bfbf81c1

 

제 경우는 IIS POOL 중에 SecurityTokenServiceApplicationPool이 중지 되어 있어서 오류가 발생 했네요.

다시 시작 했더니 해결 되었습니다.

 

아래 해결 방안 참고하세요!

 

[해결 방안]
Step1> You can try to re-run SharePoint 2010 products configuration wizard to see any problems that still exist.
Step2> Go to IIS and see the status of SecurityTokenServiceApplicationPool service, whether it is stopped or not, restart the pool.
Step3> Go to manage web application services, review the status of Security Token Service application , try to restart.
Step4> In Central Administration>Security>Configure Service Account>Change the service account for the Security Token Service application to some other managed account.
Step5> If the issue persists, try the resolution in this blog: http://blogs.msdn.com/b/sowmyancs/archive/2010/07/16/sharepoint-2010-service-applications-bcs-metadata-access-service-are-not-working.aspx

Posted by 홍상길 홍상길

C# Web Project를 이용해 SP 서버의 사이트, 목록등에 대한 구조를 가져오는 방법입니다.

 

※ 주의 : Debug 시 x64 로 설정 하셔야 합니다.

 

[using]

using Microsoft.SharePoint;
using Microsoft.SharePoint.Administration;

 

[code]

             // Site 가져오기
            SPSite root = new SPSite("http://moros/"); // SP 사이트 명 입력

 

            SPSiteCollection siteCol = root.WebApplication.Sites;

 

            // SiteCollection 루프
            foreach (SPSite site in siteCol)
            {
                // Site URL 출력
                Response.Write(site.Url.ToString()+"<br>");
                // Web 루프
                foreach (SPWeb web in site.AllWebs)
                {
                    // Web Title 출력
                    Response.Write(web.Title + "<br>");
                    // List 루프
                    foreach (SPList list in web.Lists)
                    {
                        // List Title 출력
                        Response.Write(list.Title + "<br>");
                        // ListItem 루프
                        foreach (SPListItem item in list.Items)
                        {
                            // ListItem Title 출력
                            Response.Write(item.Title + "<br>");
                        }
                    }
                }
            }

Posted by 홍상길 홍상길

C# Console Project를 이용해 SP 서버의 사이트, 목록등에 대한 구조를 가져오는 방법입니다.

 

※ 주의 : Debug 시 x64 로 설정 하셔야 합니다.

 

[using]

using Microsoft.SharePoint;
using Microsoft.SharePoint.Administration;

 

[code]

            // SP 로컬 서버 호출
            SPFarm farm = SPFarm.Local;
            // SP WebService 호출
            SPWebService service = farm.Services.GetValue<SPWebService>("");
            
            // WebApplication 루프
            foreach (SPWebApplication webapp in service.WebApplications)
            {
                // WebApplication 이름 출력
                Console.WriteLine(webapp.Name);
                // SPSite 루프
                foreach (SPSite site in webapp.Sites)
                {
                    // SPSite URL 출력
                    Console.WriteLine(site.Url);
                    // SPWeb 루프
                    foreach (SPWeb web in site.AllWebs)
                    {
                        // SPWeb Title 출력
                        Console.WriteLine(web.Title);
                        // SPList 루프
                        foreach (SPList list in web.Lists)
                        {
                            // SPList Title 출력
                            Console.WriteLine(list.Title);
                            // SPListItem 루프
                            foreach (SPListItem Item in list.Items)
                            {
                                // SPListItem Title 출력
                                Console.WriteLine(Item.Title);
                            }
                        }
                    }
                }
            }

 

 

Posted by 홍상길 홍상길

Sharepoint 2013 Designer Tool은 Sharepoint 개발 툴인 Visual Studio 2012를 통하지 않고도 쉽게 사이트를 개발, 수정 할 수 있도록 도와 주는 툴 입니다.

 

 

아래 링크를 통해 다운로드 할 수 있습니다.

 

[Sharepoint 2013 Designer 다운로드]

 

 

 

 

 

Posted by 홍상길 홍상길

Sharepoint 개발 환경이 구성되어 있는 Hyper-V 용 가상 머신(VHD)을 다운로드 받을 수 있다.

가상 머신은 180동안 사용이 가능 하며, 아래와 같이 2가지 Type으로 구성되어 있다.

 

 

Virtual machine “a” contains the following pre-configured software:

  1. Windows Server 2008 R2 SP1 Standard Evaluation Edition, running as an Active Directory Domain Controller for the “CONTOSO.COM” domain with DNS and WINS
  2. Microsoft SQL Server 2008 R2 Enterprise Edition with Analysis, Notification, and Reporting Services
  3. Microsoft Visual Studio 2010
  4. Microsoft SharePoint Server 2010 SP1 Enterprise Edition
  5. Microsoft Office Web Applications SP1
  6. Microsoft FAST Search for SharePoint 2010 SP1
  7. Microsoft Project Server 2010 SP1
  8. Microsoft Office Professional Plus 2010 SP1
  9. Microsoft Visio 2010 SP1
  10. Microsoft Project 2010 SP1
  11. Microsoft Lync 2010



Virtual machine “b” contains the following pre-configured software:

  1. Windows Server 2008 R2 SP1 Standard Evaluation Edition, joined to the “CONTOSO.COM” domain
  2. Microsoft Exchange Server 2010 SP1

 

링크 : http://www.microsoft.com/en-us/download/details.aspx?id=27417

 

 

Posted by 홍상길 홍상길

기본 검색 웹 파트에 설정되어 있는 결과 페이지를 수정 하는 방법입니다.

간편하게 수정 하는 방법은 SharePoint 페이지에서 검색 웹 파트를 추가 하신 후에 페이지를 저장하시고,

SharePoint Designer를 통해서 편집 하시면 됩니다.

추가 되어진 웹 파트에서 두 가지 설정을 추가 해주시면 됩니다.

먼저 UserSiteDefaults 값을 false로 바꿔주시고,

SearchResultPageURL="{결과 페이지}"를 추가 해주신 다음 페이지 체크 아웃을 하시면 됩니다.

 

샘플 코드는 아래 참고하세요!

<MSSWC:SearchBoxEx id="SearchBox"

RegisterStyles="false"

TextBeforeDropDown=""

TextBoxWidth="120"

GoImageUrl="/_layouts/images/publishing/menu_search_btn.gif"

GoImageUrlRTL="/_layouts/images/zim/publishing/menu_search_btn.gif"

UseSiteDefaults="false"

DropDownMode = "HideScopeDD"

SuppressWebPartChrome="true"

runat="server"

WebPart="true"

GoImageActiveUrl="/_layouts/images/publishing/menu_search_btn.gif"

GoImageActiveUrlRTL="/_layouts/images/publishing/menu_search_btn.gif"

SearchResultPageURL="/Search/Pages/PeopleResults.aspx" />

Posted by 홍상길 홍상길
이전버튼 1 2 3 이전버튼

블로그 이미지
홍상길

공지사항

Yesterday28
Today30
Total291,201

달력

 « |  » 2019.5
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

최근에 달린 댓글

글 보관함