Lambert 的个人资料Lambert Qin's technical ...照片日志列表更多 ![]() | 帮助 |
Lambert Qin's technical blog: SharePoint in my eyesDisclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway. |
||||||
|
11月5日 Crawling Exchange Server 2007 Public Folders in SharePoint Server 2007 (Part 2)In previous blog, I simplify the configurations to a non-SSL environment, of cause, this is not the Exchange Server 2007 Default Settings and it is not fit for production environment, now I would like to change the settings back. 1. Remove All SSL setting in the Exchange Server 2007 (ignore the steps if you are using Default Settings).
2. Add a new content source in SharePoint to crawl. 3. Start a Full Crawl for testing and an error 0x80040E4D. if you checked Ignore SSL certificate name warnings in Central Administration > Application Management > Search Service > Farm-Level Search Settings, the error would looks like: The error message for 0x80040E4D is DB_SEC_E_AUTH_FAILED which indicates this is an authentication error, and it seems a certificate error. 4. Add a crawl rule to attach the certificate.
5. Start a Full Crawl for testing again and get a weird certificate error which I totally do not understand. forget it, I have already attached the certificate to the crawler. 6. Assign the crawler to use a account which has the permission to access to Exchange OWA. You could choose using another content access account or form credentials based on your OWA configurations. Please make sure this rule has priority over the certificate rule. and the rules looks like: 7. Start a Full Crawl for testing. Congratulations! You made it!
Comments: The key point is the SSL certificate, you may also need to check the settings in Central Administration > Application Management > Search Service > Farm-Level Search Settings. If you get warnings when access the Public Folder in IE, you need to make sure the option is checked.
Specially thanks to Weiyi Hu, who is a support engineer in Microsoft, Some of the steps come from one of her cases. Crawling Exchange Server 2007 Public Folders in SharePoint Server 2007 (Part 1)Steve Smith, MVP wrote a tutorial about How to configure a content Source to crawl Exchange 2003 public folders in Moss2007, and I saw lot of people asking how to crawling Exchange Server 2007 Public Folders. Public folders changed a lot from Exchange 2003 to Exchange 2007, an obvious change is you cannot access via http(s)://exchangeserver/public/folder/subfolder, it would redirect to http(s)://exchangeserver/owa/. This changes causes that it is a bit hard to configure SharePoint to crawl Exchange Server 2007 Public Folders. According to the article here, you need to have both Exchange Server 2007 Service Pack 1 and SharePoint Server Service Pack 1 installed before performing the actions.
First, I would like to make the scenario simple, I remove all the SSL things , it looks like a normal HTTP sites. 1. Remove All SSL setting in the Exchange Server 2007.
2. Add a new content source in SharePoint to crawl. 3. Start a Full Crawl and check the results.
If you are working on a demo or test farm, you could just remove the SSL to make life easier. In next blog, I would add the SSL back :) 11月2日 Using Lookup column to maintain the relationship between two listsScenario: This is an simple tutorial of using Lookup column to synchronize the data between two lists: Source List and Destination List. 1. In the Destination List, create a RefID which gets information from ID field of the Source List. Very similar with the Foreign Key in the SQL Server. 2. Create a simple workflow attached to Source List to create the initial the relationship. 3. Create a workflow attached to Destination List to sync the changes back to the Source List.
4. Test results.
Additional Comments: 1. SharePoint Designer workflow impersonates your current account, which means you need to have Contribute Permission (at least Edit List Item Permission) on both Lists. To workaround the limitation, a Visual Studio workflow or an Event Receiver is needed. actually Event Receiver is more suitable for this scenario. 2. As the RefID is a key field in the two lists, I do not suggest to add the RefID to the exited lists because it is not easy to fill the empty values with correct ones. 3. The tutorial implements a limited function with least actions, it should be extended with specific requirements. 10月29日 contentclass and its values (may not complete)Content class property could be used for restricting the results’ type of indexing. Here are some of the values, in case i forgot them some day :) "STS_Web": // Site "STS_List_850": // Page Library "STS_ListItem_850": // Page "STS_List_DocumentLibrary": // Document Library "STS_ListItem_DocumentLibrary": // Document Library Items "STS_List_GenericList": // Custom List "STS_ListItem_GenericList": // Custom List Item "STS_List_Links": // Links List "STS_ListItem_Links": // Links List Item "STS_List_Tasks": // Tasks List "STS_ListItem_Tasks": // Tasks List Item "STS_List_Events": // Events List "STS_ListItem_Events": // Events List Item "STS_List_Announcements": // Announcements List "STS_ListItem_Announcements": // Announcements List Item "STS_List_Contacts": // Contacts List "STS_ListItem_Contacts": // Contacts List Item "STS_List_DiscussionBoard": // Discussion List "STS_ListItem_DiscussionBoard": // Discussion List Item "STS_List_IssueTracking": // Issue Tracking List "STS_ListItem_IssueTracking": // Issue Tracking List Item "STS_List_GanttTasks": // Project Tasks List "STS_ListItem_GanttTasks": // Project Tasks List Item "STS_List_Survey": // Survey List "STS_ListItem_Survey": // Survey List Item "STS_List_PictureLibrary": // Picture Library "STS_ListItem_PictureLibrary": // Picture Library Item "STS_List_WebPageLibrary": // Web Page Library "STS_ListItem_WebPageLibrary": // Web Page Library Item "STS_List_XMLForm": // Form Library "STS_ListItem_XMLForm": // Form Library Item 8月31日 Create an survey with pictures and other HTML formatsOne of the limitations of SharePoint is that it only support an simple text format survey which is not enough for many scenarios. However, create a full customized ASP.NET survey for SharePoint is not easy, it involves a lot of coding work. Here is an general method that help administrartors and power users who have limited coding skill to build a beautiful survey. Step 1: create an OOB survey.Step 2: Open the survey in SharePoint Designer,upload a picture which would be used later.Step 3:Create a HTML page in SharePoint Designer, design your survey. Copy the HTML code.Step 4:Paste the HTML into the question (notice: must include the Table tag)Preview: Step 5:Copy the JavaScript to the form files (newForm,editForm and etc.)document.getElementsByTagName('Table').item(0).outerHTML= document.getElementsByTagName('Table').item(0).outerHTML.replace(/</g,'<').replace(/>/g,'>'); Tips: if you do not know where to insert the code, look for the following area which contains an OOB JavaScript code Preview:
Comments:The functionality of the JavaScript converts the escape character back, so that the pictures and HTML codes display correctly.
Updates [2009-11-02]: Thanks for Mike Sharp’s idea here: http://social.technet.microsoft.com/Forums/en-US/sharepointcustomization/thread/8b97bc31-f72d-4104-bd40-d8d72a8f7fbf There should be a potential for XSS, and narrow the scope of what gets un-escaped should reduce the risks: For DispForm, NewForm and EditForm pages. using |
|
|||||
|
|