<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ideas for free</title>
	<atom:link href="http://cakriwut.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cakriwut.wordpress.com</link>
	<description>Ideas for free</description>
	<lastBuildDate>Mon, 06 Jun 2011 14:55:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='cakriwut.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/4f82ff3ae6c3112a9fab2f4d5f9ab134?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Ideas for free</title>
		<link>http://cakriwut.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://cakriwut.wordpress.com/osd.xml" title="Ideas for free" />
	<atom:link rel='hub' href='http://cakriwut.wordpress.com/?pushpress=hub'/>
		<item>
		<title>SharePoint 2010: Howto start customize list form (New/Edit/View) using InfoPath Designer 2010</title>
		<link>http://cakriwut.wordpress.com/2010/03/21/sharepoint-2010-howto-start-customize-list-form-neweditview-using-infopath-designer-2010/</link>
		<comments>http://cakriwut.wordpress.com/2010/03/21/sharepoint-2010-howto-start-customize-list-form-neweditview-using-infopath-designer-2010/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 11:01:40 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[InfoPath]]></category>

		<guid isPermaLink="false">http://cakriwut.wordpress.com/2010/03/21/sharepoint-2010-howto-start-customize-list-form-neweditview-using-infopath-designer-2010/</guid>
		<description><![CDATA[English In SharePoint 2010 there we have more option to customize list form. For instance, you can use SharePoint Designer 2010 or InfoPath Designer 2010. Since modifying list form using SPD is already exist in previous version. I will just show you how to customize list form using InfoPath Designer 2010. When customizing list form [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cakriwut.wordpress.com&amp;blog=328393&amp;post=274&amp;subd=cakriwut&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>English</p>
<p>In SharePoint 2010 there we have more option to customize list form. For instance, you can use SharePoint Designer 2010 or InfoPath Designer 2010. Since modifying list form using SPD is already exist in previous version. I will just show you how to customize list form using InfoPath Designer 2010.</p>
<p>When customizing list form using InfoPath Designer 2010, you will get all form designer benefit. For example, you can define the field validation rules, parent-child relation etc. And bet what, the process is straight forward. In this very basic how-to, I will demonstrate how to start customize list form using InfoPath Designer 2010. I will create an Book List with &#8220;Title&#8221; – &#8220;Author&#8221; – &#8220;Status&#8221; column. In the New form, I will only show &#8220;Title&#8221; and &#8220;Author&#8221; – while in Edit form, &#8220;Title&#8221; and &#8220;Author&#8221; will be readonly, but &#8220;Status&#8221; is editable.</p>
<p>How to customize list form using InfoPath Designer 2010.</p>
<ol>
<li>
<div>Prepare the custom list.</div>
<p><img src="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint21.png?w=475" alt="" /></p>
<p>Prepare custom &#8220;Book List&#8221; with 3 columns: &#8220;Title&#8221; – &#8220;Author&#8221; – &#8220;Status&#8221;. &#8220;Status&#8221; field is choice &#8220;Available&#8221; – &#8220;In Used&#8221; – &#8220;Missing&#8221;. After creating the list and preparing columns, we can start to use the list and add a new item in this form.</p>
<p><img src="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint22.png?w=475" alt="" /></li>
<li>
<div>Start InfoPath Designer</div>
<p>Start InfoPath Designer and select to design SharePoint List form.</p>
<p><img src="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint23.png?w=475" alt="" /></p>
<p>Type in the SharePoint site URL</p>
<p><img src="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint24.png?w=475" alt="" /></p>
<p>And then select the <strong>Book List</strong> from the list of available data.</p>
<p><img src="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint25.png?w=475" alt="" /></p>
<p>Finally, click on Finish.</p>
<p><img src="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint26.png?w=475" alt="" /></li>
<li>
<div>When the form editor open , you can start to edit the <strong>New form</strong>. I add a title &#8220;<strong>Book List Entry</strong>&#8221; and delete the &#8220;<strong>Status</strong>&#8221; row.</div>
<p> </p>
<p><img src="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint27.png?w=475" alt="" /></p>
<p>And here is the result:</p>
<p><img src="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint28.png?w=475" alt="" /></li>
<li>
<div>Add &#8220;Edit Form&#8221; view in the designer, and set Title and Author as readonly.</div>
<p> </p>
<p><img src="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint29.png?w=475" alt="" /></p>
<p>Type-in the view title.</p>
<p><img src="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint210.png?w=475" alt="" /></p>
<p>Design the form – add &#8220;Status&#8221; column in the form.</p>
<p><img src="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint211.png?w=475" alt="" /></p>
<p>Set &#8220;Title&#8221; and &#8220;Author&#8221; textbox property to &#8220;ReadOnly&#8221;</p>
<p><img src="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint212.png?w=475" alt="" /></p>
<p><img src="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint213.png?w=475" alt="" /></li>
<li>
<div>Publish the form to the list.</div>
<p> </p>
<p><img src="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint214.png?w=475" alt="" /></li>
<li>
<div>Configure the &#8220;Book List&#8221; to use designated form.</div>
<p>Open the list setting page, and expand context menu for the Forms.</p>
<p><img src="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint215.png?w=475" alt="" /></p>
<p>Since the first view will be the default – our interest is only to the <strong>&#8220;(Item) Edit Form&#8221;. </strong>Click on (Item) Edit Form link, and change the Form view.</p>
<p>You will realize that now you are seeing form services in web part.</p>
<p><img src="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint216.png?w=475" alt="" /></p>
<p>Click on <strong>Web Parts Tools</strong> tab, and then click on <strong>Web Part Properties</strong>.</p>
<p><img src="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint217.png?w=475" alt="" /></p>
<p>In the Web Part Properties, select the designated view.</p>
<p><img src="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint218.png?w=475" alt="" /></li>
<li>
<div>And here we go with the custom &#8220;New Form&#8221; and &#8220;Edit Form&#8221; for the list.</div>
<p>New Form.</p>
<p><img src="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint219.png?w=475" alt="" /></p>
<p>Edit Form.</p>
<p><img src="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint220.png?w=475" alt="" /></p>
<p>Happy design</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cakriwut.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cakriwut.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cakriwut.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cakriwut.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cakriwut.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cakriwut.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cakriwut.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cakriwut.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cakriwut.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cakriwut.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cakriwut.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cakriwut.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cakriwut.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cakriwut.wordpress.com/274/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cakriwut.wordpress.com&amp;blog=328393&amp;post=274&amp;subd=cakriwut&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cakriwut.wordpress.com/2010/03/21/sharepoint-2010-howto-start-customize-list-form-neweditview-using-infopath-designer-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb61e36e36eacc92052ad851004fe726?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cakriwut</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint21.png" medium="image" />

		<media:content url="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint22.png" medium="image" />

		<media:content url="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint23.png" medium="image" />

		<media:content url="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint24.png" medium="image" />

		<media:content url="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint25.png" medium="image" />

		<media:content url="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint26.png" medium="image" />

		<media:content url="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint27.png" medium="image" />

		<media:content url="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint28.png" medium="image" />

		<media:content url="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint29.png" medium="image" />

		<media:content url="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint210.png" medium="image" />

		<media:content url="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint211.png" medium="image" />

		<media:content url="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint212.png" medium="image" />

		<media:content url="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint213.png" medium="image" />

		<media:content url="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint214.png" medium="image" />

		<media:content url="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint215.png" medium="image" />

		<media:content url="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint216.png" medium="image" />

		<media:content url="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint217.png" medium="image" />

		<media:content url="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint218.png" medium="image" />

		<media:content url="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint219.png" medium="image" />

		<media:content url="http://cakriwut.files.wordpress.com/2010/03/032110_1048_sharepoint220.png" medium="image" />
	</item>
		<item>
		<title>Howto Series : Administration</title>
		<link>http://cakriwut.wordpress.com/2009/09/16/howto-series-administration/</link>
		<comments>http://cakriwut.wordpress.com/2009/09/16/howto-series-administration/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 16:42:26 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[Office Server 2007]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://cakriwut.wordpress.com/?p=251</guid>
		<description><![CDATA[English I am trying to blog howto series on administration with graphical descriptions. 1. Howto configure personal regional settings. 2. Howto limits page layouts availability in web site. 3. Howto enable debuging in SharePoint Web Application. 4. Howto configure alternate access mapping. 5. Howto remove My Site or My Links link. &#8230; and more are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cakriwut.wordpress.com&amp;blog=328393&amp;post=251&amp;subd=cakriwut&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>English</p>
<p>I am trying to blog howto series on administration with graphical descriptions.</p>
<p>1. <a href="http://blog.libinuko.com/2009/06/24/howto-configure-personal-regional-setting/">Howto configure personal regional settings</a>.<br />
2. <a href="http://blog.libinuko.com/2009/05/17/howto-limits-pagelayouts-availability-in-create-page/">Howto limits page layouts availability in web site</a>.<br />
3. <a href="http://blog.libinuko.com/2009/03/19/howto-enable-debuging-in-sharepoint-web-application/">Howto enable debuging in SharePoint Web Application</a>.<br />
4. <a href="http://blog.libinuko.com/2009/02/17/howto-configure-alternate-access-mapping/">Howto configure alternate access mapping</a>.<br />
5. <a href="http://blog.libinuko.com/2008/12/24/howto-disable-mysite-or-my-links-link/">Howto remove My Site or My Links link</a>.</p>
<p>&#8230; and more are coming.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cakriwut.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cakriwut.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cakriwut.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cakriwut.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cakriwut.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cakriwut.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cakriwut.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cakriwut.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cakriwut.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cakriwut.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cakriwut.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cakriwut.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cakriwut.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cakriwut.wordpress.com/251/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cakriwut.wordpress.com&amp;blog=328393&amp;post=251&amp;subd=cakriwut&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cakriwut.wordpress.com/2009/09/16/howto-series-administration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb61e36e36eacc92052ad851004fe726?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cakriwut</media:title>
		</media:content>
	</item>
		<item>
		<title>Howto series : Lambda and SharePoint</title>
		<link>http://cakriwut.wordpress.com/2009/09/14/howto-series-lambda-and-sharepoint/</link>
		<comments>http://cakriwut.wordpress.com/2009/09/14/howto-series-lambda-and-sharepoint/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 23:30:06 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[Microsoft Sharepoint]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://cakriwut.wordpress.com/?p=248</guid>
		<description><![CDATA[English I wrote some howto series for Lambda and SharePoint, you can find them here: 1. How to use lambda expression in SharePoint Object Model. 2. How to use lambda expression in SharePoint Object Model &#8211; working with WebApplication. 3. How to use lambda expression in SharePoint Object Model &#8211; working with SPWeb. .. and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cakriwut.wordpress.com&amp;blog=328393&amp;post=248&amp;subd=cakriwut&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>English</p>
<p>I wrote some howto series for Lambda and SharePoint, you can find them here:</p>
<p>1. <a href="http://blog.libinuko.com/2009/04/21/howto-use-lambda-expression-in-sharepoint-object-model/">How to use lambda expression in SharePoint Object Model</a>.<br />
2. <a href="http://blog.libinuko.com/2009/05/17/howto-use-lambda-expression-in-sharepoint-object-model-working-with-webapplication/">How to use lambda expression in SharePoint Object Model &#8211; working with WebApplication</a>.<br />
3. <a href="Use lambda expression in SharePoint – Working with SPWeb">How to use lambda expression in SharePoint Object Model &#8211; working with SPWeb</a>.</p>
<p>.. and more</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cakriwut.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cakriwut.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cakriwut.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cakriwut.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cakriwut.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cakriwut.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cakriwut.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cakriwut.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cakriwut.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cakriwut.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cakriwut.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cakriwut.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cakriwut.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cakriwut.wordpress.com/248/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cakriwut.wordpress.com&amp;blog=328393&amp;post=248&amp;subd=cakriwut&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cakriwut.wordpress.com/2009/09/14/howto-series-lambda-and-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb61e36e36eacc92052ad851004fe726?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cakriwut</media:title>
		</media:content>
	</item>
		<item>
		<title>Moving to the new home</title>
		<link>http://cakriwut.wordpress.com/2009/01/01/moving-to-the-new-home/</link>
		<comments>http://cakriwut.wordpress.com/2009/01/01/moving-to-the-new-home/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 23:34:02 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://cakriwut.wordpress.com/?p=246</guid>
		<description><![CDATA[English Begining the new Year 2009, I am moving this blog to the new home http://blog.libinuko.com. I&#8217;ll keep this location for references &#8211; and archives. I still use WordPress as blogging engine in the new home &#8211; but with entirely free ideas to put-in plugins, themes etc. Thanks to WordPress.com which gaves me true blogging [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cakriwut.wordpress.com&amp;blog=328393&amp;post=246&amp;subd=cakriwut&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>English</p>
<p>Begining the new Year 2009, I am moving this blog to the new home <a href="http://blog.libinuko.com">http://blog.libinuko.com</a>. I&#8217;ll keep this location for references &#8211; and archives. I still use WordPress as blogging engine in the new home &#8211; but with entirely free ideas to put-in plugins, themes etc.</p>
<p>Thanks to WordPress.com which gaves me true blogging experience.</p>
<p> </p>
<p>Bahasa</p>
<p>Mengawali tahun 2009, saya memindahkan blog ini ke tempat yang baru  <a href="http://blog.libinuko.com">http://blog.libinuko.com</a>. Blog ini akan tetap ada sebagai referensi dan arsip.  </p>
<p>Terima kasih WordPress.com yang telah memberi pengalaman blogging selama ini.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cakriwut.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cakriwut.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cakriwut.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cakriwut.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cakriwut.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cakriwut.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cakriwut.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cakriwut.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cakriwut.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cakriwut.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cakriwut.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cakriwut.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cakriwut.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cakriwut.wordpress.com/246/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cakriwut.wordpress.com&amp;blog=328393&amp;post=246&amp;subd=cakriwut&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cakriwut.wordpress.com/2009/01/01/moving-to-the-new-home/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb61e36e36eacc92052ad851004fe726?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cakriwut</media:title>
		</media:content>
	</item>
		<item>
		<title>Hyper V Installation using Microsoft Hyper-V and VMWare ESXI</title>
		<link>http://cakriwut.wordpress.com/2008/09/28/hyper-v-installation-using-microsoft-hyper-v-and-vmware-esxi/</link>
		<comments>http://cakriwut.wordpress.com/2008/09/28/hyper-v-installation-using-microsoft-hyper-v-and-vmware-esxi/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 01:34:47 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://cakriwut.wordpress.com/2008/09/28/hyper-v-installation-using-microsoft-hyper-v-and-vmware-esxi/</guid>
		<description><![CDATA[English: I just found a video comparing installation of Microsoft Hyper-V and VMWare ESXI. Indonesian: Ada yang mau mencoba Microsoft Hyper-V atau VMWare ESXI? Temukan caranya Hyper V side-by-side comparison. &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cakriwut.wordpress.com&amp;blog=328393&amp;post=244&amp;subd=cakriwut&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>English:</p>
<p>I just found <a title="Hyper V side-by-side comparison" target="_blank" href="http://www.vmware.com/technology/whyvmware/resources/esxi-hyper-v-installation.html">a video comparing installation of Microsoft Hyper-V and VMWare ESXI</a>.</p>
<p>Indonesian:</p>
<p>Ada yang mau mencoba Microsoft Hyper-V atau VMWare ESXI? Temukan caranya <a target="_blank" href="http://www.vmware.com/technology/whyvmware/resources/esxi-hyper-v-installation.html">Hyper V side-by-side comparison</a>.</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cakriwut.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cakriwut.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cakriwut.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cakriwut.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cakriwut.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cakriwut.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cakriwut.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cakriwut.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cakriwut.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cakriwut.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cakriwut.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cakriwut.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cakriwut.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cakriwut.wordpress.com/244/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cakriwut.wordpress.com&amp;blog=328393&amp;post=244&amp;subd=cakriwut&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cakriwut.wordpress.com/2008/09/28/hyper-v-installation-using-microsoft-hyper-v-and-vmware-esxi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb61e36e36eacc92052ad851004fe726?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cakriwut</media:title>
		</media:content>
	</item>
		<item>
		<title>Why Should We Use List and/or ID in Query String?</title>
		<link>http://cakriwut.wordpress.com/2008/09/07/why-should-we-use-list-andor-id-in-query-string/</link>
		<comments>http://cakriwut.wordpress.com/2008/09/07/why-should-we-use-list-andor-id-in-query-string/#comments</comments>
		<pubDate>Sun, 07 Sep 2008 17:18:01 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[Microsoft Sharepoint]]></category>
		<category><![CDATA[Office 12]]></category>
		<category><![CDATA[Office Server 2007]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://cakriwut.wordpress.com/2008/09/07/why-should-we-use-list-andor-id-in-query-string/</guid>
		<description><![CDATA[English (versi bahasa Indonesia) One of my team asked me why should we use &#8220;List={GUID}&#8221; and/or &#8220;ID={ItemID}&#8221; in query string? Can&#8217;t we use other query string name? My answer is yes you can use other query string name, but you will lost one of out of the box functionality. Why? Because when you keep with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cakriwut.wordpress.com&amp;blog=328393&amp;post=239&amp;subd=cakriwut&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a id="English" name="English"><strong>English</strong></a> <em>(<a href="#Indonesia">versi bahasa Indonesia</a>)</em></p>
<p>One of my team asked me why should we use &ldquo;List={GUID}&rdquo; and/or &ldquo;ID={ItemID}&rdquo; in query string? Can&rsquo;t we use other query string name?</p>
<p>My answer is yes you can use other query string name, but you will lost one of out of the box functionality. Why? Because when you keep with standar &ldquo;List&rdquo; or &ldquo;ID&rdquo; query string then you don&rsquo;t need to parse it anymore &ndash;&nbsp;then&nbsp;SharePoint provides simple way to get SPList or SPListItem object using SPContext.</p>
<p>The query string&nbsp;&nbsp;<em>&ldquo;List={GUID}&rdquo;</em> has corresponden <strong><em>SPContext.List</em></strong> , and query string <em>&ldquo;List={GUID}&amp;ID={ItemID}&rdquo;</em> has the corresponden <strong><em>SPContext.Item</em></strong>. SPContext.List is SPList and SPContext.Item is SPListItem that can be obtained easily if you follow the convention.</p>
<p>So, check your code now.&nbsp;</p>
<p align="center">-o0o-</p>
<p>&nbsp;</p>
<p><a id="Indonesian" name="Indonesian"><strong>Indonesia</strong></a> <em>(<a href="#English">see English version</a>)</em></p>
<p>Ada pertanyaan dari salah satu tim saya kenapa kita harus menggunakan&nbsp;&ldquo;List={GUID}&rdquo;&nbsp;dan/atau &ldquo;ID={ItemID}&rdquo; di dalam query string? dan apakah kita tidak boleh menggunakan nama lain untuk query string?</p>
<p>Jawabannya adalah tentu saja kita dapat menggunakan nama lain, tetapi kita akan kehilangan salah satu fungsi yang sudah disediakan oleh SharePoint. Mengapa? </p>
<p>Karena jika kita tetap menggunakan standar &ldquo;List&rdquo; atau &ldquo;ID&rdquo; didalam query string, maka kita tidak perlu melakukan parsing parameter lagi. Dan untuk itu SharePoint telah menyediakan cara yang sangat mudah untuk memperoleh object SPList atau SPListItem dengan menggunakan SPContext. </p>
<p>Query string&nbsp;&nbsp;<em>&ldquo;List={GUID}&rdquo;</em> memungkinkan kita untuk memperoleh&nbsp;<strong><em>SPContext.List</em></strong> , dan query string&nbsp;<em>&ldquo;List={GUID}&amp;ID={ItemID}&rdquo;</em> memungkinkan kita untuk memperoleh&nbsp;<strong><em>SPContext.Item</em></strong>. SPContext.List adalah objek SPList dan SPContext.Item adalah objek SPListItem yang dengan mudah diperoleh hanya jika kita mengikuti konvensi tersebut.</p>
<p>Jadi, coba cek lagi apakah sudah mengikuti konvensi yang berlaku?</p>
<div class="bjtags">Tags:  <a rel="tag" href="http://technorati.com/tag/Microsoft+Office+SharePoint+Server+2007">Microsoft+Office+SharePoint+Server+2007</a>, <a rel="tag" href="http://technorati.com/tag/JQuery">JQuery</a>, <a rel="tag" href="http://technorati.com/tag/Tips">Tips</a></div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cakriwut.wordpress.com/239/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cakriwut.wordpress.com/239/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cakriwut.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cakriwut.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cakriwut.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cakriwut.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cakriwut.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cakriwut.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cakriwut.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cakriwut.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cakriwut.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cakriwut.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cakriwut.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cakriwut.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cakriwut.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cakriwut.wordpress.com/239/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cakriwut.wordpress.com&amp;blog=328393&amp;post=239&amp;subd=cakriwut&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cakriwut.wordpress.com/2008/09/07/why-should-we-use-list-andor-id-in-query-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb61e36e36eacc92052ad851004fe726?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cakriwut</media:title>
		</media:content>
	</item>
		<item>
		<title>What can cause &#8220;Error page has been modified&#8221;</title>
		<link>http://cakriwut.wordpress.com/2008/09/07/what-can-cause-error-page-has-been-modified/</link>
		<comments>http://cakriwut.wordpress.com/2008/09/07/what-can-cause-error-page-has-been-modified/#comments</comments>
		<pubDate>Sun, 07 Sep 2008 03:08:13 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[Microsoft Sharepoint]]></category>
		<category><![CDATA[Office 12]]></category>
		<category><![CDATA[Office Server 2007]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://cakriwut.wordpress.com/2008/09/07/what-can-cause-error-page-has-been-modified/</guid>
		<description><![CDATA[English (versi bahasa Indonesia) For anyone who customize SharePoint using SharePoint Designer, I believe you&#8217;ve familiar with &#8220;Error page has been modified&#8221;. The reason is obvious, you open the page in browser while modifying it using SharePoint Designer. Then save the page withing SharePoint Designer and try to access any links in that page. So, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cakriwut.wordpress.com&amp;blog=328393&amp;post=237&amp;subd=cakriwut&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a id="English" name="English"><strong>English</strong></a> <em>(<a href="#Indonesia">versi bahasa Indonesia</a>)</em></p>
<p align="left">For anyone who customize SharePoint using SharePoint Designer, I believe you&rsquo;ve familiar with &ldquo;Error page has been modified&rdquo;. The reason is obvious, you open the page in browser while modifying it using SharePoint Designer. Then save the page withing SharePoint Designer and try to access any links in that page. So, just go back , refresh and the link will works again.</p>
<p align="left"><img alt="PageRefreshIssue" src="http://cakriwut.files.wordpress.com/2008/09/pagerefreshissue.jpg?w=475" border="0" /></p>
<p align="left">But how about in a case that this happened in production environment, where nobody edit the page behind the screen. What can cause &ldquo;Error page has been modified&rdquo; ?</p>
<p align="left">I have tried some resources from internet and check whether this can help me solve the problem:</p>
<p align="left">1. One or more feature is missing (<a href="http://forums.technet.microsoft.com/en-US/sharepointgeneral/thread/9a98188b-9dec-4d85-b8b7-47ba41e5271f/">http://forums.technet.microsoft.com/en-US/sharepointgeneral/thread/9a98188b-9dec-4d85-b8b7-47ba41e5271f/</a>)<br />2. Use of PublishingLayoutsPage instead of TemplateRedirectionPage (<a href="http://blogs.msdn.com/tejasr/archive/2008/06/19/resolution-moss-this-page-has-been-modified-since-you-opened-it-you-must-open-the-page-again.aspx">http://blogs.msdn.com/tejasr/archive/2008/06/19/resolution-moss-this-page-has-been-modified-since-you-opened-it-you-must-open-the-page-again.aspx</a>)<br />3. Use of NLB with affinity set to none (<a href="http://support.microsoft.com/kb/892348">http://support.microsoft.com/kb/892348</a>)<br />4. Some says that security enhancement in MOSS SP1 (<a href="http://www.microsoft.com/downloads/info.aspx?na=49&amp;p=1&amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;SrcFamilyId=ad59175c-ad6a-4027-8c2f-db25322f791b&amp;u=http%3a%2f%2fsupport.microsoft.com%2f%3fkbid%3d936984"><font color="#0033cc">KB936984</font></a>) /WSS SP1 (<a href="http://www.microsoft.com/downloads/info.aspx?na=49&amp;p=1&amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;SrcFamilyId=4191a531-a2e9-45e4-b71e-5b0b17108bd2&amp;u=http%3a%2f%2fsupport.microsoft.com%2f%3fkbid%3d936988"><font color="#0033cc">KB936988</font></a>)help to fix this problem.</p>
<p align="left">But unfortunatelly I come back with no luck, untill I read an article &ldquo;<a href="http://daniellarson.spaces.live.com/Blog/cns!D3543C5837291E93!1993.entry" target="_blank">The evil&rsquo;s of RunWithElevatedPrivilege</a>&nbsp;from Danniel Larson&rdquo;. I believe that since it drops down to the thread identity,&nbsp;then the current&nbsp;session in page is no longer valid with the links. Thus creating&nbsp;exception &ldquo;Error page has been modified&rdquo;.&nbsp; Then, I instructed my team to change all&nbsp;impersonation method to use </p>
<p><strong>SPUserToken sysToken = SPContext.Current.Site.SystemAccount.UserToken;</strong><br />using(var systemSite = new SPSite(SPContext.Current.Site.ID, <strong>sysToken</strong>))<br />{<br />&nbsp;&nbsp;&nbsp; using (var sysWeb = systemSite.OpenWeb(SPContext.Current.Web.ID))<br />&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Perform elevated actions here<br />&nbsp;&nbsp;&nbsp; }<br />}</p>
<p align="left">instead of using old</p>
<p align="left"><strike>SPSecurity.RunWithElevatedPrivilege(delegate() <br />{<br />&nbsp;&nbsp;&nbsp;&nbsp; using(var systemSite = new SPSite(SPContext.Current.Web.Url))<br />&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using (var sysWeb = systemSite.OpenWeb(SPContext.Current.Web.ID))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Perform elevated actions here<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />});</strike></p>
<p align="left">&nbsp;</p>
<p align="left">That is&nbsp;and the production issues gone. So from now I would add one more entry to the list, <strong>Minimalize using&nbsp;RunWithElevatedPrivilege in your code, and use SPUserToken instead</strong>.</p>
<p align="center">-o0o-</p>
<p>&nbsp;</p>
<p><a id="Indonesian" name="Indonesian"><strong>Indonesia</strong></a> <em>(<a href="#English">see English version</a>)</em></p>
<p align="left">Bagi rekan-rekan yang sering bekerja dengan SharePoint Designer, pesan kesalahan berikut ini pasti sering dijumpai &ldquo;Error page has been modified&rdquo;. Penyebabnya jelas sekali, karena kita membuka halaman di browser sementara di balik layar dilakukan editing dengan menggunakan SharePoint Designer. Kemudian setelah melakukan editing dan menyimpan halaman di SharePoint designer, kita langsung mengklik salah satu link di halaman yang telah dibuka. Cara mengatasinya cukup mudah , kembali ke halaman semula , refresh dan link-link akan bisa diakses seperti semula. </p>
<p align="left"><img alt="PageRefreshIssue" src="http://cakriwut.files.wordpress.com/2008/09/pagerefreshissue.jpg?w=475" border="0" /></p>
<p align="left">Tetapi bagaimana dengan kejadian yang muncul di server produksi? Di server produksi, tidak seorang pun mengedit halaman dengan SharePoint Designer. Jadi apa yang bisa menyebabkan&nbsp;&ldquo;Error page has been modified&rdquo; ?</p>
<p align="left">Seperti biasa, saya mencari-cari informasi di internet dan menemukan beberapa hal dibawah yang mungkin dapat membantu:</p>
<p align="left">1. Ada fitur yang ada di datastore tapi hilang secara fisik&nbsp;(<a href="http://forums.technet.microsoft.com/en-US/sharepointgeneral/thread/9a98188b-9dec-4d85-b8b7-47ba41e5271f/">http://forums.technet.microsoft.com/en-US/sharepointgeneral/thread/9a98188b-9dec-4d85-b8b7-47ba41e5271f/</a>)<br />2. Tidak menggunakan TemplateRedirectionPage tapi&nbsp;PublishingLayoutsPage (<a href="http://blogs.msdn.com/tejasr/archive/2008/06/19/resolution-moss-this-page-has-been-modified-since-you-opened-it-you-must-open-the-page-again.aspx">http://blogs.msdn.com/tejasr/archive/2008/06/19/resolution-moss-this-page-has-been-modified-since-you-opened-it-you-must-open-the-page-again.aspx</a>)<br />3. Menggunakan NLB dengan affinity diatur none (<a href="http://support.microsoft.com/kb/892348">http://support.microsoft.com/kb/892348</a>)<br />4. Beberapa mengatakan bahwa perbaikan prosedur keamanan di&nbsp;MOSS SP1 (<a href="http://www.microsoft.com/downloads/info.aspx?na=49&amp;p=1&amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;SrcFamilyId=ad59175c-ad6a-4027-8c2f-db25322f791b&amp;u=http%3a%2f%2fsupport.microsoft.com%2f%3fkbid%3d936984"><font color="#0033cc">KB936984</font></a>) /WSS SP1 (<a href="http://www.microsoft.com/downloads/info.aspx?na=49&amp;p=1&amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;SrcFamilyId=4191a531-a2e9-45e4-b71e-5b0b17108bd2&amp;u=http%3a%2f%2fsupport.microsoft.com%2f%3fkbid%3d936988"><font color="#0033cc">KB936988</font></a>) akan membantu menyelesaikan masalah.</p>
<p align="left">Sayangnya semua hal diatas sudah terpenuhi, tetapi tetap saja masalah tersebut muncul. Sampai akhirnya saya membaca artikel&nbsp;tentang RunWithElevatedPrivilege&nbsp;- &ldquo;<a href="http://daniellarson.spaces.live.com/Blog/cns!D3543C5837291E93!1993.entry" target="_blank">The evil&rsquo;s of RunWithElevatedPrivilege</a>&nbsp;dari Danniel Larson&rdquo;. Dari penjelasan yang ada, saya menduga bahwa penyebabnya adalah&nbsp;karena prosedur tersebut mengganti identitas thread dan menjalankan di thread lain, sehingga halaman yang sedang dibuka akan kehilangan &ldquo;hubungan&rdquo; dengan server (mirip dengan pada saat kita menyimpan dengan menggunakan SharePoint Designer). Akibatnya, link-link yang ada di halaman sudah tidak valid lagi dan muncul &ldquo;Error page has been modified&rdquo;.&nbsp; <br />Berbekal dari dugaan itu, saya kemudian meminta rekan-rekan di team untuk mengganti cara impersonation untuk mengugnakan SPUserToken&nbsp; </p>
<p><strong>SPUserToken sysToken = SPContext.Current.Site.SystemAccount.UserToken;</strong><br />using(var systemSite = new SPSite(SPContext.Current.Site.ID, <strong>sysToken</strong>))<br />{<br />&nbsp;&nbsp;&nbsp; using (var sysWeb = systemSite.OpenWeb(SPContext.Current.Web.ID))<br />&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Perform elevated actions here<br />&nbsp;&nbsp;&nbsp; }<br />}</p>
<p align="left">dan menghapus RunWithElevatedPrivilege</p>
<p align="left"><strike>SPSecurity.RunWithElevatedPrivilege(delegate() <br />{<br />&nbsp;&nbsp;&nbsp;&nbsp; using(var systemSite = new SPSite(SPContext.Current.Web.Url))<br />&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using (var sysWeb = systemSite.OpenWeb(SPContext.Current.Web.ID))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Perform elevated actions here<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />});</strike></p>
<p align="left">&nbsp;</p>
<p align="left">Dan seperti yang diharapkan, masalah di production akhirnya teratasi. Jadi mulai dari saat ini saya akan menambahkan satu lagi di dalam daftar , <strong>Kurangi penggunaan RunWithElevatedPrivilege dan sedapat mungkin gunakan SPUserToken</strong>.&nbsp;&nbsp;</p>
<div class="bjtags">Tags:  <a rel="tag" href="http://technorati.com/tag/Microsoft+Office+SharePoint+Server+2007">Microsoft+Office+SharePoint+Server+2007</a>, <a rel="tag" href="http://technorati.com/tag/Tips">Tips</a></div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cakriwut.wordpress.com/237/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cakriwut.wordpress.com/237/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cakriwut.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cakriwut.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cakriwut.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cakriwut.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cakriwut.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cakriwut.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cakriwut.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cakriwut.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cakriwut.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cakriwut.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cakriwut.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cakriwut.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cakriwut.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cakriwut.wordpress.com/237/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cakriwut.wordpress.com&amp;blog=328393&amp;post=237&amp;subd=cakriwut&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cakriwut.wordpress.com/2008/09/07/what-can-cause-error-page-has-been-modified/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb61e36e36eacc92052ad851004fe726?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cakriwut</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/pagerefreshissue.jpg" medium="image">
			<media:title type="html">PageRefreshIssue</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/pagerefreshissue.jpg" medium="image">
			<media:title type="html">PageRefreshIssue</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating Weather Webpart using SharePoint Designer</title>
		<link>http://cakriwut.wordpress.com/2008/09/06/creating-weather-webpart-using-sharepoint-designer/</link>
		<comments>http://cakriwut.wordpress.com/2008/09/06/creating-weather-webpart-using-sharepoint-designer/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 16:24:07 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[Microsoft Sharepoint]]></category>
		<category><![CDATA[Office 12]]></category>
		<category><![CDATA[Office Server 2007]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://cakriwut.wordpress.com/2008/09/06/creating-weather-webpart-using-sharepoint-designer/</guid>
		<description><![CDATA[English (versi bahasa Indonesia) Weather webpart is one of most popular wepart to place in homepage. Many available resources out-there in internet using C# and webservices. But instead of create weather webpart using Visual Studio I will show you how create it using SharePoint Designer. The process is pretty simple, 1. You need to create [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cakriwut.wordpress.com&amp;blog=328393&amp;post=232&amp;subd=cakriwut&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a id="English" name="English"><strong>English</strong></a> <em>(<a href="#Indonesia">versi bahasa Indonesia</a>)</em></p>
<p>Weather webpart is one of most popular wepart to place in homepage. Many available resources out-there in internet using C# and webservices. But instead of create weather webpart using Visual Studio I will show you how create it using SharePoint Designer.</p>
<p><img alt="HomeShow" src="http://cakriwut.files.wordpress.com/2008/09/homeshow-small1.jpg?w=475" border="0" /></p>
<p>The process is pretty simple, <br />1. You need to create a new page in Sharepoint as working canvas. <br />2. In that working canvas, drop webpart zone and dataview webpart. <br />3. Find appropriate weather datasource and format dataview webpart.<br />4. Export the new formatted webpart and delete working canvas.<br />5. Distribute / use the webpart. Package in solution file if necessary.</p>
<p>Initially open SharePoint site using SharePoint Designer. To prepare a page for working canvas, just create a new aspx page.</p>
<p><img alt="Bmg0" src="http://cakriwut.files.wordpress.com/2008/09/bmg0.jpg?w=475" border="0" /></p>
<p>On the new page, attach default master page by using attach master page under format menu.</p>
<p><img alt="Bmg01" src="http://cakriwut.files.wordpress.com/2008/09/bmg01.jpg?w=475" border="0" /></p>
<p>On the PlaceHolderMain in the page, click Create Custom Content to detach this section from master page.</p>
<p>&nbsp;<img alt="CustomPlace" src="http://cakriwut.files.wordpress.com/2008/09/customplace.jpg?w=475" border="0" /></p>
<p>Then in the new custom content area, insert &ldquo;Web Part Zone&rdquo; and &ldquo;Data View&rdquo;&nbsp; component from SharePoint Controls.</p>
<p><img alt="InsertDataView" src="http://cakriwut.files.wordpress.com/2008/09/insertdataview.jpg?w=475" border="0" /></p>
<p>Next, we need the reference to get weather information from. SharePoint designer provides wide range of data source type, starting from SharePoint List, SharePoint Libraries, Database Connection, XML Files, Server-side scripts, XML Web Services and Linked sources. Since my country has &ldquo;BMG&rdquo; which announce weather data officially, in this case I will use XML files as my datasource.</p>
<p><img alt="XmlData" src="http://cakriwut.files.wordpress.com/2008/09/xmldata.jpg?w=475" border="0" /></p>
<p>For me, the location of weather data is <a href="http://www.bmg.go.id/dataxml/cuaca_indo_1.xml">http://www.bmg.go.id/dataxml/cuaca_indo_1.xml</a>&nbsp;or <a href="http://www.bmg.go.id/dataxml/cuaca_indo_2.xml">http://www.bmg.go.id/dataxml/cuaca_indo_2.xml</a>. Saving that location into XML data files, give me a new datasource to working with.</p>
<p><img alt="Bmg3" src="http://cakriwut.files.wordpress.com/2008/09/bmg3.jpg?w=475" border="0" /></p>
<p>Then click Show Data on the new datasource.</p>
<p><img alt="Bmg4" src="http://cakriwut.files.wordpress.com/2008/09/bmg4.jpg?w=475" border="0" /></p>
<p>In the data source detail, we can select appropriate fields to show. In this case I select &ldquo;Kota&rdquo;, &ldquo;Cuaca&rdquo;, &ldquo;SuhuMin&rdquo; and &ldquo;SuhuMax&rdquo;. And then click Multiple Item View.</p>
<p><img alt="Bmg5" src="http://cakriwut.files.wordpress.com/2008/09/bmg5.jpg?w=475" border="0" /></p>
<p>By default you will get a table from XML datasource. Like the one bellow.</p>
<p><img alt="Bmg6" src="http://cakriwut.files.wordpress.com/2008/09/bmg6.jpg?w=475" border="0" /></p>
<p>Since I only want few big cities in Indonesia, then I click filter on the Common Data View Tasks. </p>
<p><img alt="Filter" src="http://cakriwut.files.wordpress.com/2008/09/filter.jpg?w=475" border="0" /></p>
<p>Next, is to insert icons to describe weather conditions such as raining, clear, clouds etc. To select appropriate icon, we can test on the &ldquo;Cuaca&rdquo; field and choose correct icon ( inspect line number 108 &ndash; 118 in the figure below). I also make the table into single column by moving the field content into leftmost column and deleting other column in original table. </p>
<p><img alt="Bmg9" src="http://cakriwut.files.wordpress.com/2008/09/bmg9.jpg?w=475" border="0" /></p>
<p>Since I transform to single column, then I don&rsquo;t need to keep the header anymore. So I just change the header into long cell title.</p>
<p><img alt="Bmg10" src="http://cakriwut.files.wordpress.com/2008/09/bmg10.jpg?w=475" border="0" /></p>
<p>Saving the page and opening in browser, allows me to export the webpart and import back in the future.</p>
<p><img alt="Export" src="http://cakriwut.files.wordpress.com/2008/09/export.jpg?w=475" border="0" /></p>
<p align="left">Thats for now, just couple minutes to create weather webpart. For you who curious with the webpart, please download it from the attachment (<a href="http://cakriwut.files.wordpress.com/2008/09/export1.jpg" target="_blank"> BMGLike.webpart (17 KB)</a>&nbsp;).</p>
<p align="center">-o0o-</p>
<p>&nbsp;</p>
<p><a id="Indonesian" name="Indonesian"><strong>Indonesia</strong></a> <em>(<a href="#English">see English version</a>)</em></p>
<p>Webpart cuaca merupakan salah satu webpart populer yang sering diminta oleh client. Di internet bisa kita temukan webpart cuaca yang berbayar maupun gratis yang dibuat dengan C# dan web services. Di artikel ini, alih-alih membuat webpart dengan menggunakan Visual Studio, saya akan mendemonstrasikan pembuatannya dengan menggunakan SharePoint Designer.</p>
<p><img alt="HomeShow" src="http://cakriwut.files.wordpress.com/2008/09/homeshow-small1.jpg?w=475" border="0" /></p>
<p>Prosedurnya cukup sederhana,&nbsp; <br />1. Buat halaman aspx di SharePoint sebagai tempat eksperimen. <br />2. Tambahkan webpart zone dan dataview webpart di halaman kerja tersebut. <br />3. Tambahkan sumber data cuaca yang sesuai dan format dataview webpart agar tampil cantik.<br />4. Export webpart yang baru ke dalam 1 file dan hapus halaman kerja.<br />5. Distribusikan webpart dan masukkan ke dalam solution package jika perlu.</p>
<p>Untuk menyiapkan halaman kerja, buka SharePoint site dengan menggunakan SharePoint Designer. Dari menu file, buat sebuah halaman ASPX baru.</p>
<p><img alt="Bmg0" src="http://cakriwut.files.wordpress.com/2008/09/bmg0.jpg?w=475" border="0" /></p>
<p>Di dalama yang baru terbentuk, buat referensi ke master page dengan menggunakan menu attach master page.</p>
<p><img alt="Bmg01" src="http://cakriwut.files.wordpress.com/2008/09/bmg01.jpg?w=475" border="0" /></p>
<p>Setelah di-tempel dengan master page, maka secara default design dan isi halaman akan mengikuti master page. Klik Create Custom Content di bagian&nbsp;PlaceHolderMain untuk memulai membuat kustomisasi di&nbsp;halaman itu.</p>
<p>&nbsp;<img alt="CustomPlace" src="http://cakriwut.files.wordpress.com/2008/09/customplace.jpg?w=475" border="0" /></p>
<p>Di area custom content yang baru terbentuk, tambahkan &ldquo;Web Part Zone&rdquo; dan &ldquo;Data View&rdquo; webpart didalamnya. </p>
<p><img alt="InsertDataView" src="http://cakriwut.files.wordpress.com/2008/09/insertdataview.jpg?w=475" border="0" /></p>
<p>Selanjutnya yang kita butuhkan adalah sumber data. SharePoint Designer memberikan kemudahan untuk menggunakan beberapa jenis sumber data misalnya, SharePoint List, SharePoint Libraries, Database Connection, XML Files, Server-side scripts, XML Web Services dan Linked sources. Disini saya akan menggunakan data yang disediakan secara cuma-cuma oleh <a href="http://www.bmg.go.id/" target="_blank">BMG</a> , berupa XML file. Kita dapat langsung menggunakan referensi berupa URL ke XML yang bersangkutan.</p>
<p><img alt="XmlData" src="http://cakriwut.files.wordpress.com/2008/09/xmldata.jpg?w=475" border="0" /></p>
<p>Lokasi XML data yang disediakan oleh BMG adalah&nbsp;di <a href="http://www.bmg.go.id/dataxml/cuaca_indo_1.xml">http://www.bmg.go.id/dataxml/cuaca_indo_1.xml</a>&nbsp;atau <a href="http://www.bmg.go.id/dataxml/cuaca_indo_2.xml"><font color="#000000">http</font>://www.bmg.go.id/dataxml/cuaca_indo_2.xml</a>. Simpan informasi lokasi tersebut sebagai sumber data XML yang baru.</p>
<p><img alt="Bmg3" src="http://cakriwut.files.wordpress.com/2008/09/bmg3.jpg?w=475" border="0" /></p>
<p>Kemudian klik &ldquo;Show Data&rdquo; pada sumber data XML yang terbentuk. </p>
<p><img alt="Bmg4" src="http://cakriwut.files.wordpress.com/2008/09/bmg4.jpg?w=475" border="0" /></p>
<p>Didalam data source detail, kita dapat menentukan field-field yang akan ditampilkan. Disini kita ambil &ldquo;Kota&rdquo;, &ldquo;Cuaca&rdquo;, &ldquo;SuhuMin&rdquo; dan &ldquo;SuhuMax&rdquo;. Kemudian klik&nbsp;Multiple Item View.</p>
<p><img alt="Bmg5" src="http://cakriwut.files.wordpress.com/2008/09/bmg5.jpg?w=475" border="0" /></p>
<p>Secara otomatis, kita akan memperoleh tabel yang diperoleh dari field-field yang ditentukan tadi, seperti dibawah. </p>
<p><img alt="Bmg6" src="http://cakriwut.files.wordpress.com/2008/09/bmg6.jpg?w=475" border="0" /></p>
<p>Kita juga dapat memfilter agar menampilkan beberapa kota besar di Indonesia saja. Caranya, dengan menentukan filter dari properti data view webpart di&nbsp; Common Data View Tasks. </p>
<p><img alt="Filter" src="http://cakriwut.files.wordpress.com/2008/09/filter.jpg?w=475" border="0" /></p>
<p>Agar tampilannya menjadi cantik, kita bisa menambahkan icon untuk hujan, cerah, berawan dsb. Untuk mendapatkan icon yang sesuai, maka kita gunakan xsl:choose dan mengetes nilai field Cuaca (perhatikan baris 108 &ndash; 118 pada gambar dibawah).&nbsp;Saya juga mengubah tabel menjadi 1 kolom, dengan memindahkan isi field lain ke kolom paling kiri dan menghapus kolom yang tidak digunakan.&nbsp; </p>
<p><img alt="Bmg9" src="http://cakriwut.files.wordpress.com/2008/09/bmg9.jpg?w=475" border="0" /></p>
<p>Judul tabel juga diubah dengan mengubah table headernya, dan menyesuaikan dengan format 1 kolom.</p>
<p><img alt="Bmg10" src="http://cakriwut.files.wordpress.com/2008/09/bmg10.jpg?w=475" border="0" /></p>
<p>Simpan halaman yang sudah selesai diedit dan kemudian buka di browser. Hasilnya adalah halaman dengan weather webpart yang baru, tugas kita berikutnya adalah mengeksport webpart tersebut dan siap untuk didistribusikan. </p>
<p><img alt="Export" src="http://cakriwut.files.wordpress.com/2008/09/export.jpg?w=475" border="0" /></p>
<p align="left">Akhirnya, mudah-mudahan step-by-step diatas memberikan ide untuk rekan-rekan semua. Untuk yang tidak mau report, berikut ini adalah webpart yang sudah jadi (<a href="http://cakriwut.files.wordpress.com/2008/09/export1.jpg" target="_blank"> BMGLike.webpart (17 KB)</a>&nbsp;)</p>
<p>&nbsp;</p>
<div class="bjtags">Tags:  <a rel="tag" href="http://technorati.com/tag/Microsoft+Office+SharePoint+Server+2007">Microsoft+Office+SharePoint+Server+2007</a>, <a rel="tag" href="http://technorati.com/tag/JQuery">JQuery</a>, <a rel="tag" href="http://technorati.com/tag/Tips">Tips</a></div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cakriwut.wordpress.com/232/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cakriwut.wordpress.com/232/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cakriwut.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cakriwut.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cakriwut.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cakriwut.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cakriwut.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cakriwut.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cakriwut.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cakriwut.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cakriwut.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cakriwut.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cakriwut.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cakriwut.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cakriwut.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cakriwut.wordpress.com/232/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cakriwut.wordpress.com&amp;blog=328393&amp;post=232&amp;subd=cakriwut&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cakriwut.wordpress.com/2008/09/06/creating-weather-webpart-using-sharepoint-designer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb61e36e36eacc92052ad851004fe726?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cakriwut</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/homeshow-small1.jpg" medium="image">
			<media:title type="html">HomeShow</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/bmg0.jpg" medium="image">
			<media:title type="html">Bmg0</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/bmg01.jpg" medium="image">
			<media:title type="html">Bmg01</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/customplace.jpg" medium="image">
			<media:title type="html">CustomPlace</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/insertdataview.jpg" medium="image">
			<media:title type="html">InsertDataView</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/xmldata.jpg" medium="image">
			<media:title type="html">XmlData</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/bmg3.jpg" medium="image">
			<media:title type="html">Bmg3</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/bmg4.jpg" medium="image">
			<media:title type="html">Bmg4</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/bmg5.jpg" medium="image">
			<media:title type="html">Bmg5</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/bmg6.jpg" medium="image">
			<media:title type="html">Bmg6</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/filter.jpg" medium="image">
			<media:title type="html">Filter</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/bmg9.jpg" medium="image">
			<media:title type="html">Bmg9</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/bmg10.jpg" medium="image">
			<media:title type="html">Bmg10</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/export.jpg" medium="image">
			<media:title type="html">Export</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/homeshow-small1.jpg" medium="image">
			<media:title type="html">HomeShow</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/bmg0.jpg" medium="image">
			<media:title type="html">Bmg0</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/bmg01.jpg" medium="image">
			<media:title type="html">Bmg01</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/customplace.jpg" medium="image">
			<media:title type="html">CustomPlace</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/insertdataview.jpg" medium="image">
			<media:title type="html">InsertDataView</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/xmldata.jpg" medium="image">
			<media:title type="html">XmlData</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/bmg3.jpg" medium="image">
			<media:title type="html">Bmg3</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/bmg4.jpg" medium="image">
			<media:title type="html">Bmg4</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/bmg5.jpg" medium="image">
			<media:title type="html">Bmg5</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/bmg6.jpg" medium="image">
			<media:title type="html">Bmg6</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/filter.jpg" medium="image">
			<media:title type="html">Filter</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/bmg9.jpg" medium="image">
			<media:title type="html">Bmg9</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/bmg10.jpg" medium="image">
			<media:title type="html">Bmg10</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/09/export.jpg" medium="image">
			<media:title type="html">Export</media:title>
		</media:content>
	</item>
		<item>
		<title>MOSS 2007 : Howto override page redirection Url</title>
		<link>http://cakriwut.wordpress.com/2008/01/28/moss-2007-howto-override-page-redirection-url/</link>
		<comments>http://cakriwut.wordpress.com/2008/01/28/moss-2007-howto-override-page-redirection-url/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 09:28:08 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[Microsoft Sharepoint]]></category>
		<category><![CDATA[Office 12]]></category>
		<category><![CDATA[Office Server 2007]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://cakriwut.wordpress.com/2008/01/28/moss-2007-howto-override-page-redirection-url/</guid>
		<description><![CDATA[English (versi bahasa Indonesia) I had a question from one of my friend &#8220;How can I override page redirection Url?&#8221;. He was using inline C# code which is not my preference &#8211; because it adds additional page-parser process and introduce new security consideration.&#160;His code also diminish upload attachment function in the original form. My first [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cakriwut.wordpress.com&amp;blog=328393&amp;post=203&amp;subd=cakriwut&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a id="English" name="English"><strong>English</strong></a> <em>(<a href="#Indonesia">versi bahasa Indonesia</a>)</em></p>
<p>I had a question from one of my friend &ldquo;How can I override page redirection Url?&rdquo;. He was using inline C# code which is not my preference &ndash; because it adds additional page-parser process and introduce new security consideration.&nbsp;His code also diminish upload attachment function in the original form. <br />My first suggestion was to create a new links that construct custom &ldquo;Source=&rdquo; url to the original form &ndash; but this is not what he looks for. He doesn&rsquo;t want to replace the &ldquo;New Item&rdquo; menu with a link.</p>
<p>So in this case, he wants to&nbsp;click &ldquo;New Item&rdquo; menu&nbsp;in a&nbsp;list and redirected to custom page after sucessfull submission or cancelation.</p>
<p align="center"><img alt="ItemRedirect1" src="http://cakriwut.files.wordpress.com/2008/01/itemredirect1.jpg?w=475" border="0" /></p>
<p>Technically, after we click &ldquo;New Item&rdquo; we&rsquo;ll be redirected to &ldquo;..\NewForm.aspx?RootFolder=&hellip;.&amp;Source=&hellip;.&rdquo;. And guess what &ndash; the &ldquo;Source&rdquo; is the location after&nbsp;we submit &ldquo;OK&rdquo; or press &ldquo;Cancel&rdquo;.</p>
<p><u>So &ndash; how can we change the &ldquo;Source&rdquo; url? Use Javascript !</u></p>
<p>Open &ldquo;NewForm.aspx&rdquo; using SharePoint Designer and find &ldquo;PlaceHolderMain&rdquo; content Id. Place following custom javascript just after tag definition.</p>
<p align="left"><strong>function PreSaveAction() <br />{<br />&nbsp;&nbsp;&nbsp;&nbsp; // TODO : create some actions here<br />&nbsp;&nbsp;&nbsp;&nbsp; return true;<br />}</strong></p>
<p align="center"><img alt="ItemRedirect2" src="http://cakriwut.files.wordpress.com/2008/01/itemredirect2.jpg?w=475" border="0" /></p>
<p><u>Remember that the name of the function MUST BE <strong>PreSaveAction</strong> and it must return <strong>true</strong>.</u> </p>
<p>Next, in the&nbsp;function I add operation to&nbsp;replace original action url with the new construction &ndash; I just need to change the text after &ldquo;Source&rdquo;. What you need to do, is change newSrcUrl variable to match with the custom page in your location.&nbsp; </p>
<p align="center">&ndash;&ndash;o0o&ndash;&ndash; </p>
<p>&nbsp;</p>
<p><a id="Indonesian" name="Indonesian"><strong>Indonesia</strong></a> <em>(<a href="#English">see English version</a>)</em></p>
<p>Baru-baru ini saya mendapat pertanyaan dari seorang kawan tentang &ldquo;Bagaimana cara mengganti halaman redirect? &ldquo;. Menurutnya, dia sudah menggunakan inline C# namun akibatnya dia tidak dapat memanfaatkan upload attachment yang ada di form asli. Saya sendiri kurang sependapat dengan penggunaan inline C# itu, sebab inline C# akan menambah beban kerja server untuk memparsing dan juga membuka resiko keamanan yang baru. </p>
<p>Anjuran saya adalah dengan menggunakan link yang sudah diubah sedemikian rupa sehingga &ldquo;Source&rdquo; url disesuaikan dengan apa yang diinginkan. Tapi saran tersebut tidak sesuai dengan keinginannya, karena hal ini berarti mengganti menu &ldquo;New Item&rdquo; dengan menggunakan link. </p>
<p>Jadi, yang dia inginkan adalah tetap menggunakan menu &ldquo;New Item&rdquo; tetapi dapat mengganti halaman yang dibuka setelah submit atau cancel. </p>
<p align="center"><img alt="ItemRedirect1" src="http://cakriwut.files.wordpress.com/2008/01/itemredirect1.jpg?w=475" border="0" /></p>
<p>Pada dasarnya, setelah kita mengklik &ldquo;New Item&rdquo; , maka kita akan diarahkan pada alamat&nbsp;&ldquo;..\NewForm.aspx?RootFolder=&hellip;.&amp;Source=&hellip;.&rdquo;.&nbsp;Dan &ldquo;Source&rdquo; adalah lokasi yang akan dibuka ketika kita mensubmit form dengan mengklik &ldquo;OK&rdquo; atau menekan &ldquo;Cancel&rdquo;. </p>
<p><u>Jadi bagaimana kita dapat mengganti &ldquo;Source&rdquo; url? Gunakan Javascript !</u></p>
<p>Buka&nbsp;&ldquo;NewForm.aspx&rdquo; dengan menggunakan SharePoint Designer, dan cari tag id yang bertuliskan&nbsp;&ldquo;PlaceHolderMain&rdquo;. Kemudian tambahkan javascript berikut setelah&nbsp;tag tersebut,.</p>
<p align="left"><strong>function PreSaveAction() <br />{<br />&nbsp;&nbsp;&nbsp;&nbsp; // TODO : create some actions here<br />&nbsp;&nbsp;&nbsp;&nbsp; return true;<br />}</strong></p>
<p align="center"><img alt="ItemRedirect2" src="http://cakriwut.files.wordpress.com/2008/01/itemredirect2.jpg?w=475" border="0" /></p>
<p><u>HATI-HATI, bahwa nama fungsi javascript tersebut HARUS&nbsp; <strong>PreSaveAction</strong> dan nilai kembaliannya&nbsp;HARUS <strong>true</strong>.</u> </p>
<p>Didalam fungsi javascript yang baru, kita hanya perlu menambahkan operasi untuk mengganti action url yang lama dengan action url baru. Di action url baru inilah kita definisikan &ldquo;Source&rdquo; url agar merujuk pada halaman web custom yang kita inginkan. Dari gambar diatas, Anda hanya perlu mengganti variable newSrcUrl agar sesuai dengan yang diinginkan &ndash; atau kalau perlu merubah operasi untuk mengganti &ldquo;Source&rdquo; url agar lebih robust.</p>
<p align="center">&ndash;&ndash;o0o&ndash;&ndash; </p>
<div class="bjtags">Tags:  <a rel="tag" href="http://technorati.com/tag/MOSS+2007">MOSS+2007</a>, <a rel="tag" href="http://technorati.com/tag/Tips+and+Trick+MOSS+2007">Tips+and+Trick+MOSS+2007</a>, <a rel="tag" href="http://technorati.com/tag/Javascript">Javascript</a></div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cakriwut.wordpress.com/203/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cakriwut.wordpress.com/203/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cakriwut.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cakriwut.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cakriwut.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cakriwut.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cakriwut.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cakriwut.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cakriwut.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cakriwut.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cakriwut.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cakriwut.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cakriwut.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cakriwut.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cakriwut.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cakriwut.wordpress.com/203/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cakriwut.wordpress.com&amp;blog=328393&amp;post=203&amp;subd=cakriwut&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cakriwut.wordpress.com/2008/01/28/moss-2007-howto-override-page-redirection-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb61e36e36eacc92052ad851004fe726?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cakriwut</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/01/itemredirect1.jpg" medium="image">
			<media:title type="html">ItemRedirect1</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/01/itemredirect2.jpg" medium="image">
			<media:title type="html">ItemRedirect2</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/01/itemredirect1.jpg" medium="image">
			<media:title type="html">ItemRedirect1</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/01/itemredirect2.jpg" medium="image">
			<media:title type="html">ItemRedirect2</media:title>
		</media:content>
	</item>
		<item>
		<title>MOSS 2007: How to create sub menu for context item</title>
		<link>http://cakriwut.wordpress.com/2008/01/03/moss-2007-how-to-create-sub-menu-for-context-item/</link>
		<comments>http://cakriwut.wordpress.com/2008/01/03/moss-2007-how-to-create-sub-menu-for-context-item/#comments</comments>
		<pubDate>Thu, 03 Jan 2008 04:01:32 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[Microsoft Sharepoint]]></category>
		<category><![CDATA[Office 12]]></category>
		<category><![CDATA[Office Server 2007]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://cakriwut.wordpress.com/2008/01/03/moss-2007-how-to-create-sub-menu-for-context-item/</guid>
		<description><![CDATA[English (versi bahasa Indonesia) Features have been introduced as one of building block in SharePoint 2007. Using feature ones could extend the capabilities of SharePoint, from just a simple ActionMenu to the site definition &#8211; all of them can be done using&#160;feature.&#160; I have created many ActionMenu that extend &#8220;EditItem&#8221; block in SharePoint but sometimes [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cakriwut.wordpress.com&amp;blog=328393&amp;post=198&amp;subd=cakriwut&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a id="English" name="English"><strong>English</strong></a> <em>(<a href="#Indonesia">versi bahasa Indonesia</a>)</em></p>
<p>Features have been introduced as one of building block in SharePoint 2007. Using feature ones could extend the capabilities of SharePoint, from just a simple ActionMenu to the site definition &ndash; all of them can be done using&nbsp;feature.&nbsp; <br />I have created many ActionMenu that extend &ldquo;EditItem&rdquo; block in SharePoint but sometimes its not enough. How about creating sub menu for context item &ndash; just like &ldquo;Send to&rdquo; context menu? </p>
<p align="center"><img alt="SendToItem" src="http://cakriwut.files.wordpress.com/2008/01/sendtoitem.jpg?w=475" border="0" /></p>
<p align="center"><strong><em>Picture 1. Sub menu in context item</em></strong></p>
<p>I can not find any information to create sub menu using feature &ndash; please correct me. So what can we do? Well&hellip;we&rsquo;ll do the old way &ndash; extending the ows.js with our javascript. </p>
<p>Then if we want to create a new context &ldquo;Comments&rdquo; menu with &ldquo;View Comments&rdquo; and &ldquo;Add Comments&rdquo; for list item like this picture,&nbsp;what can we do?</p>
<p align="center"><img alt="CommentsSubmenu" src="http://cakriwut.files.wordpress.com/2008/01/sendtoitem.jpg?w=475" border="0" /></p>
<p align="center"><strong><em>Picture 2. Custom sub menu in context item</em></strong></p>
<p>If you look at ows.js and start finding &ldquo;Add[???]MenuItems&rdquo; function&nbsp;then you&rsquo;ll realize that it always calls &ldquo;Custom_Add[???]MenuItems&rdquo;. The last function is our place to make customization. For example, if I want to customize the context menu of ListItem then I need to define &ldquo;Custom_AddListMenuItems&rdquo; as follows, </p>
<p><font face="Consolas"><em>function Custom_AddListMenuItems(m, ctx)<br />{&nbsp;<br />&nbsp;&nbsp;AddCommentSubMenu(m,ctx);<br />&nbsp;&nbsp;AddAttachmentSubMenu(m,ctx);<br />&nbsp;&nbsp;CAMSep(m);<br />&nbsp;&nbsp;return false;<br />}</em></font></p>
<p>We call &ldquo;CAMSep(m)&rdquo; to create separator and returning false to enable rendering default context menu item.&nbsp; I create &ldquo;Comments&rdquo; and its submenu using &ldquo;AddCommentSubMenu(m,ctx)&rdquo; function like this,</p>
<p><font face="Consolas"><em>function AddCommentSubMenu(m,ctx)<br />{<br />&nbsp;&nbsp;&nbsp; strDisplayText=&#8221;Comments&#8221;;&nbsp;<br />&nbsp;&nbsp; &nbsp;strImagePath=ctx.imagesPath+&#8221;reply.gif&#8221;;<br />&nbsp;&nbsp;&nbsp; var sm=CASubM(m,strDisplayText,strImagePath,&#8221;",400);<br />&nbsp;<br />&nbsp;&nbsp;&nbsp; sm.id=&#8221;ID_Comment&#8221;;<br />&nbsp;&nbsp;&nbsp; var menuOption;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp; // define your own action<br />&nbsp;&nbsp;&nbsp; strAction=&rdquo;&rdquo;;<br />&nbsp;&nbsp;&nbsp; menuOption=CAMOpt(sm,&nbsp;&#8221;View comments&#8221;,&nbsp;strAction,&#8221;");</em></font></p>
<p><font face="Consolas"><em>&nbsp;&nbsp;&nbsp; menuOption=CAMOpt(sm,&#8221;Add comment&#8221;,&nbsp;strAction,&#8221;");<br />}</em></font></p>
<p>The &ldquo;CASubM()&rdquo; is the main function to create sub menu. If you look for the function in ows.js, you&rsquo;ll find the definition for the function,</p>
<blockquote>
<blockquote>
<p><font face="Consolas">function CASubM(p,wzText,wzISrc,wzIAlt,wzISeq,wzDesc)</font></p>
</blockquote>
</blockquote>
<p>I guess I&rsquo;ll make my guess for the parameters,</p>
<p>&ndash; p , the menu to attach <br />&ndash; wzText , text to display in the sub&nbsp;menu<br />&ndash; wzISrc&nbsp; , icon location for the sub menu<br />&ndash; wzIAlt&nbsp;&nbsp; , alt text for the image icon<br />&ndash; wzISeq&nbsp; , I am not sure but I thing this related&nbsp;sequence number<br />&ndash; wzDesc ,&nbsp; I am not sure either , it should be a description but I saw ows.js never put any text on it.</p>
<p>Anyway, you only need to modify parameter p, wzText, wzISrc, wzIAlt and leave default value for the last 2 parameter.</p>
<p>After we done with customization, put the script to the page as reference or as inline javascript, and now you can have your own sub menu for context item.</p>
<p align="center">&ndash;&ndash;o00&ndash;&ndash; </p>
<p>&nbsp;</p>
<p><a id="Indonesian" name="Indonesian"><strong>Indonesia</strong></a> <em>(<a href="#English">see English version</a>)</em></p>
<p><em>Features</em> merupakan salah satu terminologi baru yang diperkenalkan di SharePoint 2007. Kita dapat menggunakan <em>feature</em> untuk menambah fungsi-fungsi baru didalam SharePoint &ndash; mulai dari sekedar menambahkan ActionMenu sampai membuat site definition baru &ndash; semua dapat dilakukan dengan menggunakan <em>feature</em>.&nbsp; <br />Didalam banyak kesempatan saya sering membuat ActionMenu untuk menambah fungsi di bagian &ldquo;EditItem&rdquo; didalam list-item SharePoint &ndash; namun kadangkala hal itu masih belum cukup. Salah satu yang mungkin kita inginkan adalah, bagaimana cara membuat sub menu untuk menu context &ndash; seperti &ldquo;Send to&rdquo; dibawah ini? </p>
<p align="center"><img alt="SendToItem" src="http://cakriwut.files.wordpress.com/2008/01/sendtoitem.jpg?w=475" border="0" /></p>
<p align="center"><strong><em>Gambar 1. Sub menu didalam menu context</em></strong></p>
<p>Sampai saat ini saya belum punya cara termudah untuk membuat sub menu dengan menggunakan feature (mungkin kita bisa menggunakan feature receiver &ndash; tapi berarti kita harus membuka visual studio) CMIIW. Jadi apa yang bisa kita lakukan? Yah terpaksa kita lakukan dengan cara lama, dengan memanfaatkan ows.js dan menambah fungsi javascript tambahan.&nbsp; </p>
<p>Sebagai contoh, disini kita akan menambahkan menu context baru &ldquo;Comments&rdquo; dengan sub menu &ldquo;View Comments&rdquo; dan &ldquo;Add Comments&rdquo; seperti gambar dibawah. </p>
<p align="center"><img alt="CommentsSubmenu" src="http://cakriwut.files.wordpress.com/2008/01/sendtoitem.jpg?w=475" border="0" /></p>
<p align="center"><strong><em>Picture 2. Custom sub menu in context item</em></strong></p>
<p>Jika kita perhatikan didalam ows.js , setiap fungsi &ldquo;Add[???]MenuItems&rdquo; akan memanggil &ldquo;Custom_Add[???]MenuItems&rdquo;. Contohnya, fungsi &ldquo;AddListMenuItems&rdquo; akan memanggil fungsi &ldquo;Custom_AddListMenuItems&rdquo;. Didalam fungsi &ldquo;Custom_AddListMenuItems&rdquo; inilah kita dapat menambahkan fungsi-fungsi baru seperti yang kita inginkan. </p>
<p>Disini kita akan menambah menu di list item, jadi disini kita definisikan fungsi Custom_AddListMenuItems sebagai berikut,</p>
<p><font face="Consolas"><em>function Custom_AddListMenuItems(m, ctx)<br />{&nbsp;<br />&nbsp;&nbsp;AddCommentSubMenu(m,ctx);<br />&nbsp;&nbsp;AddAttachmentSubMenu(m,ctx);<br />&nbsp;&nbsp;CAMSep(m);<br />&nbsp;&nbsp;return false;<br />}</em></font></p>
<p>Fungsi&nbsp;&ldquo;CAMSep(m)&rdquo; berguna untuk membat pembatas dan kembalian false (return false) dihasilkan agar konteks menu default tetap dirender.&nbsp;Untuk membuat menu &ldquo;Comment&rdquo; dan submenu dibawahnya, kita buat fungsi baru&nbsp;&ldquo;AddCommentSubMenu(m,ctx)&rdquo; seperti dibawah,</p>
<p><font face="Consolas"><em>function AddCommentSubMenu(m,ctx)<br />{<br />&nbsp;&nbsp;&nbsp; strDisplayText=&#8221;Comments&#8221;;&nbsp;<br />&nbsp;&nbsp; &nbsp;strImagePath=ctx.imagesPath+&#8221;reply.gif&#8221;;<br />&nbsp;&nbsp;&nbsp; var sm=CASubM(m,strDisplayText,strImagePath,&#8221;",400);<br />&nbsp;<br />&nbsp;&nbsp;&nbsp; sm.id=&#8221;ID_Comment&#8221;;<br />&nbsp;&nbsp;&nbsp; var menuOption;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp; // define your own action<br />&nbsp;&nbsp;&nbsp; strAction=&rdquo;&rdquo;;<br />&nbsp;&nbsp;&nbsp; menuOption=CAMOpt(sm,&nbsp;&#8221;View comments&#8221;,&nbsp;strAction,&#8221;");</em></font></p>
<p><font face="Consolas"><em>&nbsp;&nbsp;&nbsp; menuOption=CAMOpt(sm,&#8221;Add comment&#8221;,&nbsp;strAction,&#8221;");<br />}</em></font></p>
<p>Fungsi&nbsp;&ldquo;CASubM()&rdquo; adalah kunci untuk membuat sub menu. Jika kita lihat definisi CASubM() didalam&nbsp;ows.js, kita dapat temukan definisi fungsi itu sebagai berikut,</p>
<blockquote>
<blockquote>
<p><font face="Consolas">function CASubM(p,wzText,wzISrc,wzIAlt,wzISeq,wzDesc)</font></p>
</blockquote>
</blockquote>
<p>Disini kita gunakan intuisi untuk menterjemahkan parameter itu (so just guessing &ndash; OK),</p>
<p>&ndash; p , parent menu yang akan ditempel sub menu <br />&ndash; wzText , teks yang akan ditampilkan di sub menu<br />&ndash; wzISrc&nbsp; , lokasi ikon untuk sub menu<br />&ndash; wzIAlt&nbsp;&nbsp; , teks alternatif untuk ikon&nbsp;<br />&ndash; wzISeq&nbsp; , (gak yakin) tapi mungkin urutan sub menu<br />&ndash; wzDesc ,&nbsp; (gak yakin) kemungkinan besar adalah deskripsi, tapi&nbsp;didalam&nbsp;tidak pernah digunakan didalam ows.js</p>
<p>Yah, singkat kata, kita hanya perlu melakukan modifikasi parameter&nbsp;<strong><em> p, wzText, wzISrc, wzIAlt</em></strong>&nbsp;dan menggunakan nilai default untuk parameter-parameter yang lain. </p>
<p>Setelah selesai, letakkan script tersebut secara inline maupun sebagai reference , dan dijamin Anda akan mendapatkan sub menu untuk item konteks. </p>
<p>&nbsp;</p>
<div class="bjtags">Tags:  <a rel="tag" href="http://technorati.com/tag/MOSS+2007">MOSS+2007</a>, <a rel="tag" href="http://technorati.com/tag/Tips+and+Trick">Tips+and+Trick</a>, <a rel="tag" href="http://technorati.com/tag/Context+Menu">Context+Menu</a></div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cakriwut.wordpress.com/198/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cakriwut.wordpress.com/198/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cakriwut.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cakriwut.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cakriwut.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cakriwut.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cakriwut.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cakriwut.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cakriwut.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cakriwut.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cakriwut.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cakriwut.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cakriwut.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cakriwut.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cakriwut.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cakriwut.wordpress.com/198/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cakriwut.wordpress.com&amp;blog=328393&amp;post=198&amp;subd=cakriwut&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cakriwut.wordpress.com/2008/01/03/moss-2007-how-to-create-sub-menu-for-context-item/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb61e36e36eacc92052ad851004fe726?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cakriwut</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/01/sendtoitem.jpg" medium="image">
			<media:title type="html">SendToItem</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/01/sendtoitem.jpg" medium="image">
			<media:title type="html">CommentsSubmenu</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/01/sendtoitem.jpg" medium="image">
			<media:title type="html">SendToItem</media:title>
		</media:content>

		<media:content url="http://cakriwut.files.wordpress.com/2008/01/sendtoitem.jpg" medium="image">
			<media:title type="html">CommentsSubmenu</media:title>
		</media:content>
	</item>
	</channel>
</rss>
