SPNote

SharePoint Notes

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.

Thanks,
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)
  http://technet.microsoft.com/en-us/library/cc262926.aspx
  2) Security considerations for search (Windows SharePoint Services)
  http://technet.microsoft.com/en-us/library/cc287898.aspx

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 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)
2. IISRESET
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]
http://grumpywookie.wordpress.com/2007/12/28/service-unavailable/
http://guru-web.blogspot.com/2007/10/central-administration-site-service.html

Workflow Code Snippets

When the workflow code snippets are not loaded in Visual Studio (especially VS 9.0),

[Instruction]
1. Go to Tools > Code Snippets Manager
2. Change the language to XML
3. Add
- Workflow snippet for VS 8.0:
  %Program Files%\Microsoft Visual Studio 8\Xml\1033\Snippets\SharePoint Server Workflow
- Workflow snippet for VS 9.0:
  %Program Files%\Microsoft Visual Studio 9.0\Xml\1033\Snippets\SharePoint Server Workflow

If you have done the instruction, go back to your feature or workflow xml file and press Ctrl + K, X and select SharePoint Server Workflow then you could see five options you can select. They are Element File Tag, Feature.xml Code, Modification Form Tag, Task Form Tag, Workflow.xml Code.

[Note]
Even though I installed OfficeServerSDK.exe but the workflow code snippets are not loaded automatically on Visual Studio 9.0 (2008). I looked through paths between 8.0 and 9.0 and I found out the SharePoint Server Workflow folder wasn’t copied to 9.0. So I just copied it to 9.0 and done!!! It worked as I expected.

If you didn’t install VS 8.0 on your pc then you can post your comment here then I’ll upload those files into zip for you. Or maybe there is a SDK for VS 9.0 so you can search on MSDN downloads.