<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Changing the title of an SPFile object.</title>
	<atom:link href="http://tips.naivist.net/2005/08/02/spfile_title_change/feed/" rel="self" type="application/rss+xml" />
	<link>http://tips.naivist.net/2005/08/02/spfile_title_change/</link>
	<description>Kodējot radušās domeles</description>
	<lastBuildDate>Thu, 03 Nov 2011 14:04:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: SPCode</title>
		<link>http://tips.naivist.net/2005/08/02/spfile_title_change/comment-page-1/#comment-6279</link>
		<dc:creator>SPCode</dc:creator>
		<pubDate>Thu, 26 Aug 2010 10:04:47 +0000</pubDate>
		<guid isPermaLink="false">http://naivist.net/tips/index.php/2005/08/02/changing-the-title-of-an-spfile-object/#comment-6279</guid>
		<description>&lt;p&gt;Hmmmm it still isn&#039;t working for sp2010...seems problematic this one&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hmmmm it still isn&#8217;t working for sp2010&#8230;seems problematic this one</p>]]></content:encoded>
	</item>
	<item>
		<title>By: SPCode</title>
		<link>http://tips.naivist.net/2005/08/02/spfile_title_change/comment-page-1/#comment-6278</link>
		<dc:creator>SPCode</dc:creator>
		<pubDate>Thu, 26 Aug 2010 09:55:41 +0000</pubDate>
		<guid isPermaLink="false">http://naivist.net/tips/index.php/2005/08/02/changing-the-title-of-an-spfile-object/#comment-6278</guid>
		<description>&lt;p&gt;Thanks @ marlobello - was trying to do this for so long!! your a legend :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks @ marlobello &#8211; was trying to do this for so long!! your a legend :)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Gilles</title>
		<link>http://tips.naivist.net/2005/08/02/spfile_title_change/comment-page-1/#comment-6265</link>
		<dc:creator>Gilles</dc:creator>
		<pubDate>Mon, 18 Jan 2010 10:49:51 +0000</pubDate>
		<guid isPermaLink="false">http://naivist.net/tips/index.php/2005/08/02/changing-the-title-of-an-spfile-object/#comment-6265</guid>
		<description>&lt;p&gt;Thank you very much for this, I had a problem with that, now it&#039;s fixed :D&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thank you very much for this, I had a problem with that, now it&#8217;s fixed :D</p>]]></content:encoded>
	</item>
	<item>
		<title>By: marlobello</title>
		<link>http://tips.naivist.net/2005/08/02/spfile_title_change/comment-page-1/#comment-6212</link>
		<dc:creator>marlobello</dc:creator>
		<pubDate>Mon, 17 Aug 2009 17:47:11 +0000</pubDate>
		<guid isPermaLink="false">http://naivist.net/tips/index.php/2005/08/02/changing-the-title-of-an-spfile-object/#comment-6212</guid>
		<description>&lt;p&gt;I just accomplished this after a bunch of trial and error. Basically just change the &quot;BaseName&quot; value of the SPListItem.&lt;/p&gt;

&lt;p&gt;C#
SPListItem item = CallSomeMethod();&lt;/p&gt;

&lt;p&gt;item[&quot;BaseName&quot;] = &quot;New Base Name&quot;;&lt;/p&gt;

&lt;p&gt;item.SystemUpdate();&lt;/p&gt;

&lt;p&gt;Hope that helps.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I just accomplished this after a bunch of trial and error. Basically just change the &#8220;BaseName&#8221; value of the SPListItem.</p>

<p>C#
SPListItem item = CallSomeMethod();</p>

<p>item["BaseName"] = &#8220;New Base Name&#8221;;</p>

<p>item.SystemUpdate();</p>

<p>Hope that helps.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Krišs Rauhvargers</title>
		<link>http://tips.naivist.net/2005/08/02/spfile_title_change/comment-page-1/#comment-6203</link>
		<dc:creator>Krišs Rauhvargers</dc:creator>
		<pubDate>Mon, 09 Mar 2009 10:05:48 +0000</pubDate>
		<guid isPermaLink="false">http://naivist.net/tips/index.php/2005/08/02/changing-the-title-of-an-spfile-object/#comment-6203</guid>
		<description>&lt;p&gt;The code is definitely in Vb.net.&lt;/p&gt;

&lt;p&gt;You can try oFile.Item.Item[&quot;Title&quot;] - because &quot;oFile.Item&quot; is an expression of type SPListItem, but &quot;oFile.Item.Item&quot; is a property which references the value of a particular property within that listitem returned by &quot;oFile.Item&quot;. Sorry, this sounds complex, i know. &lt;/p&gt;

&lt;p&gt;Yes, and the other remark is that the code was written for SPPS 2003.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The code is definitely in Vb.net.</p>

<p>You can try oFile.Item.Item["Title"] &#8211; because &#8220;oFile.Item&#8221; is an expression of type SPListItem, but &#8220;oFile.Item.Item&#8221; is a property which references the value of a particular property within that listitem returned by &#8220;oFile.Item&#8221;. Sorry, this sounds complex, i know. </p>

<p>Yes, and the other remark is that the code was written for SPPS 2003.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://tips.naivist.net/2005/08/02/spfile_title_change/comment-page-1/#comment-6202</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 09 Mar 2009 09:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://naivist.net/tips/index.php/2005/08/02/changing-the-title-of-an-spfile-object/#comment-6202</guid>
		<description>&lt;p&gt;Sorry, I just realized you were using VB.NET not C#.&lt;/p&gt;

&lt;p&gt;However, still the title doesn&#039;t get changed and that property is read-only.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Sorry, I just realized you were using VB.NET not C#.</p>

<p>However, still the title doesn&#8217;t get changed and that property is read-only.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://tips.naivist.net/2005/08/02/spfile_title_change/comment-page-1/#comment-6201</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 09 Mar 2009 09:21:09 +0000</pubDate>
		<guid isPermaLink="false">http://naivist.net/tips/index.php/2005/08/02/changing-the-title-of-an-spfile-object/#comment-6201</guid>
		<description>&lt;p&gt;oFile.Item(&quot;Title&quot;) = &quot;newTitle&quot;&lt;/p&gt;

&lt;p&gt;This line doesn&#039;t compile as there is no Item method for the oFile object.&lt;/p&gt;

&lt;p&gt;Item is a property and can be accesed using oFile.Item[&quot;Title&quot;] and it is read only!&lt;/p&gt;

&lt;p&gt;I have not yet found any proper solution to set the title...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>oFile.Item(&#8220;Title&#8221;) = &#8220;newTitle&#8221;</p>

<p>This line doesn&#8217;t compile as there is no Item method for the oFile object.</p>

<p>Item is a property and can be accesed using oFile.Item["Title"] and it is read only!</p>

<p>I have not yet found any proper solution to set the title&#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: vqp</title>
		<link>http://tips.naivist.net/2005/08/02/spfile_title_change/comment-page-1/#comment-6184</link>
		<dc:creator>vqp</dc:creator>
		<pubDate>Fri, 26 Sep 2008 15:25:13 +0000</pubDate>
		<guid isPermaLink="false">http://naivist.net/tips/index.php/2005/08/02/changing-the-title-of-an-spfile-object/#comment-6184</guid>
		<description>&lt;p&gt;Thanks a lot!, it works like a charm.
BTW, your english is perfect.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks a lot!, it works like a charm.
BTW, your english is perfect.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: maestro</title>
		<link>http://tips.naivist.net/2005/08/02/spfile_title_change/comment-page-1/#comment-3263</link>
		<dc:creator>maestro</dc:creator>
		<pubDate>Fri, 20 Oct 2006 14:45:35 +0000</pubDate>
		<guid isPermaLink="false">http://naivist.net/tips/index.php/2005/08/02/changing-the-title-of-an-spfile-object/#comment-3263</guid>
		<description>&lt;p&gt;you a lamerz&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>you a lamerz</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Manik Mittal</title>
		<link>http://tips.naivist.net/2005/08/02/spfile_title_change/comment-page-1/#comment-829</link>
		<dc:creator>Manik Mittal</dc:creator>
		<pubDate>Wed, 21 Jun 2006 09:51:37 +0000</pubDate>
		<guid isPermaLink="false">http://naivist.net/tips/index.php/2005/08/02/changing-the-title-of-an-spfile-object/#comment-829</guid>
		<description>&lt;p&gt;Hi,
Let me explain the full scenario. I am trying to make an application which will copy some files from one Team site to the Portal Server. Now, i have changed the context menu and added a new item to it - Upload to portal. while cilcking on it, it goes to a page which shows the document listings of portal and asks which doc lib we want to post the document to. Now, while clicking on it, i want to check the meta data for the destination Doc Lib. If there are some mandatory metadata, then the which are not there on the Source DocLib, it will ask the user about it, and on clcking upload it will upload the file and associate that metadata to it. Do you have some idea about it?
Please give me a reply if you have solution to it.&lt;/p&gt;

&lt;p&gt;Regards,
Manik Mittal&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,
Let me explain the full scenario. I am trying to make an application which will copy some files from one Team site to the Portal Server. Now, i have changed the context menu and added a new item to it &#8211; Upload to portal. while cilcking on it, it goes to a page which shows the document listings of portal and asks which doc lib we want to post the document to. Now, while clicking on it, i want to check the meta data for the destination Doc Lib. If there are some mandatory metadata, then the which are not there on the Source DocLib, it will ask the user about it, and on clcking upload it will upload the file and associate that metadata to it. Do you have some idea about it?
Please give me a reply if you have solution to it.</p>

<p>Regards,
Manik Mittal</p>]]></content:encoded>
	</item>
</channel>
</rss>

