<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:georss='http://www.georss.org/georss' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-6398653711184361908</atom:id><lastBuildDate>Wed, 04 Nov 2009 04:09:20 +0000</lastBuildDate><title>Share-mo (Share Demo)</title><description>We are new to SharePoint, just want to share around our learning knowledge from other colleagues. Try our best to make it details for better understanding!</description><link>http://atquestdemo.blogspot.com/</link><managingEditor>noreply@blogger.com (Jeffrey Chan)</managingEditor><generator>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6398653711184361908.post-6673229890073777466</guid><pubDate>Wed, 04 Nov 2009 04:09:00 +0000</pubDate><atom:updated>2009-11-04T12:09:19.386+08:00</atom:updated><title>Format Sharepoint DateTime</title><description>&lt;p align="justify"&gt;A quick tips to formatting DateTime in XSLT for Content Qury Webpart through Editing Sharepoint ItemStyle or manually configure Dataview Webpart. &lt;/p&gt;  &lt;p align="justify"&gt;To achieve the desire format, there are string variable needed. (&lt;strong&gt;LCID&lt;/strong&gt; &amp;amp; &lt;strong&gt;FormatFlag&lt;/strong&gt;)&amp;#160; &lt;/p&gt;  &lt;p align="justify"&gt;&lt;strong&gt;LCID&lt;/strong&gt; code is the localize language used by the hosting machine. Full listing of LCID code could be found &lt;a href="http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx" target="_blank"&gt;Here&lt;/a&gt;. For illustration purpose, English-United State (1033) is used in following example.&amp;#160; &lt;/p&gt;  &lt;p align="justify"&gt;&lt;strong&gt;FormatFlag&lt;/strong&gt; is the format apply to the date and time itself. FormatFlag can be apply using &lt;em&gt;number&lt;/em&gt; or &lt;em&gt;string &lt;/em&gt;format. A sample of numbering FormatFlag of en-US is available in the image below(&lt;a href="http://autosponge.spaces.live.com/blog/cns!D7F85948C20F0293!378.entry?wa=wsignin1.0&amp;amp;sa=945347961" target="_blank"&gt;Source&lt;/a&gt;). Full listing of FormatFlag for each language &lt;a href="http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx" target="_blank"&gt;Here&lt;/a&gt;. &lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/_5TFbxaFV7_A/SvD-YBO0QNI/AAAAAAAAAGY/xe8YcCdzN-A/s1600-h/y1pvXScwycRj8VxEvHnvzscNrP8dWbGir_SV9on3kytIB4-3DSO1yoEMh4bJzAvWbjKNiC7pTF0By4%5B1%5D%5B2%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="y1pvXScwycRj8VxEvHnvzscNrP8dWbGir_SV9on3kytIB4-3DSO1yoEMh4bJzAvWbjKNiC7pTF0By4[1]" border="0" alt="y1pvXScwycRj8VxEvHnvzscNrP8dWbGir_SV9on3kytIB4-3DSO1yoEMh4bJzAvWbjKNiC7pTF0By4[1]" src="http://lh3.ggpht.com/_5TFbxaFV7_A/SvD-Z2_z7BI/AAAAAAAAAGc/WIboQFxhr0k/y1pvXScwycRj8VxEvHnvzscNrP8dWbGir_SV9on3kytIB4-3DSO1yoEMh4bJzAvWbjKNiC7pTF0By4%5B1%5D_thumb%5B2%5D.png?imgmax=800" width="254" height="389" /&gt;&lt;/a&gt;&amp;#160; &lt;/p&gt;  &lt;p align="justify"&gt;As for the text format a full list of FormatFlag can be found &lt;a href="http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx" target="_blank"&gt;Here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;strong&gt;E&lt;em&gt;&lt;strong&gt;xample:&lt;/strong&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;  &lt;table border="0" cellspacing="0" cellpadding="2" width="400"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="400"&gt;&lt;strong&gt;&lt;font color="#ff8040"&gt;Numbering FormatFlag&lt;/font&gt;&lt;/strong&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="400"&gt;ddwrt:FormatDate(string(@EventDate), &lt;font color="#0080c0"&gt;1033&lt;/font&gt;, &lt;font color="#0080c0"&gt;5&lt;/font&gt;) &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="400"&gt;= 5/9/2007 12:00 AM&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="400"&gt;&amp;#160;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="400"&gt;&lt;strong&gt;&lt;font color="#ff8040"&gt;String FormatFlag&lt;/font&gt;&lt;/strong&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="400"&gt;ddwrt:FormatDate(string(@EventDate), &lt;font color="#0080ff"&gt;1033, d/m/yyyy&lt;/font&gt;) &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="400"&gt;=5/9/2007&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="400"&gt;&amp;#160;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="400"&gt;ddwrt:FormatDate(string(@EventDate), &lt;font color="#0080ff"&gt;1033, &lt;font color="#ff0000"&gt;dd&lt;/font&gt;/m/yyyy&lt;/font&gt;) &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="400"&gt;=05/9/2007&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="400"&gt;&amp;#160;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="400"&gt;ddwrt:FormatDate(string(@EventDate), &lt;font color="#0080ff"&gt;1033, dd/&lt;font color="#ff0000"&gt;mmm&lt;/font&gt;/yyyy&lt;/font&gt;) &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="400"&gt;=05/Sep/2007&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Other useful resources:&lt;/strong&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd583143%28office.11%29.aspx#officesharepointddwrt_formatdate" target="_blank"&gt;SharePoint Data View Web Part Extension Functions in the ddwrt Namespace&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://sharethelearning.blogspot.com/2007/05/formatflag-in-ddwrtformatdate-method.html" target="_blank"&gt;Share The Learning: The LCID and FormatFlag in the ddwrt:FormatDate method:&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/kaevans/archive/2009/10/12/showing-a-list-of-today-s-birthdays-in-sharepoint.aspx" target="_blank"&gt;Kirk Evans Blog : Showing a List of Today’s Birthdays in SharePoint&lt;/a&gt; (Format TodayIso format)&lt;/li&gt;    &lt;li&gt;&lt;a href="http://sharethelearning.blogspot.com/2008/10/revisiting-ddwrt-and-formatdate.html" target="_blank"&gt;Share The Learning: Revisiting ddwrt and FormatDate&lt;/a&gt; (Generate LCID list)&lt;/li&gt; &lt;/ul&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6398653711184361908-6673229890073777466?l=atquestdemo.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://atquestdemo.blogspot.com/2009/11/format-sharepoint-datetime.html</link><author>noreply@blogger.com (Doom's Back !!!)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6398653711184361908.post-7221847147355545220</guid><pubDate>Mon, 02 Nov 2009 01:11:00 +0000</pubDate><atom:updated>2009-11-04T12:09:20.106+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Tutorial</category><title>[Tutorial] How to customize “Tiny” SharePoint calendar</title><description>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font size="1"&gt;reference: &lt;/font&gt;&lt;/strong&gt;&lt;a href="http://pathtosharepoint.wordpress.com/2008/10/06/tiny-sharepoint-calendar-1/" target="_blank"&gt;&lt;strong&gt;&lt;font size="1"&gt;A tiny cute SharePoint calendar (Part I)&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;&lt;font size="1"&gt; &amp;amp; &lt;/font&gt;&lt;/strong&gt;&lt;a href="http://pathtosharepoint.wordpress.com/2008/10/11/tiny-sharepoint-calendar-2/" target="_blank"&gt;&lt;strong&gt;&lt;font size="1"&gt;A tiny cute SharePoint calendar (Part II)&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;&lt;font size="1"&gt; by pathtosharepoint.wordpress.com&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6398653711184361908-7221847147355545220?l=atquestdemo.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://atquestdemo.blogspot.com/2009/11/tutorial-how-to-customize-tiny.html</link><author>noreply@blogger.com (Jeffrey Chan)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6398653711184361908.post-1549235504904788011</guid><pubDate>Fri, 23 Oct 2009 05:31:00 +0000</pubDate><atom:updated>2009-10-23T13:31:38.136+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Practice</category><title>[Practice] Creating a SharePoint Solution Package (.wsp) in 5 steps</title><description>&lt;p&gt;&lt;strong&gt;F&lt;/strong&gt;or those who are new to the SharePoint solutions and features I would recommend to try the SharePoint Solutions Generator, which is a part of the &lt;em&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=19f21e5e-b715-4f0c-b959-8c6dcbdc1057&amp;amp;displaylang=en"&gt;Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions&lt;/a&gt;. &lt;/em&gt;&lt;em&gt;It is a windows stand-alone application that converts your existing SharePoint web site into the solution package and creates a Visual Studio project for you to use. Nice isn’t it? &lt;/em&gt;&lt;/p&gt;  &lt;p&gt;What I personally don’t like in the automatic tools is that they always hide some part of the job they are doing behind the scenes. In this scenario you can’t really control and sometimes understand of that is going on. So, today I would like to blog about of how to manually create the SharePoint feature containing the list, how pack it into the solution package and finally deploy it to the production server. Everything will be done without any use of Visual Studio or other tools (only Notepad++).&lt;/p&gt;  &lt;p&gt;So, let’s start! &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 1. Folders&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;First, create the folder structure for the solution. I used &lt;em&gt;MySolution&lt;/em&gt; but you can give a name whatever you want. Two folders were created beneath &lt;em&gt;MySolution&lt;/em&gt; -&lt;em&gt; source&lt;/em&gt; and &lt;em&gt;bin&lt;/em&gt;. First is for the compiled package, second – to keep the feature and the customized list. I use the same file structure for the feature as in SharePoint - one folder per feature. Check out your SharePoint features hive at &lt;em&gt;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\DiscussionsList &lt;/em&gt;and see how it’s organized.&lt;em&gt;     &lt;br /&gt;&lt;/em&gt;In the &lt;em&gt;source&lt;/em&gt; folder I made the feature folder called &lt;em&gt;MyList&lt;/em&gt; and 2 subfolders inside - &lt;em&gt;List Templates&lt;/em&gt; and &lt;em&gt;Messages&lt;/em&gt;. In the end you will have something like this:&lt;/p&gt;  &lt;p&gt;&lt;img alt="" src="http://geekswithblogs.net/images/geekswithblogs_net/evgenyblog/7601/o_Folders.png" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 2. Building a Feature.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Here we create our feature based on the SharePoint discussions list. Go to MyList folder and create a file feature.xml, where we reference 2 files, first – list manifest &lt;em&gt;MyListManifest.xml &lt;/em&gt;and the second – &lt;em&gt;schema.xml &lt;/em&gt;which is describing the list metadata. And don’t forget to change the GUID of feature Id with your own!&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;u&gt;feature.xml&lt;/u&gt;&lt;/em&gt;    &lt;br /&gt;&lt;em&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;     &lt;br /&gt;&amp;lt;Feature Id=&amp;quot;A8E6B85F-D81A-4cc1-9708-D15FEF359DE2&amp;quot;       &lt;br /&gt;Title=&amp;quot;My Feature&amp;quot;      &lt;br /&gt;Description=&amp;quot;This is my feature containing a list&amp;quot;      &lt;br /&gt;Version=&amp;quot;1.0.0.0&amp;quot;      &lt;br /&gt;Hidden=&amp;quot;FALSE&amp;quot;      &lt;br /&gt;Scope=&amp;quot;Web&amp;quot;      &lt;br /&gt;DefaultResourceFile=&amp;quot;core&amp;quot;      &lt;br /&gt;xmlns=&amp;quot;http://schemas.microsoft.com/sharepoint/&amp;quot;&amp;gt;      &lt;br /&gt;&amp;lt;ElementManifests&amp;gt;      &lt;br /&gt;&amp;lt;ElementManifest Location=&amp;quot;ListTemplates\MyListManifest.xml&amp;quot; /&amp;gt;      &lt;br /&gt;&amp;lt;ElementFile Location=&amp;quot;Messages\schema.xml&amp;quot;/&amp;gt;      &lt;br /&gt;&amp;lt;/ElementManifests&amp;gt;      &lt;br /&gt;&amp;lt;/Feature&amp;gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Copy the original schema.xml file from the &lt;em&gt;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\DiscussionsList\Discuss &lt;/em&gt;folder to the Messages folder, and you have a list schema to start from, MyListManifest.xml we’ll create manually in the &lt;em&gt;ListTemplates &lt;/em&gt;folder –&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;u&gt;MyListManifest.xml&lt;/u&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;     &lt;br /&gt;&amp;lt;Elements xmlns=&amp;quot;http://schemas.microsoft.com/sharepoint/&amp;quot;&amp;gt;      &lt;br /&gt;&amp;lt;ListTemplate      &lt;br /&gt;Name=&amp;quot;Messages&amp;quot;      &lt;br /&gt;Type=&amp;quot;108&amp;quot;      &lt;br /&gt;BaseType=&amp;quot;0&amp;quot;      &lt;br /&gt;OnQuickLaunch=&amp;quot;FALSE&amp;quot;      &lt;br /&gt;FolderCreation=&amp;quot;FALSE&amp;quot;      &lt;br /&gt;SecurityBits=&amp;quot;12&amp;quot;      &lt;br /&gt;Sequence=&amp;quot;999&amp;quot;      &lt;br /&gt;DisplayName=&amp;quot;My List&amp;quot;      &lt;br /&gt;Description=&amp;quot;This is my custom list based on the discussions list&amp;quot;      &lt;br /&gt;Image=&amp;quot;/_layouts/images/itdisc.gif&amp;quot;/&amp;gt;      &lt;br /&gt;&amp;lt;/Elements&amp;gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;What is important here is that the Name attribute must have the same name as the folder where schema.xml is placed, Messages, as SharePoint will look for the schema.xml file at that location!&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;After the end of this step you have 3 new files as seen on the picture&lt;/p&gt;  &lt;p&gt;&lt;img alt="" src="http://geekswithblogs.net/images/geekswithblogs_net/evgenyblog/7601/o_feature.png" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 3. Building a Solution Package (.wsp)&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;SharePoint Solution Packages (wsp ) provide a great way to distribute all your customization in just one flask and the creation of the .wsp ain’t so painful operation as you may think, I would say it is easy as hell! Everything starts from the traditional solution &lt;em&gt;manifest .xml&lt;/em&gt; file in the &lt;em&gt;Source&lt;/em&gt; folder: &lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;u&gt;manifest .xml&lt;/u&gt;&lt;/em&gt;&lt;u&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;     &lt;br /&gt;&amp;lt;Solution xmlns=&amp;quot;http://schemas.microsoft.com/sharepoint/&amp;quot;       &lt;br /&gt;SolutionId=&amp;quot;EC2EFD73-DBA2-4c0e-9C18-C8FC43F72E6C&amp;quot; &amp;gt;      &lt;br /&gt;&amp;lt;FeatureManifests&amp;gt;      &lt;br /&gt;&amp;lt;FeatureManifest Location=&amp;quot;MyList\Feature.xml&amp;quot;/&amp;gt;      &lt;br /&gt;&amp;lt;/FeatureManifests&amp;gt;      &lt;br /&gt;&amp;lt;/Solution&amp;gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Here, we reference our Feature.xml file that we had created before at the Step 2, and as you may guess it’s a good way to replace the the &lt;em&gt;SolutionId &lt;/em&gt;GUID with something brand new J. The next that should be created is the data definition file (.ddf). It’s a simple text file with the building instructions for the &lt;em&gt;makecab&lt;/em&gt; utility because the .wsp package is nothing more than a cabinet file with the .wsp extension. (If you rename .wsp or .stp file to .cab you’ll be able to see its contents). Let’s create a &lt;em&gt;wsp.ddf&lt;/em&gt; in the &lt;em&gt;Source &lt;/em&gt;folder:&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;u&gt;wsp.ddf&lt;/u&gt;&lt;/em&gt;&lt;u&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;.OPTION Explicit     &lt;br /&gt;.Set DiskDirectory1=&amp;quot;..\bin&amp;quot;      &lt;br /&gt;.Set CabinetNameTemplate=&amp;quot;MyListSolution.wsp&amp;quot;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;manifest.xml&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;; These directory names (DestinationDir) are used for the folders creation under 12\TEMPLATE\Features&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;.Set DestinationDir=&amp;quot;MyList\ListTemplates&amp;quot;     &lt;br /&gt;MyList\ListTemplates\MyListManifest.xml&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;.Set DestinationDir=&amp;quot;MyList\Messages&amp;quot;     &lt;br /&gt;MyList\Messages\schema.xml&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;.Set DestinationDir=&amp;quot;MyList&amp;quot;     &lt;br /&gt;MyList\Feature.xml&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;In this file we set an output folder for the compiled package..&lt;em&gt;\bin&lt;/em&gt;, its name &lt;em&gt;MyListSolution.wsp&lt;/em&gt; and we tell makecab to include 4 files (marked in red) and create 3 folders at the deployment phase (in blue). Now it’s time to build everything into a single file, but before we do that I create a &lt;em&gt;build.cmd&lt;/em&gt; file in the &lt;em&gt;Source &lt;/em&gt;folder with some lines to facilitate the building process&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;u&gt;build.cmd&lt;/u&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;@setlocal     &lt;br /&gt;@pushd.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;@cd %~dp0&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;makecab /f wsp.ddf &lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;@popd     &lt;br /&gt;@endlocal&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Here I reference the &lt;em&gt;wsp.ddf&lt;/em&gt; file with processing instructions which I created before. After you run it your solution package will appear in the bin folder:&lt;/p&gt;  &lt;p&gt;&lt;img alt="" src="http://geekswithblogs.net/images/geekswithblogs_net/evgenyblog/7601/o_solution.png" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 4. Solution deployment.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;So, the solution package has just been created and the last thing that is left to do is to deploy it to our production server. I always like then the script is doing my job, so I put 2 .cmd files into the &lt;em&gt;bin&lt;/em&gt; folder to deploy and retract my.wsp package so I don’t have to deal with stsadm utility from command line. &lt;/p&gt;  &lt;p&gt;&lt;img alt="" src="http://geekswithblogs.net/images/geekswithblogs_net/evgenyblog/7601/o_deployment.png" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;u&gt;DeployMyListSolution.cmd&lt;/u&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;@setlocal     &lt;br /&gt;@pushd.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;@set PATH=C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN;%PATH% @cd %~dp0&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;stsadm.exe -o addsolution -filename MyListSolution.wsp     &lt;br /&gt;stsadm.exe -o deploysolution -name MyListSolution.wsp -local &lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;@pause     &lt;br /&gt;@popd      &lt;br /&gt;@endlocal&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;u&gt;RetractMyListSolution.cmd&lt;/u&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;@setlocal   &lt;br /&gt;&lt;em&gt;@pushd.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;@set PATH=C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN;%PATH% @cd %~dp0&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;stsadm.exe -o retractsolution -name MyListSolution.wsp –local     &lt;br /&gt;stsadm.exe -o deletesolution -name MyListSolution.wsp &lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;@pause     &lt;br /&gt;@popd      &lt;br /&gt;@endlocal&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="" src="http://geekswithblogs.net/images/geekswithblogs_net/evgenyblog/7601/o_deploy.png" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="" src="http://geekswithblogs.net/images/geekswithblogs_net/evgenyblog/7601/o_deploy1.PNG" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;u&gt;&lt;/u&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;After the solution is deployed you can activate the feature in the Site features menu of you site and start using the new list!&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 5. Using the feature.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Before our custom list can be used the feature containing it must be activated within the SPWeb scope.&lt;/p&gt;  &lt;p&gt;&lt;img alt="" src="http://geekswithblogs.net/images/geekswithblogs_net/evgenyblog/7601/o_activation.png" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="" src="http://geekswithblogs.net/images/geekswithblogs_net/evgenyblog/7601/o_activation2.png" /&gt;&lt;/p&gt;  &lt;p&gt;After activation is done your custom list will appear on the site’s create page and you can create list instances!&lt;/p&gt;  &lt;p&gt;&lt;img alt="" src="http://geekswithblogs.net/images/geekswithblogs_net/evgenyblog/7601/o_create.png" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="" src="http://geekswithblogs.net/images/geekswithblogs_net/evgenyblog/7601/o_instance.png" /&gt;&lt;/p&gt;  &lt;p&gt;Have fun!   &lt;br /&gt;Next time I will talk about site definitions inside the solutions.&lt;/p&gt;  &lt;p&gt;&lt;font size="1"&gt;&lt;strong&gt;Reference from : &lt;/strong&gt;&lt;/font&gt;&lt;a href="http://geekswithblogs.net/evgenyblog/archive/2008/01/27/118966.aspx" target="_blank"&gt;&lt;font color="#000000" size="1"&gt;&lt;strong&gt;Evgeny Tugarev&lt;/strong&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6398653711184361908-1549235504904788011?l=atquestdemo.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://atquestdemo.blogspot.com/2009/10/practice-creating-sharepoint-solution.html</link><author>noreply@blogger.com (Jeffrey Chan)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6398653711184361908.post-1610228215870584391</guid><pubDate>Tue, 20 Oct 2009 09:06:00 +0000</pubDate><atom:updated>2009-10-20T17:06:52.627+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Tutorial</category><title>[Tutorial] PDF iFilter for MOSS</title><description>&lt;h6&gt;&amp;#160;&lt;/h6&gt;  &lt;p&gt;There are a few posts on the net relating to PDF iFilter for MOSS and I haven't had a lot of luck with them including the one that was released by Adobe Labs for x64 bit. A few of our clients have requested capability to search the PDF documents and we didn't have a standard on how we go it done but one way or the other we did. Since people are still looking for ways to make this work I've decided to make a post that show how we got the iFilter to work. &lt;/p&gt;  &lt;p&gt;I haven't tested this procedures on a x64 environment but i certainly know they work for a x86 environment.&lt;/p&gt;  &lt;p&gt;This process should be installed on your &lt;strong&gt;indexing server.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Here is the process. &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Download the &lt;a href="http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=2611&amp;amp;fileID=2457"&gt;PDF iFilter 6.0 application from Adobe &lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Stop the IIS Admin Services -- From Windows Services. &lt;/li&gt;    &lt;li&gt;Run your IFilter Install (Remember it needs to be on your indexing server) &lt;/li&gt;    &lt;li&gt;After the installation completes perform an IISRESET/noforce -- prevents data loss in case IIS has issues responding within a minute.&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Add the PDF Icon to SharePoint -- this is more of a cosmetic thing to allow PDF files to be easily identified by your users &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Download a PDF Icon from Adobe based on your specification. &lt;/li&gt;    &lt;li&gt;Copy the Icon to SharePoint Images folder &amp;quot;&lt;strong&gt;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Images&amp;quot; &lt;/strong&gt;&lt;/li&gt;    &lt;li&gt;Add the Icon mapping into the DOCICON.XML (Can be found at &amp;quot;&lt;strong&gt;C:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\Xml\&lt;/strong&gt;&amp;quot;. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;&amp;lt;Mapping Key=&amp;quot;pdf&amp;quot; Value=&amp;quot;pdficon.gif&amp;quot;/&amp;gt;&lt;/strong&gt;&lt;/li&gt;    &lt;li&gt;Add PDF as a new search file in &lt;strong&gt;SharePoint Central Administration -&amp;gt; &amp;quot;Shared Services Provider(SSP)&amp;quot;--&amp;gt; Search Settings -&amp;gt; File Types&lt;/strong&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Configure SharePoint Index Server Registry to recognize the PDF IFilter as described in this &lt;a href="http://support.microsoft.com/kb/927675"&gt;Microsoft HotFix &lt;/a&gt;which I have iterated below &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Add the following registry entry, and then set the registry entry value to &lt;strong&gt;pdf&lt;/strong&gt;:       &lt;p&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Applications\&amp;lt;GUID&amp;gt;\Gather\Search\Extensions\ExtensionList\38&lt;/p&gt;      &lt;p&gt;To do this, follow these steps: &lt;/p&gt;      &lt;ol&gt;       &lt;li&gt;Click &lt;strong&gt;Start&lt;/strong&gt;, click &lt;strong&gt;Run&lt;/strong&gt;, type regedit, and then click &lt;strong&gt;OK&lt;/strong&gt;. &lt;/li&gt;        &lt;li&gt;Locate and then click the following registry subkey:          &lt;p&gt;&lt;strong&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Applications\GUID\Gather\Search\Extensions\ExtensionList&lt;/strong&gt;&lt;/p&gt;       &lt;/li&gt;        &lt;li&gt;On the &lt;strong&gt;Edit&lt;/strong&gt; menu, point to &lt;strong&gt;New&lt;/strong&gt;, and then click &lt;strong&gt;String Value&lt;/strong&gt;. &lt;/li&gt;        &lt;li&gt;Type 38, and then press ENTER. &lt;/li&gt;        &lt;li&gt;Right-click the registry entry that you created, and then click &lt;strong&gt;Modify&lt;/strong&gt;. &lt;/li&gt;        &lt;li&gt;In the &lt;strong&gt;Value data&lt;/strong&gt; box, type pdf, and then click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/li&gt;     &lt;/ol&gt;   &lt;/li&gt;    &lt;li&gt;Verify that the following two registry subkeys are present and that they contain the appropriate values.      &lt;br /&gt;&lt;b&gt;Note&lt;/b&gt; These registry subkeys and the values that they contain are created when you installed the Adobe PDF IFilter on the server.       &lt;ul&gt;       &lt;li&gt;         &lt;p&gt;&lt;strong&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf&lt;/strong&gt;&lt;/p&gt;          &lt;p&gt;This registry subkey must contain the following registry entry: &lt;/p&gt;          &lt;ul&gt;           &lt;li&gt;Name: Default             &lt;br /&gt;Type: REG_MULTI_SZ              &lt;br /&gt;Data: {4C904448-74A9-11D0-AF6E-00C04FD8DC02} &lt;/li&gt;         &lt;/ul&gt;       &lt;/li&gt;        &lt;li&gt;         &lt;p&gt;&lt;strong&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Setup\Filters\.pdf&lt;/strong&gt;&lt;/p&gt;          &lt;p&gt;This registry subkey must contain the following registry entries: &lt;/p&gt;          &lt;ul&gt;           &lt;li&gt;Name: Default             &lt;br /&gt;Type: REG_SZ              &lt;br /&gt;Data: (value not set) &lt;/li&gt;            &lt;li&gt;Name: Extension             &lt;br /&gt;Type: REG_SZ              &lt;br /&gt;Data: pdf &lt;/li&gt;            &lt;li&gt;Name: FileTypeBucket             &lt;br /&gt;Type: REG_DWORD              &lt;br /&gt;Data: 0x00000001 (1) &lt;/li&gt;            &lt;li&gt;Name: MimeTypes             &lt;br /&gt;Type: REG_SZ              &lt;br /&gt;Data: application/pdf &lt;/li&gt;         &lt;/ul&gt;       &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;Upload the PDF documents to the Windows SharePoint Services 3.0 Web site. &lt;/li&gt;    &lt;li&gt;Stop and then start the Windows SharePoint Services Search service. To do this, follow these steps:      &lt;ol&gt;       &lt;li&gt;Click &lt;strong&gt;Start&lt;/strong&gt;, click &lt;strong&gt;Run&lt;/strong&gt;, type cmd, and then click &lt;strong&gt;OK&lt;/strong&gt;. &lt;/li&gt;        &lt;li&gt;Stop the Windows SharePoint Services Search service. To do this, type net stop spsearch at the command prompt, and then press ENTER. &lt;/li&gt;        &lt;li&gt;Start the Windows SharePoint Services Search service. To do this, type net start spsearch at the command prompt, and then press ENTER. &lt;/li&gt;        &lt;li&gt;Type exit to exit the command prompt.&lt;/li&gt;     &lt;/ol&gt;   &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Hopefully this saves someone the headache of trying to get the iFilter to work &lt;/p&gt;  &lt;p&gt;&lt;font size="1"&gt;Reference from : &lt;/font&gt;&lt;a href="http://lmundia.spaces.live.com/blog/cns!3A35C02C8765E840!157.entry" target="_blank"&gt;&lt;font color="#000000" size="1"&gt;lmundia’s Blog&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6398653711184361908-1610228215870584391?l=atquestdemo.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://atquestdemo.blogspot.com/2009/10/tutorial-pdf-ifilter-for-moss.html</link><author>noreply@blogger.com (Jeffrey Chan)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6398653711184361908.post-662323466572118927</guid><pubDate>Tue, 20 Oct 2009 08:54:00 +0000</pubDate><atom:updated>2009-10-20T16:54:16.076+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Practice</category><title>[Practice] Steps to Import a Web Part</title><description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 1 :&lt;/em&gt;&lt;/strong&gt; Click on “&lt;strong&gt;Site Action&lt;/strong&gt;” &lt;strong&gt;&amp;gt;&lt;/strong&gt; “&lt;strong&gt;Edit Page&lt;/strong&gt;”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_0UG1v0df0ms/St09UlFWOKI/AAAAAAAAAzQ/eH6SEhHwu3M/s1600-h/image%5B55%5D.png"&gt;&lt;img title="image" border="0" alt="image" src="http://lh4.ggpht.com/_0UG1v0df0ms/St09X1BnO-I/AAAAAAAAAzU/1bajQJfUoeE/image_thumb%5B49%5D.png?imgmax=800" width="191" height="267" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 2 :&lt;/em&gt;&lt;/strong&gt; Now you are in “&lt;strong&gt;edit mode&lt;/strong&gt;” and click on “&lt;strong&gt;Add a Web Part&lt;/strong&gt;”.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_0UG1v0df0ms/St09ZJ1JFSI/AAAAAAAAAzY/yXZrrGMobSo/s1600-h/image%5B57%5D.png"&gt;&lt;img title="image" border="0" alt="image" src="http://lh5.ggpht.com/_0UG1v0df0ms/St09bphB4nI/AAAAAAAAAzc/W6hr_iaSxso/image_thumb%5B54%5D.png?imgmax=800" width="635" height="126" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 3 :&lt;/em&gt;&lt;/strong&gt; Click“&lt;strong&gt;Advanced Web Part gallery and option&lt;/strong&gt;” in order to import a web part in your page. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_0UG1v0df0ms/St16fluOnxI/AAAAAAAAA2E/Q7QOeCi3tGo/s1600-h/image%5B5%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_0UG1v0df0ms/St16hrMYQUI/AAAAAAAAA2I/LIfb19GXed4/image_thumb%5B6%5D.png?imgmax=800" width="394" height="406" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 4 :&lt;/em&gt;&lt;/strong&gt; Click on “&lt;strong&gt;Browse&lt;/strong&gt;” and then “&lt;strong&gt;Import&lt;/strong&gt;”.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_0UG1v0df0ms/St16iu04yuI/AAAAAAAAA2M/O-Js1VZ89C8/s1600-h/image%5B18%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_0UG1v0df0ms/St16lVj59PI/AAAAAAAAA2Q/tl1vVUl_0CM/image_thumb%5B25%5D.png?imgmax=800" width="190" height="240" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 5 :&lt;/em&gt;&lt;/strong&gt; The panel then changed to Import Interface. Click on “&lt;strong&gt;Browse&lt;/strong&gt;”.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_0UG1v0df0ms/St16mELa4_I/AAAAAAAAA2U/58Ce2L9uGI0/s1600-h/image%5B19%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_0UG1v0df0ms/St16nFOYMDI/AAAAAAAAA2Y/FmbBE2LLOOo/image_thumb%5B26%5D.png?imgmax=800" width="190" height="266" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 6 :&lt;/em&gt;&lt;/strong&gt; Select the .webpart you would like to import and click “&lt;strong&gt;Open&lt;/strong&gt;”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_0UG1v0df0ms/St16n9JdtHI/AAAAAAAAA2c/xiymWhxS5KM/s1600-h/image%5B31%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_0UG1v0df0ms/St16pGoSKOI/AAAAAAAAA2g/lFkAjeetjn8/image_thumb%5B37%5D.png?imgmax=800" width="240" height="51" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 7 :&lt;/em&gt;&lt;/strong&gt; After that, click “&lt;strong&gt;Upload&lt;/strong&gt;” and the Web Part is added in the “&lt;strong&gt;Uploaded Web Part&lt;/strong&gt;” zone. Select the dropdown from the “&lt;strong&gt;Add to&lt;/strong&gt;” list for the Web Part position and then click “&lt;strong&gt;import&lt;/strong&gt;”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_0UG1v0df0ms/St16pyC2iYI/AAAAAAAAA2k/AZxVeZoBj5A/s1600-h/image%5B33%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_0UG1v0df0ms/St16rp7jguI/AAAAAAAAA2o/F2wc3vIep7w/image_thumb%5B43%5D.png?imgmax=800" width="235" height="322" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 8 :&lt;/em&gt;&lt;/strong&gt; Now you have success import a Web Part for your local computer.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_0UG1v0df0ms/St16sTVoJDI/AAAAAAAAA2s/gCb7el-tyBw/s1600-h/image%5B39%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_0UG1v0df0ms/St16tflU5aI/AAAAAAAAA2w/PIBA_gWZSuM/image_thumb%5B52%5D.png?imgmax=800" width="630" height="58" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6398653711184361908-662323466572118927?l=atquestdemo.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://atquestdemo.blogspot.com/2009/10/practice-steps-to-import-web-part.html</link><author>noreply@blogger.com (Jeffrey Chan)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6398653711184361908.post-8054495579361528653</guid><pubDate>Tue, 20 Oct 2009 07:02:00 +0000</pubDate><atom:updated>2009-10-23T09:51:36.553+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Tutorial</category><title>[Tutorial] Customize Content Query Webpart Item Style in XSLT – DateTimeFormat</title><description>&lt;p&gt;Here share with you on how to customize the Item Style in itemStyle.xsl...&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 1 :&lt;/em&gt;&lt;/strong&gt; Open SharePoint Designer and then click on “&lt;strong&gt;File&lt;/strong&gt;” to “&lt;strong&gt;Open Site&lt;/strong&gt;” for the portal.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_0UG1v0df0ms/St1f2Y9am4I/AAAAAAAAA0I/QGJu2JKIRPo/s1600-h/image%5B7%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_0UG1v0df0ms/St1f3nT5UfI/AAAAAAAAA0M/yZuL9RXRjSw/image_thumb%5B12%5D.png?imgmax=800" width="259" height="169" /&gt;&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_0UG1v0df0ms/St1f46-VGkI/AAAAAAAAA0Q/C4bqmwJwoFk/s1600-h/image%5B13%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_0UG1v0df0ms/St1f6xMNtQI/AAAAAAAAA0U/aZ4dldHFWtU/image_thumb%5B19%5D.png?imgmax=800" width="401" height="316" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 2 :&lt;/em&gt;&lt;/strong&gt; After you have success open the portal content, a tree-view “&lt;strong&gt;Folder List&lt;/strong&gt;” for the portal content will be display on left hand corner.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_0UG1v0df0ms/St1f9VpQc7I/AAAAAAAAA0Y/Sv-QL9h1Ty0/s1600-h/image%5B24%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_0UG1v0df0ms/St1f_qxzPpI/AAAAAAAAA0c/4GhhFRGcIuU/image_thumb%5B34%5D.png?imgmax=800" width="310" height="369" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 3 :&lt;/em&gt;&lt;/strong&gt; Double Click on “&lt;strong&gt;Style Library&lt;/strong&gt;” &amp;gt; “&lt;strong&gt;XSL Style Sheets&lt;/strong&gt;” &amp;gt; “&lt;strong&gt;ItemStyle.xsl&lt;/strong&gt;”. All Item Style now listed out on your right hand corner.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_0UG1v0df0ms/St1gBTJfy6I/AAAAAAAAA0g/bINGp2QJF2I/s1600-h/image%5B27%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_0UG1v0df0ms/St1gDceQW7I/AAAAAAAAA0k/XF1vHDWTdEw/image_thumb%5B40%5D.png?imgmax=800" width="603" height="334" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 4 :&lt;/em&gt;&lt;/strong&gt; Assume you wan to poll out Site Column “&lt;strong&gt;EventDate&lt;/strong&gt;” and “&lt;strong&gt;EndDate&lt;/strong&gt;” from you content.you can check internal name for the Site Column for example “Start Date” by right click property of the Site Column.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_0UG1v0df0ms/St1gEDH3WwI/AAAAAAAAA0o/CKms4JdOTbI/s1600-h/image%5B33%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_0UG1v0df0ms/St1gFPPVBTI/AAAAAAAAA0s/Ma5pvd11qWE/image_thumb%5B47%5D.png?imgmax=800" width="277" height="341" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;P.S. More way get to know Internal Site Column value please visit &lt;a href="http://www.heathersolomon.com/blog/articles/CustomItemStyle.aspx"&gt;Customizing the Content Query Web Part and Custom Item Styles&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 5 :&lt;/em&gt;&lt;/strong&gt; Sample Code to show “Event Date” and “EndDate”. Before that please ensure on the top you have already include&lt;strong&gt; &lt;/strong&gt;&lt;/p&gt; &lt;strong&gt;(xmlns:ddwrt=&amp;quot;http://schemas.microsoft.com/WebParts/v2/DataView/runtime&amp;quot;)&lt;/strong&gt; in your “&lt;strong&gt;&amp;lt;xsl:stylesheet&amp;gt;”&lt;/strong&gt;  &lt;br /&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_0UG1v0df0ms/St1gGUd45yI/AAAAAAAAA0w/XggeSjZbuyg/s1600-h/Item%20Style%5B7%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Item Style" border="0" alt="Item Style" src="http://lh3.ggpht.com/_0UG1v0df0ms/St1gJ27KkRI/AAAAAAAAA00/s1TRdkphwnU/Item%20Style_thumb%5B5%5D.png?imgmax=800" width="684" height="877" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 6 :&lt;/em&gt;&lt;/strong&gt; After you have finished included all code and now you can add a “&lt;strong&gt;Content Query Web Part&lt;/strong&gt;” to use this item Style.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;Click &lt;/strong&gt;&lt;a title="http://atquestdemo.blogspot.com/2009/10/practice-apply-custom-item-style-for.html" href="http://atquestdemo.blogspot.com/2009/10/practice-apply-custom-item-style-for.html"&gt;&lt;strong&gt;http://atquestdemo.blogspot.com/2009/10/practice-apply-custom-item-style-for.html&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt; to see how to use item style for Content Query Web Part.&lt;/strong&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 7 :&lt;/em&gt;&lt;/strong&gt; Note that you would not get the output correct unless you do something on the Web Part. Therefore, you have to “&lt;strong&gt;Export&lt;/strong&gt;” it and make changes through “&lt;strong&gt;Note Pad.exe&lt;/strong&gt;”&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_0UG1v0df0ms/St1gKpOf9UI/AAAAAAAAA08/YN6ct9x_Ikc/s1600-h/image%5B40%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_0UG1v0df0ms/St1gLkPHc9I/AAAAAAAAA1A/2qowKlvprkU/image_thumb%5B63%5D.png?imgmax=800" width="282" height="94" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 8 :&lt;/em&gt;&lt;/strong&gt; After you have success open it look for “&lt;strong&gt;CommonViewFields&lt;/strong&gt;” and start addin the “&lt;strong&gt;Internal Site Column&lt;/strong&gt;” value follow by “&lt;strong&gt;data type&lt;/strong&gt;”.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_0UG1v0df0ms/St1gMbEw5MI/AAAAAAAAA1E/etwmCbjqiig/s1600-h/image%5B54%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_0UG1v0df0ms/St1gNeTXziI/AAAAAAAAA1I/Hu212zt8bDI/image_thumb%5B82%5D.png?imgmax=800" width="768" height="16" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 9 :&lt;/em&gt;&lt;/strong&gt; Import the edited web part back to the site and you able to view the whole style format.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;Click &lt;/strong&gt;&lt;a href="http://atquestdemo.blogspot.com/2009/10/practice-steps-to-import-web-part.html" target="_blank"&gt;here&lt;/a&gt;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt; to see how to import Webpart!&lt;/strong&gt;&lt;/p&gt;    &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_0UG1v0df0ms/St1gPMY8_tI/AAAAAAAAA1M/znMmmzGOuU4/s1600-h/image%5B60%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_0UG1v0df0ms/St1gPzGqgLI/AAAAAAAAA1Q/OoiH8GMC65U/image_thumb%5B90%5D.png?imgmax=800" width="710" height="68" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Additional Notes&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font color="#800000"&gt;&lt;strong&gt;Date Time Format Style&lt;/strong&gt;&lt;/font&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_0UG1v0df0ms/St1gQ-ViiFI/AAAAAAAAA1U/IODze_1LbP0/s1600-h/image%5B66%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_0UG1v0df0ms/St1gTQ2rGoI/AAAAAAAAA1Y/Z8vxEGdLYEs/image_thumb%5B98%5D.png?imgmax=800" width="519" height="225" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_0UG1v0df0ms/St1gUeh5qFI/AAAAAAAAA1c/qXfe_1VYdr0/s1600-h/image%5B72%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_0UG1v0df0ms/St1gWPhlx_I/AAAAAAAAA1g/LAzmBCl7vZI/image_thumb%5B106%5D.png?imgmax=800" width="517" height="56" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_0UG1v0df0ms/St1gW22OSnI/AAAAAAAAA1k/-BI00C2R83g/s1600-h/image%5B78%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_0UG1v0df0ms/St1gYFi0UOI/AAAAAAAAA1o/MY8BgOQcASg/image_thumb%5B115%5D.png?imgmax=800" width="519" height="201" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_0UG1v0df0ms/St1gZNZYDgI/AAAAAAAAA1s/KiPcP4UFr7c/s1600-h/image%5B84%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_0UG1v0df0ms/St1gdhDqK3I/AAAAAAAAA1w/ZIFDIMpDvcE/image_thumb%5B122%5D.png?imgmax=800" width="514" height="244" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_0UG1v0df0ms/St1geWHC8EI/AAAAAAAAA10/XNRK4U101bQ/s1600-h/image%5B90%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_0UG1v0df0ms/St1ggNCp2DI/AAAAAAAAA14/yBkbTnUt5Dk/image_thumb%5B129%5D.png?imgmax=800" width="526" height="230" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font size="1"&gt;&lt;u&gt;Reference from :&lt;/u&gt; &lt;/font&gt;&lt;/strong&gt;&lt;a href="http://www.csharp-examples.net/string-format-datetime/" target="_blank"&gt;&lt;font color="#000000" size="1"&gt;Csharp-example : String Format for DateTime [C#]&lt;/font&gt;&lt;/a&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font color="#800000"&gt;&lt;strong&gt;Content Type for Site Columns&lt;/strong&gt;&lt;/font&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_0UG1v0df0ms/St1gg3bFBmI/AAAAAAAAA18/JXAW1Ycu0Wc/s1600-h/image%5B96%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_0UG1v0df0ms/St1giUOiYKI/AAAAAAAAA2A/gGodM06QcvI/image_thumb%5B141%5D.png?imgmax=800" width="522" height="224" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font size="1"&gt;Reference from : &lt;/font&gt;&lt;/strong&gt;&lt;a title="Customizing the Content Query Web Part and Custom Item Styles" href="http://www.heathersolomon.com/blog/articles/CustomItemStyle.aspx" target="_blank"&gt;&lt;strong&gt;&lt;font color="#000000" size="1"&gt;Heathersolomon : Customizing the Content Query Web Part and Custom Item Styles&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6398653711184361908-8054495579361528653?l=atquestdemo.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://atquestdemo.blogspot.com/2009/10/tutorial-customize-content-query.html</link><author>noreply@blogger.com (Jeffrey Chan)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6398653711184361908.post-7019439622293259494</guid><pubDate>Tue, 20 Oct 2009 06:01:00 +0000</pubDate><atom:updated>2009-10-20T14:02:02.670+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Tutorial</category><title>Step By Step Guide for Windows Server 2008 Domain Controller and DNS Server Setup</title><description>&lt;p&gt;Click on Start &amp;gt; Run&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/1.png" width="399" height="529" /&gt;    &lt;br /&gt;Now type dcpromo &amp;gt; Click OK&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/2.png" width="417" height="222" /&gt;&lt;/p&gt;  &lt;p&gt;The system will start checking if Active Directory Domain Services ( AD DS) binaries are installed, then will start installing them. The binaries could be installed if you had run the dcpromo command previously and then canceled the operation after the binaries were installed.&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/3.png" width="281" height="155" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/4.png" width="280" height="153" /&gt;&lt;/p&gt;  &lt;p&gt;The Active Directory Domain Services Installation Wizard will start, either enable the checkbox beside Use Advanced mode installation and Click Next , or keep it unselected and click on Next&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/5.png" width="503" height="476" /&gt;&lt;/p&gt;  &lt;p&gt;The Operating System Compatibility page will be displayed, take a moment to read it and click Next&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/6.png" width="503" height="475" /&gt;&lt;/p&gt;  &lt;p&gt;Choose Create a new domain in a new forest, Click Next&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/7.png" width="502" height="476" /&gt;&lt;/p&gt;  &lt;p&gt;Enter the Fully Qualified Domain Name of the forest root domain inside the textbox, click Next&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/8.png" width="502" height="475" /&gt;&lt;/p&gt;  &lt;p&gt;If you selected Use advanced mode installation on the Welcome page, the Domain NetBIOS Name page appears. On this page, type the NetBIOS name of the domain if necessary or accept the default name and then click Next.&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/10.png" width="502" height="475" /&gt;&lt;/p&gt;  &lt;p&gt;Select the Forest Functional Level, choose the level you desire and click on Next.&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/11.png" width="500" height="475" /&gt;&lt;/p&gt;  &lt;p&gt;Make sure to read the description of each functional level to understand the difference between each one.&lt;/p&gt;  &lt;p&gt;In the previous step, If you have selected any Forest Functional Level other than windows Server 2008 and clicked on Next , you would then get a page to select the domain Functional Level. Select it and then click on Next&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/13.png" width="503" height="475" /&gt;&lt;/p&gt;  &lt;p&gt;In the Additional Domain Controller Options page, you can select to install the &lt;a href="http://www.windowsreference.com/#"&gt;domain NameService&lt;/a&gt; to your server. Note that the First domain controller in a forest must be a Global Catalog that’s why the checkbox beside Global Catalog is selected and it cannot be cleared. The checkbox is also selected by default when you install an additional domain controller in an existing domain, however you can clear this checkbox if you do not want the additional domain controller to be a global catalog server. The first domain controller in a new forest or in a new domain can not be a Read Only Domain Controller (RODC), you can later add a RODC but you must have at least one Windows Server 2008 Domain Controller.&lt;/p&gt;  &lt;p&gt;I want to set my DC as a DNS Server as well, so I will keep the checkbox beside &lt;a href="http://www.windowsreference.com/#"&gt;DNS server&lt;/a&gt;selected and click on Next&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/14.png" width="504" height="476" /&gt;&lt;/p&gt;  &lt;p&gt;If you don’t have static ip assigned to your server you will see similar to the following screen now you need to assign static ip and start the above process.&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/15.png" width="572" height="475" /&gt;&lt;/p&gt;  &lt;p&gt;If the wizard cannot create a delegation for the DNS server, it displays a message to indicate that you can create the delegation manually. To continue, click Yes&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/16.png" width="533" height="474" /&gt;&lt;/p&gt;  &lt;p&gt;Now you will have the location where the domain controller database, log files and SYSVOL are stored on the server.&lt;/p&gt;  &lt;p&gt;The database stores information about the users, &lt;a href="http://www.windowsreference.com/#"&gt;computers&lt;/a&gt; and other objects on the network. the log files record activities that are related to AD DS, such information about an object being updated. SYSVOL stores Group Policy objects and scripts. By default, SYSVOL is part of the operating system files in the Windows directory either type or browse to the volume and folder where you want to store each, or accept the defaults and click on Next&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/17.png" width="502" height="475" /&gt;&lt;/p&gt;  &lt;p&gt;In the Directory Services Restore Mode Administrator Password (DSRM) page, write a password and confirm it. This password is used when the domain controller is started in Directory Services Restore Mode, which might be because Active Directory Domain services is not running, or for tasks that must be performed offline.Make sure that you memorize this password when you need it.&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/18.png" width="502" height="476" /&gt;&lt;/p&gt;  &lt;p&gt;Summary page will be displayed showing you all the setting that you have set . It gives you the option to export the setting you have setup into an answer file for use with other unattended operations, if you wish to have such file, click on the Export settings button and save the file.&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/19.png" width="501" height="474" /&gt;&lt;/p&gt;  &lt;p&gt;DNS Installation will start&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/20.png" width="435" height="305" /&gt;&lt;/p&gt;  &lt;p&gt;Followed by installing Group Policy Management Console, the system will check first if it is installed or not.&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/21.png" width="436" height="304" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/22.png" width="436" height="304" /&gt;&lt;/p&gt;  &lt;p&gt;Configuring the local computer to host active directory Domain Services and other operations will take place setting up this server as a Domain Controller active Directory Domain Services installation will be completed, click Finish.&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/23.png" width="501" height="476" /&gt;&lt;/p&gt;  &lt;p&gt;Click on Restart Now to restart your server for the changes to take effect.&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/24.png" width="358" height="140" /&gt;&lt;/p&gt;  &lt;p&gt;Once the server is booted and you logon to it, click on Start &amp;gt; Administrative Tools   &lt;br /&gt;you will notice that following have been installed :    &lt;br /&gt;Active Directory Domains and Trusts    &lt;br /&gt;Active Directory Sites and Services    &lt;br /&gt;Active Directory Users and Computers    &lt;br /&gt;ADSI Edit    &lt;br /&gt;DNS    &lt;br /&gt;Group Policy Management&lt;/p&gt;  &lt;p&gt;&lt;img align="middle" src="http://www.windowsreference.com/images/2008dc/25.png" width="643" height="722" /&gt;&lt;/p&gt;  &lt;p&gt;That’s it now your new win server 2008 domain controller with dns server setup was completed.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.windowsreference.com/windows-server-2008/step-by-step-guide-for-windows-server-2008-domain-controller-and-dns-server-setup/" target="_blank"&gt;Original Article&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6398653711184361908-7019439622293259494?l=atquestdemo.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://atquestdemo.blogspot.com/2009/10/step-by-step-guide-for-windows-server.html</link><author>noreply@blogger.com (Doom's Back !!!)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6398653711184361908.post-4048617945213663122</guid><pubDate>Tue, 20 Oct 2009 04:36:00 +0000</pubDate><atom:updated>2009-10-20T16:59:26.438+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Practice</category><title>[Practice] Steps to Apply Custom Item Style for Content Query Webpart</title><description>&lt;p&gt;Many of times, SharePoint developer need to&amp;#160; poll out some content from any list or library. Therefore it is important that IT consultant should have a briefly idea on how does it work..&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 1 :&lt;/em&gt;&lt;/strong&gt; Click on “&lt;strong&gt;Site Action&lt;/strong&gt;” &lt;strong&gt;&amp;gt;&lt;/strong&gt; “&lt;strong&gt;Edit Page&lt;/strong&gt;”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_0UG1v0df0ms/St09UlFWOKI/AAAAAAAAAzQ/eH6SEhHwu3M/s1600-h/image%5B55%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_0UG1v0df0ms/St09X1BnO-I/AAAAAAAAAzU/1bajQJfUoeE/image_thumb%5B49%5D.png?imgmax=800" width="191" height="267" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 2 :&lt;/em&gt;&lt;/strong&gt; Now you are in “&lt;strong&gt;edit mode&lt;/strong&gt;” and click on “&lt;strong&gt;Add a Web Part&lt;/strong&gt;”.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_0UG1v0df0ms/St09ZJ1JFSI/AAAAAAAAAzY/yXZrrGMobSo/s1600-h/image%5B57%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_0UG1v0df0ms/St09bphB4nI/AAAAAAAAAzc/W6hr_iaSxso/image_thumb%5B54%5D.png?imgmax=800" width="635" height="126" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 3 :&lt;/em&gt;&lt;/strong&gt; Choose “&lt;strong&gt;Content Query Web Part&lt;/strong&gt;” and click “&lt;strong&gt;Add&lt;/strong&gt;” in order to add a new web part in your page. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_0UG1v0df0ms/St09f49wCoI/AAAAAAAAAzg/aoNIAo7Oy4w/s1600-h/image%5B58%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_0UG1v0df0ms/St09kyLim4I/AAAAAAAAAzk/g3AkUUCn1G8/image_thumb%5B58%5D.png?imgmax=800" width="368" height="379" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 4 :&lt;/em&gt;&lt;/strong&gt; This web part will pull out all content from the portal by default, to customize the output user click on “&lt;strong&gt;edit&lt;/strong&gt;” &amp;gt; “&lt;strong&gt;Modify Shared Web Part&lt;/strong&gt;”.&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_0UG1v0df0ms/St09slzdEZI/AAAAAAAAAzo/QlwnxPX9jjQ/s1600-h/image%5B59%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_0UG1v0df0ms/St09zbLg8fI/AAAAAAAAAzs/IJ6F7GY9Py8/image_thumb%5B62%5D.png?imgmax=800" width="547" height="256" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 5 :&lt;/em&gt;&lt;/strong&gt; Panel will be prompted out and now you can custom what content to poll out.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_0UG1v0df0ms/St093JjdrjI/AAAAAAAAAzw/OKtToGke53E/s1600-h/image%5B40%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_0UG1v0df0ms/St097YMKDiI/AAAAAAAAAz0/tILX3qL1GSU/image_thumb%5B33%5D.png?imgmax=800" width="639" height="217" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 6 :&lt;/em&gt;&lt;/strong&gt; To use the customized style, you please click on “&lt;strong&gt;Presentation&lt;/strong&gt;” &amp;gt; “&lt;strong&gt;Item Style&lt;/strong&gt;”. All available style in your ItemStyle.xsl will shown here.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_0UG1v0df0ms/St0-AwsWmrI/AAAAAAAAAz4/QUDXbFNQtcU/s1600-h/image%5B72%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_0UG1v0df0ms/St0-HkLhYcI/AAAAAAAAAz8/SPIp5UweoBg/image_thumb%5B81%5D.png?imgmax=800" width="746" height="248" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Step 7 :&lt;/em&gt;&lt;/strong&gt; Apply and Publish the page, now you can view a different style for your content.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_0UG1v0df0ms/St0-MNdnmHI/AAAAAAAAA0A/osiSE9x7ILk/s1600-h/image%5B62%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_0UG1v0df0ms/St0-SJM5TII/AAAAAAAAA0E/NXWv83gFLtc/image_thumb%5B71%5D.png?imgmax=800" width="751" height="249" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;To manually create a custom ItemStyle please read “&lt;a href="http://atquestdemo.blogspot.com/2009/10/tutorial-customize-content-query.html" target="_blank"&gt;Customize Content Query Webpart Item Style in XSLT&lt;/a&gt;”.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6398653711184361908-4048617945213663122?l=atquestdemo.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://atquestdemo.blogspot.com/2009/10/practice-apply-custom-item-style-for.html</link><author>noreply@blogger.com (Jeffrey Chan)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6398653711184361908.post-358743174117059377</guid><pubDate>Mon, 19 Oct 2009 02:23:00 +0000</pubDate><atom:updated>2009-10-19T14:48:55.968+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Tutorial</category><title>[Tutorial] Register Microsoft Filter Pack with SharePoint Server 2007 and with Search Server 2008</title><description>&lt;h5&gt;&lt;strong&gt;&lt;font color="#0080ff"&gt;Step 1: Install Microsoft Filter Pack&lt;/font&gt;&lt;/strong&gt;&lt;/h5&gt; The following file is available for download from the Microsoft Download Center:   &lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=60C92A37-719C-4077-B5C6-CAC34F4227CC"&gt;Download the Microsoft Filter Pack package now.&lt;/a&gt; For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base: &lt;/p&gt;  &lt;p&gt;&lt;a href="http://support.microsoft.com/kb/119591/"&gt;119591&lt;/a&gt; (How to obtain Microsoft support files from online services)&lt;/p&gt;  &lt;p&gt;Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.    &lt;br /&gt;The open and read operations of an IFilter are performed on a Search server that runs the Index role. Therefore, Microsoft Filter Pack must be installed on the farm's Index server. For more information about how to install the Microsoft Filter Pack, visit the following Microsoft Web site: &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=60C92A37-719C-4077-B5C6-CAC34F4227CC"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=60C92A37-719C-4077-B5C6-CAC34F4227CC&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h5&gt;&lt;strong&gt;&lt;font color="#0080c0"&gt;Step 2: Add file types&lt;/font&gt;&lt;/strong&gt;&lt;/h5&gt;  &lt;h6&gt;SharePoint Server 2007&lt;/h6&gt; After you have installed Microsoft Filter Pack, add the file types that you want on a SharePoint Server 2007 computer. For information about how to do this, visit the following Microsoft Web site:   &lt;p&gt;&lt;a href="http://technet.microsoft.com/en-us/library/cc261843.aspx"&gt;http://technet.microsoft.com/en-us/library/cc261843.aspx&lt;/a&gt;&lt;/p&gt;  &lt;h6&gt;Search Server 2008&lt;/h6&gt; To add file types that you want to be indexed after you have installed Microsoft Filter Pack on a computer that is running Search Server 2008, follow these steps.   &lt;br /&gt;&lt;b&gt;Important&lt;/b&gt; You must be a Search Service administrator to follow these steps.   &lt;ol&gt;   &lt;li&gt;On the Search Administration page, click &lt;strong&gt;File Types&lt;/strong&gt; under &lt;strong&gt;Crawling&lt;/strong&gt;. &lt;/li&gt;    &lt;li&gt;On the Manage File Types page, click &lt;strong&gt;New File Type&lt;/strong&gt;. &lt;/li&gt;    &lt;li&gt;On the Add File Type page, type the file name extension in the &lt;strong&gt;File extension&lt;/strong&gt; box for the file type that you want to add.       &lt;br /&gt;For example, to search for Microsoft Office Word documents, type doc.       &lt;br /&gt;&lt;b&gt;Important&lt;/b&gt; Do not include the period (.) character in front of the file name extension. &lt;/li&gt;    &lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt;. &lt;/li&gt;    &lt;li&gt;Repeat steps 2 through 4 for each file type that you want to add. &lt;/li&gt; &lt;/ol&gt; The following table contains all the filters. These include the filters that are already added to the list and the filters that have not been added to the list:   &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_0UG1v0df0ms/StvNT_EGpMI/AAAAAAAAAy0/UiIaOdC4_ZI/s1600-h/Untitled-1%5B4%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Untitled-1" border="0" alt="Untitled-1" src="http://lh4.ggpht.com/_0UG1v0df0ms/StvNVZqrp8I/AAAAAAAAAy4/yzSACT331SM/Untitled-1_thumb%5B2%5D.png?imgmax=800" width="161" height="324" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#0080ff"&gt;Step 3: Add the required registry information&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;b&gt;Warning&lt;/b&gt; Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.   &lt;ol&gt;   &lt;li&gt;Click &lt;strong&gt;Start&lt;/strong&gt;, click &lt;strong&gt;Run&lt;/strong&gt;, type regedit, and then click &lt;strong&gt;OK&lt;/strong&gt;. &lt;/li&gt;    &lt;li&gt;In Registry Editor, locate the following registry subkey:      &lt;p&gt;&lt;strong&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\&lt;/strong&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;On the &lt;strong&gt;Edit&lt;/strong&gt; menu, point to &lt;strong&gt;New&lt;/strong&gt;, and then click &lt;strong&gt;Key&lt;/strong&gt;. &lt;/li&gt;    &lt;li&gt;Type .xlsb, and then press ENTER &lt;/li&gt;    &lt;li&gt;Right-click the registry entry that you created, and then click &lt;strong&gt;Modify&lt;/strong&gt;. &lt;/li&gt;    &lt;li&gt;In the &lt;strong&gt;Value data&lt;/strong&gt; box, copy and paste the following information, and then click &lt;strong&gt;OK&lt;/strong&gt;:       &lt;p&gt;{312AB530-ECC9-496E-AE0E-C9E6C5392499}&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Repeat steps 2 through 6 to add the following subkeys:      &lt;br /&gt;&lt;b&gt;Note&lt;/b&gt; This step is required only for the filters that are not already registered.       &lt;p&gt;&lt;a href="http://support.microsoft.com/#top"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Untitled-2" border="0" alt="Untitled-2" src="http://lh4.ggpht.com/_0UG1v0df0ms/StvNg_tRmlI/AAAAAAAAAzI/PYPcSmjJG6A/Untitled-2%5B6%5D.png?imgmax=800" width="369" height="286" /&gt; &lt;/a&gt;&lt;/p&gt;   &lt;/li&gt; &lt;/ol&gt;  &lt;h5&gt;&lt;strong&gt;&lt;font color="#0080c0"&gt;Step 4: Restart the SharePoint 2007 search service&lt;/font&gt;&lt;/strong&gt;&lt;/h5&gt; To restart the service, follow these steps:   &lt;br /&gt;&lt;b&gt;Important&lt;/b&gt; If you restart the computer before you follow these steps, the registry changes will not persist.   &lt;ol&gt;   &lt;li&gt;Click &lt;strong&gt;Start&lt;/strong&gt;, click &lt;strong&gt;Run&lt;/strong&gt;, type cmd, and then click &lt;strong&gt;OK&lt;/strong&gt;. &lt;/li&gt;    &lt;li&gt;At the command prompt, type net stop osearch, and then press ENTER. &lt;/li&gt;    &lt;li&gt;At the command prompt, type net start osearch, and then press ENTER. &lt;/li&gt;    &lt;li&gt;Type exit, and then press ENTER to exit the command prompt. &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#ff0000"&gt;Download :&lt;/font&gt;&lt;/strong&gt; &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=60C92A37-719C-4077-B5C6-CAC34F4227CC&amp;amp;displaylang=en" target="_blank"&gt;Microsoft Filter Pack&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="1"&gt;Reference from : &lt;/font&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=60C92A37-719C-4077-B5C6-CAC34F4227CC&amp;amp;displaylang=en" target="_blank"&gt;&lt;font style="text-decoration: none" color="#000000" size="1"&gt;Microsoft Download Center: 2007 Office System Converter : Microsoft Filter Pack&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;hr /&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#0080c0"&gt;Others Platform&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;This download will install and register IFilters with the Windows Indexing Service. These IFilters are used by Microsoft Search products to index the contents of specific document formats. This Filter Pack includes IFilters for the following formats: .docx, .docm, .pptx, .pptm, .xlsx, .xlsm, .xlsb, .zip, .one, .vdx, .vsd, .vss, .vst, .vdx, .vsx, and .vtx.    &lt;br /&gt;Because Windows Desktop Search (WDS) consumes IFilters from Windows Indexing Service, the IFilters will be automatically registered and available for use by WDS.     &lt;br /&gt;To register these IFilters with a specific Search product, please see the associated KB article below: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Office SharePoint Server 2007 - &lt;a href="http://go.microsoft.com/?linkid=7912966"&gt;Office SharePoint Server 2007 registration steps&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;Search Server 2008 - &lt;a href="http://go.microsoft.com/?linkid=7912967"&gt;Search Server 2008 registration steps&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;SharePoint Portal Server 2003 - &lt;a href="http://go.microsoft.com/?linkid=7912968"&gt;SharePoint Portal Server 2003 registration steps&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;Windows SharePoint Services v3.0 - &lt;a href="http://go.microsoft.com/?linkid=7912969"&gt;Windows SharePoint Services v3.0 registration steps&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;Exchange Server 2007 - &lt;a href="http://go.microsoft.com/?linkid=7912970"&gt;Exchange Server 2007 registration steps&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;SQL Server 2005 - &lt;a href="http://go.microsoft.com/?linkid=7912971"&gt;SQL Server 2005 registration steps&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;SQL Server 2008 - &lt;a href="http://go.microsoft.com/?linkid=7912972"&gt;SQL Server 2008 registration steps&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=60C92A37-719C-4077-B5C6-CAC34F4227CC&amp;amp;displaylang=en" target="_blank"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6398653711184361908-358743174117059377?l=atquestdemo.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://atquestdemo.blogspot.com/2009/10/tutorial-register-microsoft-filter-pack.html</link><author>noreply@blogger.com (Jeffrey Chan)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item></channel></rss>