SharePoint Notes

SharePoint Solutions

SharePoint Solutions

The Windows SharePoint Services solution framework provides a way to bundle all the components for extending Windows SharePoint Services in a new file that is called a solution file. A solution file has a .CAB-based format but a .WSP extension. A solution is a deployable, reusable package that can contain a set of Features, site definitions, and assemblies that apply to sites, and that you can enable or disable individually. You can use the solution file to deploy the contents of a Web Part package, including assemblies, class resources, .dwp files, and other package components. # This from msdn.

You can find out what the SharePoint solution is... and here are some resources.
  1. Solutions Overview
  2. Creating a Solution
  3. Deploying a Solution
  4. Upgrading a Solution
  5. Retracting a Solution
  6. Localizing a Solution
  7. Solution Schema


Many things to study are waiting if you want to use it but I'm going to demonstrate a simple way of installing, deploying, retracting and removing it using sample images. At first, you need to install it. I have the solution, "SPNote.SharePoint.ImprovedRTE.wsp" and the batch file which contains commands to install it and sample commands are below. This will install the solution and be appear at
"http://YourCentralAdmin/_admin/Solutions.aspx" and you can see its status as well. 
(Menu Breadcrumb: Central Administration > Operations > Solution Management)


Command of installing the solution (Download batch file)

@SET STSADM="C:\program files\common files\microsoft shared\web server extensions\12\bin\stsadm"

Echo Installing solution
%STSADM% -o addsolution -filename SPNote.SharePoint.ImprovedRTE.wsp
%STSADM% -o execadmsvcjobs

cscript C:\windows\system32\iisapp.vbs /a "SharePoint - 80" /r

If you deploy it, please execute IISRESET to refresh CONTROLTEMPLATES and the assemebly properly.

Images List
  1. Solution Management Page
  2. After installed
  3. Click Deploy Button
  4. Deployed to
  5. Deployed
  6. Demo using this solution


  # 1. Solution Management Page: currently no solutions here.

  # 2. After installed.

  # 3. Click Deploy Button

  # 4. Deployed to: Select which web application you want to deploy to

  # 5. Deployed finally: You can see its status

  # 6. Demo using this solution


Back to Calgary diary...

2006년 4월 24일...
이상하리만큼 아침부터 부산했던 그날에...
혹시라도 빠진 게 없는지, 챙겨야 할 것은 무엇인지...
한참을 반복하고도 전전긍긍했던 하루가 기억난다.

맘에 들었던 카메라를 구하지 못해 급하게 사는 바람에...
배송도 아닌 직접 찾아가 물건을 받아서 진땀을 뺐었고...
혹시라도 늦을까봐 빨리빨리 뛰어다녔었던...

그 기억이 떠올라 다시 한번 회상하고...
꿈과 열정을 가지고 남 모르게 준비하는 자들을 위해
사진을 빌어 글을 쓰려고 한다.

 # [2006/04/24] 비행기에 탑승 후, 인천 공항에서 ...  

Improved RichTextField

Download Improved RichTextField (Download)

Whenever I type texts into RichTextEditor Field, I thought it's small and need some functions such as extending its sizes, uploading images and etc and that drives me to write some functions and made into the solution. What I implemented are:
  1. Extend width and height
  2. Set as default sizes
  3. Save sizes
  4. Create link
  5. Insert image
  6. Localization only for Korean now

 # Solution Demo.

 # Create Link.

 # Insert Image

 # Localization (Korean)

For those who don't know how to install SharePoint solutions, I'll post an article by this week. Please let me know if you have questions for this solution.

Karl (cleartint@gmail.com)

SharePoint Search Visibility

My customer asked me whether it's possible to hide search results on the specific site or sites. That moved tome to the linke “Search Visibility” in Site Settings which you can set to allow this web to appear in search results or not.

What I have concerned about this is “Can I optionally set this?” even though it has been cralwed already. I mean after crawled (which is I configured “True” on this and “Start full crawl” job has done), can I just set it False and it will work as I expected? The answer is “YES!!!” (if you don’t crawl again, the answer is NO!!!). I thought it won’t happen cause when the index has crawled, it must be searched but when you crawl again after you set it False, those crawled items will be deleted by gatherer.

Q. How the Search Visibility works?
depends on how to set whether the Indexing Site Content is True or Not.

1) Search Visibility > Indexing Site Content is True
  When you do “Start Full Crawl” => it will crawl for this web.
2) Search Visibility > Indexing Site Content is False
  When you do “Start Full Crawl” => it won’t crawl for this web.
  but if there are crawled indexes, it will delete them.

I’ll show you images about each result.
1) True
  Success items: 493, Warnings: 4

2) False (crawled first after set the site to True and again after set it to False)
  Success items: 281, Warnings: 216 (497 - 281)

As you can see, the status of Crawled Content Status has changed…
and if you closely look on 2) False image, you can find out the items are deleted.
(Deleted by the gatherer…)

- Refer these pages
  1) Plan to crawl content (Office SharePoint Server)
  2) Security considerations for search (Windows SharePoint Services)

I didn’t test all menus about it that I don’t know whether it will work same.

What is SharePoint?

What is SharePoint?

Microsoft Office SharePoint Server 2007 is an integrated suite of server capabilities that can help improve organizational effectiveness by providing comprehensive content management and enterprise search, accelerating shared business processes, and facilitating information-sharing across boundaries for better business insight. Additionally, this collaboration and content management server provides IT professionals and developers with the platform and tools they need for server administration, application extensibility, and interoperability.

# Passage from Microsoft SharePoint web site and resources you can get almost everything from here.

You can refer official or useful urls here.
1. Microsoft Office Online > Products > Microsoft Office SharePoiknt Server
2. SharePoint Magazine


SharePoint 에 대하여..


 - 기업의 협업 작업을 편리 하게 하여, 회사의 사원들 끼리 정보 공유 및 문서관리의 편의성 과 정보 액세스 공급이 용이한 솔루션 이다.


  SharePoint의 기능

1.     협업 : 문서를 게시를 할 수 있는 라이브러리를 제공을 하여서 권한이 있는 사용자들 간에 문서를 다운로드 및 수정 등을 할 수 있으며, 또한 변경 된 사항들을 버전 별로 관리가 되기 때문에 언제든지 내용이 잘못 되었을 때 롤백이 용이 하고 DB에 데이터가 자동으로 들어가서 쌓이게 되므로 문서관리 등에 용이함.


2.     포털 기능 : 각 각의 부서 및 팀 별로 사이트 생성이 가능 하며 사용자들에 권한에 맞게 팀 사이트의 접근이 가능 하며, 또한 개개인의 내 사이트 포털을 생성 할 수 있으며 다른 부서원들과 정보 공유 및 의사 소통에 용이 하며, 개인 사이트에 개인들의 작업들을 배치해서 한눈에 볼 수 있음.


3.     기업 검색 : 자체적으로 검색 기술이 있기 때문에 SharePoint에서 쌓여 있는 문서 및 사람 콘텐츠 들의 검색이 용이 합니다.


4.     비즈니스 프로세스 및 양식 : 워크 플로 와 전자 양식을 제작이 용이 함.

  5.     비즈니스 인텔리전스 : 비즈니스 정보를 보기 쉽게 하기 위해서 Office제품의 표와 차트 형태로 데이터를 가공 하여 보여줌으로써 의사 결정권자 들이 보다 쉽게 의사 결정을 할 수 있도록 도와줍니다.

SharePoint Form Authentication I

This article is mainly for SharePoint Form Authentication using ActiveDirectory Memebership Provider and LDAP Role Provider.

As you may know, there are some disadvantages if you decided to use Form Auth in SharePoint especially crawling and MySite. But you can set to be possible and I’m going to show the configurations in detail.

Unfortunately, I can’t upload the pictures due to error so I’m going to do this later…

For now, there’s requirements before to do it.
 1. Add users or computers to Active Directory
  - Create a Organizational Unit
  - Create a new group
  - Create Users

2. Extend Web Applications
Let’s assume
  domain - calgarytips.com
  port:80 - intranet
  port:1755 - ssp1
  port:3000 - central admin

  1) extends web app (port: 80)
    - Host Header: extranet.calgarytips.com
    - Allow anonymous: true
    - Zone: Extranet

  2) extends web app SSP1 (port: 1755)
    - same as upper one
    - same as upper one
    - same as upper one

Once you have done that, you can see added web sites using IIS manager and the difference between intranet and extranet is hostheader ex. blank, extranet.karl.com

Service Unavailable in SharePoint Sites

While I was upgrading my solution which includes 3 features, I got the error that STSADM couldn't find the original folder of one of the feature cause I've just changed it... (This means -upgradesolution option doesn't take care of folder name changing) Anyways, I just stopped the upgrading process of the batch file (Ctrl + C). But when I came back to the Site again, the site showed me the message "Service Unavailable".

[The error message when I changed the folder name]
The solution can not be deployed.  The feature '877baf7b-e8bc-4f5d-a833-05295f95
961a' uses the directory "SOILTypes" in the solution. However, it is curre
ntly installed in the farm to the directory "SOILResources". Uninstall the exist
ing feature before you install a new version of the solution

After it happened, simply I took actions and they were
1. Look into EventViewer (Nothing for this)
3. Reboot
But the result was same. The site prints "Service Unavailable".
ㅠㅠ (This means crying... it's one of the Korean Vowels)

Googling on this problem, I found the answer for this. The website in Application Pools was stopped and I set the admin account again. That's it!!! Now I can see my beautiful? site again...

[Refer Images]

[Service Unavailable]

[Application Pool is stopped]

[Set Admin account]

[Refer URLs Below]

타나토노트 Thanatonaute

타나토노트 thanatonaute 는 죽음을 뜻하는 그리스 어 타나토스 thanatos 와
항해자를 뜻하는 나우테스 nautes 를 합쳐 만든 조어로서, 우리말로 하면
영계 탐사자 쯤으로 이해할 수 있다.

우리의 죽음 뒤에 무엇이 있을까?
정말 천국과 지옥이 있을까? 아님 아무것도 없을까?

개인적으로는 종교를 믿지 않기에…
후자에 손 들어주고 싶다.

하지만 만약 있다면? 아마도 권선징악에 따른 보상 심리가
사람에겐 기본적으로 내장?하고 있기에 그렇게 생각하는 것은 아닐까?

한 일생을 저울질하여 평가를 받는다면,
나는 어떻게 살아야할까?

스스로가 택하는 바가 아닌 좋은 점수만 받기 위해
행동하는 자신은 무슨 의미가 있을까?

점점 획일화되고 있는 세상에서
줏대 없이 따라하는 똑같음을 비판하는 것은 아닐까?