<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>SharePoint 2010 Performance Blog</title>
	
	<link>http://yalla.itgroove.net</link>
	<description>SharePoint 2010  Performance Blog</description>
	<lastBuildDate>Tue, 22 May 2012 16:32:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Sharepoint-2010-Blog" /><feedburner:info uri="sharepoint-2010-blog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>You don’t have Add and Customize Pages permissions required to perform this action</title>
		<link>http://feedproxy.google.com/~r/Sharepoint-2010-Blog/~3/4Iak6tRDa6w/</link>
		<comments>http://yalla.itgroove.net/2012/05/you-dont-have-add-and-customize-pages-permissions-required-to-perform-this-action/#comments</comments>
		<pubDate>Tue, 22 May 2012 16:16:33 +0000</pubDate>
		<dc:creator>Keith Tuomi</dc:creator>
				<category><![CDATA[Document Library]]></category>
		<category><![CDATA[Permissions]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[permissions]]></category>

		<guid isPermaLink="false">http://yalla.itgroove.net/?p=526</guid>
		<description><![CDATA[Steps to create the message &#8220;You don&#8217;t have Add and Customize Pages permissions required to perform this action&#8221;: 1. Make a new document library, set it the &#8220;Basic Page&#8221; template. 2. Assign a user Full Control on the document library 3. Have that user create a new document in the new document library. >>> At [...]]]></description>
			<content:encoded><![CDATA[<p>Steps to create the message <strong>&#8220;You don&#8217;t have Add and Customize Pages permissions required to perform this action&#8221;</strong>:</p>
<p>1. Make a new document library, set it the &#8220;Basic Page&#8221; template.<br />
2. Assign a user Full Control on the document library<br />
3. Have that user create a new document in the new document library.</p>
<p>>>> At this point you may receieve <strong>&#8220;Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. You don&#8217;t have Add and Customize Pages permissions required to perform this action.&#8221;</strong></p>
<p>This causes a lot of confusion as applying &#8220;Full Control&#8221; on the document ibrary would seem to imply to the layman that the users in that group would be granted access accordingly. However it&#8217;s clearly not working for you at this point, so what&#8217;s the scoop on this? Turns out SharePoints famed &#8220;inverted NTFS Permission&#8221;-style permission hierarchy is not as clear cut as simply saying &#8220;SharePoint Permissions are granted in order most permissive first&#8221;.</p>
<p>At this point, a frustrated admin would start looking at the next possible permissions to fiddle with, in order to work around the seemingly odd error message:</p>
<p>1. Clearly taking the next step up of giving someone &#8220;Full Control&#8221; of the entire site (Site Actions > Site Permissions), would not be desirable in most cases.<br />
2. Giving the user &#8220;Add and Customize Pages&#8221; permissions on the entire site would allow them to edit, but is also probably not desirable in most circumstances since they could also &#8220;Add, change or delete HTML pages or Web Part pages and edit the web site using designer. </p>
<p><strong>The solution:</strong><br />
1. You must have &#8220;Add and Customize Pages&#8221; permission from the site level to perform this action, the permission is not in the list permission level.<br />
2. Add a new permission level which only includes &#8220;Add and Customize Pages&#8221; permission, and then create a new SharePoint group with this permission level.<br />
3. Add the users into the SharePoint group and these users will get the &#8220;Add and Customize Pages&#8221; permission from the <strong>site level (site permission)</strong>.<br />
4. To Add/Edit a page, the users would also need the permission level &#8220;Contributor&#8221; in the list permission level. </p>
<p>It&#8217;s important to note that when you grant the full control to the users in the list permission level, that the users won&#8217;t get the permission from the site level.</p>
<h4>Incoming search terms:</h4><ul><li>sharepoint You dont have Add and Customize Pages permissions required to perform this action</li><li>have Add and Customize Pages permissions required to perform this action DesignText: &lt;WebPart</li></ul><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=4Iak6tRDa6w:q40H7X808RI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=4Iak6tRDa6w:q40H7X808RI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=4Iak6tRDa6w:q40H7X808RI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?i=4Iak6tRDa6w:q40H7X808RI:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Sharepoint-2010-Blog/~4/4Iak6tRDa6w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://yalla.itgroove.net/2012/05/you-dont-have-add-and-customize-pages-permissions-required-to-perform-this-action/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://yalla.itgroove.net/2012/05/you-dont-have-add-and-customize-pages-permissions-required-to-perform-this-action/</feedburner:origLink></item>
		<item>
		<title>PowerShell – Delete all “deleted” site collections in a web application</title>
		<link>http://feedproxy.google.com/~r/Sharepoint-2010-Blog/~3/L6o864FBm2Y/</link>
		<comments>http://yalla.itgroove.net/2012/05/powershell-delete-all-deleted-site-collections-in-a-web-application/#comments</comments>
		<pubDate>Thu, 17 May 2012 20:22:13 +0000</pubDate>
		<dc:creator>Keith Tuomi</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[delete site collections]]></category>
		<category><![CDATA[Get-SPDeletedSite]]></category>
		<category><![CDATA[Remove-SPDeletedSite]]></category>

		<guid isPermaLink="false">http://yalla.itgroove.net/?p=521</guid>
		<description><![CDATA[When you delete a site collection, it actually stays kicking around for a while, as explained at http://blogs.msdn.com/b/chaks/archive/2011/06/30/sharepoint-2010-sp1-site-recycle-bin-ui-experience.aspx. As I happened to have a lot of deleted site collections I wanted to permanently remove, I was not satisfied with having to manually grab the site collection ID&#8217;s and plunk them into the Remove-SPDeletedSite PowerShell command [...]]]></description>
			<content:encoded><![CDATA[<p>When you delete a site collection, it actually stays kicking around for a while, as explained at <a target="_blank" href="http://blogs.msdn.com/b/chaks/archive/2011/06/30/sharepoint-2010-sp1-site-recycle-bin-ui-experience.aspx">http://blogs.msdn.com/b/chaks/archive/2011/06/30/sharepoint-2010-sp1-site-recycle-bin-ui-experience.aspx</a>.</p>
<p>As I happened to have a lot of deleted site collections I wanted to permanently remove, I was not satisfied with having to manually grab the site collection ID&#8217;s and plunk them into the Remove-SPDeletedSite PowerShell command one-by-one. </p>
<p>So, below is the method to delete ALL the &#8220;deleted&#8221; site collections under a specified web application. In this case, the web application URL is <strong>http://sharepoint</strong> &#8211; replace with your own desired web app URL:</p>
<pre class="brush: jscript; title: ; notranslate">
Get-SPDeletedSite -webapplication http://sharepoint | Remove-SPDeletedSite
</pre>
<p>You will be prompted to delete them one by one, if you want it to run through them all without further prompts just enter the letter &#8220;A&#8221;. </p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=L6o864FBm2Y:PpdnPgjR0UY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=L6o864FBm2Y:PpdnPgjR0UY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=L6o864FBm2Y:PpdnPgjR0UY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?i=L6o864FBm2Y:PpdnPgjR0UY:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Sharepoint-2010-Blog/~4/L6o864FBm2Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://yalla.itgroove.net/2012/05/powershell-delete-all-deleted-site-collections-in-a-web-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://yalla.itgroove.net/2012/05/powershell-delete-all-deleted-site-collections-in-a-web-application/</feedburner:origLink></item>
		<item>
		<title>Check SharePoint 2010 anonymous permissions</title>
		<link>http://feedproxy.google.com/~r/Sharepoint-2010-Blog/~3/aTNlqmPOvR8/</link>
		<comments>http://yalla.itgroove.net/2012/05/check-sharepoint-2010-anonymous-permissions/#comments</comments>
		<pubDate>Wed, 16 May 2012 17:12:01 +0000</pubDate>
		<dc:creator>Keith Tuomi</dc:creator>
				<category><![CDATA[Permissions]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[anonymous access]]></category>
		<category><![CDATA[anonymous permissions]]></category>

		<guid isPermaLink="false">http://yalla.itgroove.net/?p=512</guid>
		<description><![CDATA[Great PowerShell for checking the state of SharePoint anonymous permissions from Max Ruswell at Microsoft: SharePoint PowerShell Script Series Part 6 &#8211; Is Anonymous Access Enabled? Note:  This PowerShell script is tested only on SharePoint 2010 Instructions for running the script: 1. Copy the below script and save it in notepad 2. Save it with [...]]]></description>
			<content:encoded><![CDATA[<p>Great PowerShell for checking the state of SharePoint anonymous permissions from Max Ruswell at Microsoft:</p>
<h3><a target="_blank" href="http://blogs.msdn.com/b/russmax/archive/2012/04/21/sharepoint-powershell-script-series-part-6-is-anonymous-access-enabled.aspx">SharePoint PowerShell Script Series Part 6 &#8211; Is Anonymous Access Enabled?</a></h3>
<p><span style="color: #ff0000;">Note:  This PowerShell script is tested only on SharePoint 2010</span></p>
<p><strong><span style="font-size: small;">Instructions for running the script:</span></strong></p>
<p>1. Copy the below script and save it in notepad<br />
2. Save it with a anyfilename.ps1 extension<br />
3. To run, copy the file to a SharePoint Server<br />
4. Select Start\Microsoft SharePoint 2010 Products\SharePoint 2010 Management Shell<br />
5. Browse to directory holding the copied script file<br />
6. Run the script: .\anyfilename.ps1 (assuming anyfilename is the name of the file)</p>
<pre class="brush: jscript; title: ; notranslate">&lt;# ==============================================================
//
// Microsoft provides programming examples for illustration only,
// without warranty either expressed or implied, including, but not
// limited to, the implied warranties of merchantability and/or
// fitness for a particular purpose.
//
// This sample assumes that you are familiar with the programming
// language being demonstrated and the tools used to create and debug
// procedures. Microsoft support professionals can help explain the
// functionality of a particular procedure, but they will not modify
// these examples to provide added functionality or construct
// procedures to meet your specific needs. If you have limited
// programming experience, you may want to contact a Microsoft
// Certified Partner or the Microsoft fee-based consulting line at
// (800) 936-5200.
//
// For more information about Microsoft Certified Partners, please
// visit the following Microsoft Web site:
// &lt;/span&gt;&lt;a href=&quot;https://partner.microsoft.com/global/30000104&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;https://partner.microsoft.com/global/30000104&lt;/span&gt;&lt;/a&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;//
// Author: Russ Maxwell (russmax@microsoft.com)
//
// ---------------------------------------------------------- #&gt;&lt;/span&gt;
&lt;h3&gt;&lt;/h3&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;[Void][System.Reflection.Assembly]::LoadWithPartialName(&quot;Microsoft.SharePoint&quot;) &lt;/span&gt;
&lt;h3&gt;&lt;/h3&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Start-SPAssignment -Global&lt;/span&gt;
&lt;h3&gt;&lt;/h3&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;######################################
##Creating and Returning a DataTable##
######################################
function createDT()
{
###Creating a new DataTable###
$tempTable = New-Object System.Data.DataTable

##Creating Columns for DataTable##
$col1 = New-Object System.Data.DataColumn(&quot;Anonymous Access&quot;)
$col2 = New-Object System.Data.DataColumn(&quot;Level&quot;)
$col3 = New-Object System.Data.DataColumn(&quot;URL&quot;)
$col4 = New-Object System.Data.DataColumn(&quot;Configured List\Lib&quot;)

###Adding Columns for DataTable###
$tempTable.columns.Add($col1)
$tempTable.columns.Add($col2)
$tempTable.columns.Add($col3)
$tempTable.columns.Add($col4)

return ,$tempTable
}&lt;/span&gt;
&lt;h3&gt;&lt;/h3&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;#####################################
##Check WebApp for Anonymous Access##
#####################################
function checkwebappAnon()
{
$webAnon = $site.IISAllowsAnonymous.tostring()
$tempanonCheck = 0;
if ($webAnon -eq &quot;true&quot;)
{
#Add a row to DataTable
$row = $dTable.NewRow()
$row[&quot;Anonymous Access&quot;] = &quot;Enabled&quot;
$row[&quot;Level&quot;] = &quot;WebApplication&quot;
$row[&quot;URL&quot;] = $site.WebApplication.Name
$dTable.rows.Add($row)
}

}&lt;/span&gt;
&lt;h3&gt;&lt;/h3&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;######################################
##Check the Site for Anonymous Access#
######################################
function checksiteAnon()
{
$tempanonCheck = 0
$checkWeb = $web.AllowAnonymousAccess.tostring()
$checkWebState = $web.AnonymousState.tostring()
$webMask = $web.AnonymousPermMask64.tostring()
Write-Host
Write-Host &quot;Checking how Anonymous is set up on site: &quot; $web.Url -ForegroundColor Magenta

if(($checkWeb -eq &quot;True&quot;) -and ($checkWebState -eq &quot;On&quot;))
{
#Add a row to DataTable#
$row = $dTable.NewRow()
$row[&quot;Anonymous Access&quot;] = &quot;Enabled&quot;
$row[&quot;Level&quot;] = &quot;Site Level: Entire WebSite&quot;
$row[&quot;URL&quot;] = $web.Url.tostring()
$dTable.rows.Add($row)
$tempResult = 1
}

elseif(($checkWeb -eq &quot;False&quot;) -and ($checkWebState -eq &quot;Enabled&quot;) -and ($webMask -eq &quot;Open&quot;))
{
#Add a row to DataTable#
$row = $dTable.NewRow()
$row[&quot;Anonymous Access&quot;] = &quot;Enabled&quot;
$row[&quot;Level&quot;] = &quot;Site Level: Lists and Libraries&quot;
$row[&quot;URL&quot;] = $web.Url.tostring()
$dTable.rows.Add($row)
$tempResult = 2
}

else
{
$tempResult = 3
}

return $tempResult
}&lt;/span&gt;
&lt;h3&gt;&lt;/h3&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;############################################
##Check List\Libraries for Anonymous Access#
############################################
function checklistAnon()
{
###Checking each list and library for anonymous access###
$lists = $web.lists
$count1 = $lists.count
$hasAnon = 0

Write-Host &quot;Checking &quot; $lists.count &quot; lists\libaries for Anonymous Access&quot; -ForegroundColor Magenta

###Setting String Vars###
$defMask1 = &quot;OpenWeb&quot;
$defMask2 = &quot;EmptyMask&quot;
$defTax = &quot;TaxonomyHiddenList&quot;

foreach($list in $lists)
{
$listUrl = $web.url + &quot;/&quot; + $list.Title
$listMask = $list.AnonymousPermMask.tostring()
$tax = $list.Title.ToString()

##Checking List eventhough Anonymous Access was disabled at SPWeb Level##
if(($webResult -eq '3') -and ($defTax.CompareTo($tax) -ne '0'))
{
if($listMask.CompareTo($defMask2) -ne '0')
{
if($listMask.CompareTo($defMask1) -eq '0')
{
#Anonymous Access is Enabled but not Configured on list\library#
$row = $dTable.NewRow()
$row[&quot;Anonymous Access&quot;] = &quot;Enabled&quot;
$row[&quot;Level&quot;] = &quot;List\Library&quot;
$row[&quot;URL&quot;] = $listUrl
$row[&quot;Configured List\Lib&quot;] = &quot;No&quot;
$dTable.rows.Add($row)
$hasAnon++
}
else
{
#Anonymous Access Enabled and Configured on list\library#
$row = $dTable.NewRow()
$row[&quot;Anonymous Access&quot;] = &quot;Enabled&quot;
$row[&quot;Level&quot;] = &quot;List\Library&quot;
$row[&quot;URL&quot;] = $listUrl
$row[&quot;Configured List\Lib&quot;] = &quot;Yes&quot;
$dTable.rows.Add($row)
$hasAnon++
}
}
}

elseif(($webResult -eq '2') -and ($defTax.CompareTo($tax) -ne '0'))
{
if(($listMask.CompareTo($defMask2) -ne '0') -and ($listMask.CompareTo($defMask1) -ne '0'))
{
#Anonymous Access Enabled and Configured on list\library#
$row = $dTable.NewRow()
$row[&quot;Anonymous Access&quot;] = &quot;Enabled&quot;
$row[&quot;Level&quot;] = &quot;List\Library&quot;
$row[&quot;URL&quot;] = $listURL
$row[&quot;Configured List\Lib&quot;] = &quot;Yes&quot;
$dTable.rows.Add($row)
$hasAnon++
}
}
$count1--
if($count1 % '10' -eq '0')
{
Write-Host &quot;Total # of lists\libraries left to check: &quot; $count1 -ForegroundColor DarkYellow
}
}
Write-Host
Write-Host &quot;Total # of lists\libraries with Anonymous Access Enabled: &quot; $hasAnon -ForegroundColor Cyan
}
&lt;/span&gt;
&lt;h3&gt;&lt;/h3&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;########################
###Script Starts Here###
########################
$output = Read-Host &quot;Enter a location for the output file (For Example: c:\logs\)&quot;
$filename = Read-Host &quot;Enter a filename&quot;
$url = Read-Host &quot;Please enter the URL of desired site collection and press enter&quot;&lt;/span&gt;
&lt;h3&gt;&lt;/h3&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;###Getting a new DataTable###
[System.Data.DataTable]$dTable = createDT&lt;/span&gt;
&lt;h3&gt;&lt;/h3&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;###Getting Site Collection###
$site = Get-SPSite $url&lt;/span&gt;
&lt;h3&gt;&lt;/h3&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;###Checking if WebApp has Anonymous set###
checkwebappAnon&lt;/span&gt;
&lt;h3&gt;&lt;/h3&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;###Gathering web collection###
$webs = $site.Allwebs
$count = $webs.Count
Write-Host &quot;Checking for Anonymous Access on &quot; $count &quot; Sites&quot; -ForegroundColor Magenta&lt;/span&gt;
&lt;h3&gt;&lt;/h3&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;foreach($web in $webs)
{
$webResult = 0
###calling function to check anonymons on spweb###
$webResult = checksiteAnon

if(($webResult -eq '2') -or ($webResult -eq '3'))
{
Write-Host &quot;Checking for Anonymous Access on List and Libraries&quot; -ForegroundColor Magenta
###calling function to check anonymons on lists and libs###
checklistAnon
}

$count--

if($count -ne '0')
{
Write-Host
Write-Host &quot;Total # of sites left to check: &quot; $count -ForegroundColor DarkYellow
}

else{Write-Host &quot;Operation Completed&quot; -ForegroundColor DarkYellow}
}&lt;/span&gt;
&lt;h3&gt;&lt;/h3&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;if($dTable -ne $null)
{
$name = $output + &quot;\&quot; + $filename + &quot;.csv&quot;
$dTable | Export-Csv $name -NoTypeInformation
Write-Host &quot;Anonymous Access was detected&quot; -ForegroundColor Green
Write-Host &quot;Log File Created: &quot; $name
}
else
{
Write-Host &quot;Anonymous Access is Disabled for the entire Site Collection&quot; -ForegroundColor Green
Write-Host &quot;No Log File Created&quot; -ForegroundColor Green
}

Stop-SPAssignment -Global
</pre>
<h4>Incoming search terms:</h4><ul><li>$row[\level access\]</li><li>sp2010 check if page is anonymous</li><li>sp2010 anonymous blogging</li><li>sp 2010 how to check permissions on folder for anonymous</li><li>sharepoint anonymous access 2010 for write</li><li>Sharepoint 2010 detect if current is anonymous</li><li>sharepoint 2010 anonymous enabled</li><li>sharepoint 2010 anonymous access write</li><li>create blog in sharepoint anonymous</li><li>unable to access styles in sharepoint 2010 site with anonymous access</li></ul><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=aTNlqmPOvR8:tR4dHEtdqWM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=aTNlqmPOvR8:tR4dHEtdqWM:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=aTNlqmPOvR8:tR4dHEtdqWM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?i=aTNlqmPOvR8:tR4dHEtdqWM:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Sharepoint-2010-Blog/~4/aTNlqmPOvR8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://yalla.itgroove.net/2012/05/check-sharepoint-2010-anonymous-permissions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://yalla.itgroove.net/2012/05/check-sharepoint-2010-anonymous-permissions/</feedburner:origLink></item>
		<item>
		<title>CKS Dev New Release 2.4 – Content Type With Event Receiver and Web Template SPI</title>
		<link>http://feedproxy.google.com/~r/Sharepoint-2010-Blog/~3/_IdU1eCbdQA/</link>
		<comments>http://yalla.itgroove.net/2012/05/cks-dev-new-release-2-4-content-type-with-event-receiver-and-web-template-spi/#comments</comments>
		<pubDate>Mon, 07 May 2012 15:49:43 +0000</pubDate>
		<dc:creator>Keith Tuomi</dc:creator>
				<category><![CDATA[Content Type]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Event Handlers]]></category>
		<category><![CDATA[cks dev tools]]></category>

		<guid isPermaLink="false">http://yalla.itgroove.net/?p=505</guid>
		<description><![CDATA[This project extends the Visual Studio 2010 SharePoint project system with advanced templates and tools. Using these extensions you will be able to find relevant information from your SharePoint environments without leaving Visual Studio. You will have greater productivity while developing SharePoint components and you will have greater deployment capabilities on your local SharePoint installation. [...]]]></description>
			<content:encoded><![CDATA[<p>This project extends the Visual Studio 2010 SharePoint project system with advanced templates and tools. Using these extensions you will be able to find relevant information from your SharePoint environments without leaving Visual Studio. You will have greater productivity while developing SharePoint components and you will have greater deployment capabilities on your local SharePoint installation.</p>
<h2>What&#8217;s new in this release <img title="new-star.png" src="http://i3.codeplex.com/Download?ProjectName=cksdev&amp;DownloadId=200916" alt=" CKS Dev New Release 2.4   Content Type With Event Receiver and Web Template SPI SharePoint 2010 event handlers development content type  "  /></h2>
<p>The current 2.4 release includes the following features:</p>
<ul>
<li><strong>Content Type With Event Receiver SPI</strong> &#8211; New Content Type with Event Receiver project item template.</li>
<li><strong>Web Template SPI</strong> &#8211; New Web Template project item template.</li>
</ul>
<h2>Download CKSDev</h2>
<p>This CodePlex site serves as the place to get project news and source code. The extensions themselves are distributed through the <a target="_blank" href="http://visualstudiogallery.msdn.microsoft.com/en-us/">Visual Studio Gallery</a>. You have direct access to the Visual Studio Gallery from within the Extension Manager. For installation instructions see the <a target="_blank" href="http://cksdev.codeplex.com/wikipage?title=Installation%20Guide&amp;referringTitle=Home">Installation Guide</a>. Never miss an update again, with direct update notification from the Visual Studio Gallery when we publish a new version.</p>
<h3>Which version should I download?</h3>
<p>If you are using <strong>SharePoint Foundation 2010</strong> then download and install the <strong><a target="_blank" href="http://visualstudiogallery.msdn.microsoft.com/en-us/a346880f-2d29-47a6-84a2-f2d568dd6997">SharePoint Foundation 2010 version</a></strong></p>
<p>If you are using <strong>SharePoint Server 2010</strong> then download and install the <strong><a target="_blank" href="http://visualstudiogallery.msdn.microsoft.com/en-us/ee876627-962c-4c35-a4a6-a4d89bfb61dc">SharePoint Server 2010 version</a></strong></p>
<h2>Features</h2>
<p>This project provides extensions to four core areas; <a target="_blank" href="http://cksdev.codeplex.com/documentation?referringTitle=Home&amp;ANCHOR#Environment">Environment</a>, <a target="_blank" href="http://cksdev.codeplex.com/documentation?referringTitle=Home&amp;ANCHOR#Exploration">Exploration</a>, <a target="_blank" href="http://cksdev.codeplex.com/documentation?referringTitle=Home&amp;ANCHOR#Content">Content</a> and <a target="_blank" href="http://cksdev.codeplex.com/documentation?referringTitle=Home&amp;ANCHOR#Deployment">Deployment</a>. Enhancements to the Visual Studio environment include the new SharePoint References tab available on the Add Reference dialog, allowing you to easily reference any SharePoint assembly without searching the file system or GAC for it. Exploration extends the new SharePoint Explorer with advanced information about SharePoint sites such as the installed Web Parts and Master Pages or the Feature dependencies and elements. Also included in the Explorer are a variety of import functions to bring existing SharePoint items into your active solution. The Content area includes advanced templates such as Linq to SharePoint, Custom Action or Delegate Control. Project templates include the SharePoint Full Trust Proxy and the SharePoint Console Application. Our enhanced Deployment functions give you the ability to utilise quick deployment and almost a dozen other productivity enhancing deployment steps, including automated deployment (per file on change deployment) Find the complete overview of all the CKS Development Tools Edition features on the <a target="_blank" href="http://cksdev.codeplex.com/documentation?referringTitle=Home">Documentation</a> tab.</p>
<p>With the release of Microsoft&#8217;s excellent <a target="_blank" href="http://visualstudiogallery.msdn.microsoft.com/en-us/8e602a8c-6714-4549-9e95-f3700344b0d9">Visual Studio 2010 SharePoint Power Tools</a> the CKSDev team have retired the Sandboxed Visual web part item template. for more information read <a target="_blank" href="http://blogs.code-counsel.net/Wouter/Lists/Posts/Post.aspx?ID=156">Wouter&#8217;s blog</a></p>
<h4>Incoming search terms:</h4><ul><li>content type feature with receiver</li><li>Developing an Event Receiver for a Content Type</li><li>sharepoint 2010 tabs</li><li>visual studio 2010 cksdev</li><li>visual studio delegate control sharepoint 2010 cksdev</li></ul><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=_IdU1eCbdQA:FZ5UmcFUMIw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=_IdU1eCbdQA:FZ5UmcFUMIw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=_IdU1eCbdQA:FZ5UmcFUMIw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?i=_IdU1eCbdQA:FZ5UmcFUMIw:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Sharepoint-2010-Blog/~4/_IdU1eCbdQA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://yalla.itgroove.net/2012/05/cks-dev-new-release-2-4-content-type-with-event-receiver-and-web-template-spi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://yalla.itgroove.net/2012/05/cks-dev-new-release-2-4-content-type-with-event-receiver-and-web-template-spi/</feedburner:origLink></item>
		<item>
		<title>Object in the sharepoint administrative framework, SPsolutionLanguagePack Name=0, depends on other objects which do not exist</title>
		<link>http://feedproxy.google.com/~r/Sharepoint-2010-Blog/~3/gg1CROjZmEE/</link>
		<comments>http://yalla.itgroove.net/2012/05/object-in-the-sharepoint-administrative-framework-spsolutionlanguagepack-name0-depends-on-other-objects-which-do-not-exis/#comments</comments>
		<pubDate>Fri, 04 May 2012 16:13:44 +0000</pubDate>
		<dc:creator>Keith Tuomi</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[add spsolution]]></category>
		<category><![CDATA[iisreset]]></category>
		<category><![CDATA[language pack]]></category>
		<category><![CDATA[sharepoint administrative framework]]></category>

		<guid isPermaLink="false">http://yalla.itgroove.net/?p=489</guid>
		<description><![CDATA[I encountered the following error today when trying to use the Sharepoint 2010 Management Shell Add-SPSolution to install a .WSP &#8220;an object in the sharepoint administrative framework, &#8220;SPsolutionLanguagePack Name=0&#8243;, depends on other objects which do not exist&#8221; I noted that there were a lot of recent MSI install (Windows Updates) that morning in the style [...]]]></description>
			<content:encoded><![CDATA[<p>I encountered the following error today when trying to use the Sharepoint 2010 Management Shell Add-SPSolution to install a .WSP</p>
<p>&#8220;an object in the sharepoint administrative framework, &#8220;SPsolutionLanguagePack Name=0&#8243;, depends on other objects which do not exist&#8221;</p>
<p>I noted that there were a lot of recent MSI install (Windows Updates) that morning in the style of &#8220;Windows Installer reconfigured the product. Product Name: Microsoft SharePoint Foundation 2010 1033 Lang Pack. Product Version: 14.0.6029.1000. Product Language: 1033. Manufacturer: Microsoft Corporation. Reconfiguration success or error status: 0.&#8221;</p>
<p>Putting 2 and 2 together I figured they were more than happenstance to be occuring in parallel all of a sudden. So I did what anyone intimate with IIS would do: splash it in the face with a cold bucket of IISRESET.EXE.</p>
<p>Add-SPSolution subsequently worked. Will update if I ever learn more details.</p>
<p>&nbsp;</p>
<p>*** UPDATE &#8211; it seem&#8217;s this may possibly be caused by installing a WSP before it&#8217;s previously been removed. Especially in a multi-server far where solutions have to be deployed or retracted in parallel across several machines, there may be a bit of lag. Give it a few minutes then try again, before resorting to IISReset or swearing.</p>
<h4>Incoming search terms:</h4><ul><li>windows installer reconfigured the product product name: microsoft sharepoint foundation 2010 1033 lang pack</li><li>an object in the sharepoint administrative framework spsolutionlanguagepack name=0</li><li>spsolutionlanguagepack name=0</li><li>an object in the sharepoint administrative framework spsolutionlanguagepack name=0 depends on other objects which do not exist</li><li>add-spsolution : an object in the sharepoint administrative framewor ionlanguagepack name=0 depends on other objects which do not exist</li><li>windows installer reconfigured the product product name: microsoft word server product version: 14 0 6029 1000 product language: 0 manufacturer: microsoft corporation reconfiguration success or error status: 0</li><li>add-spsolution SPSolutionLanguagePack Name=0 depends on other objects which do not exist</li><li>add-spsolution : an object in the sharepoint administrative framework spsolutionlanguagepack name=0 depends on other objects which do not exist</li><li>an object in the sharepoint administrative framework spsolutionlanguagepack name</li><li>windows installer reconfigured the product product name: microsoft sharepoint foundation 2010 1033 lang pack product version: 14 0 6029 1000 product language: 1033</li></ul><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=gg1CROjZmEE:VxeiFyZLSgI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=gg1CROjZmEE:VxeiFyZLSgI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=gg1CROjZmEE:VxeiFyZLSgI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?i=gg1CROjZmEE:VxeiFyZLSgI:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Sharepoint-2010-Blog/~4/gg1CROjZmEE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://yalla.itgroove.net/2012/05/object-in-the-sharepoint-administrative-framework-spsolutionlanguagepack-name0-depends-on-other-objects-which-do-not-exis/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://yalla.itgroove.net/2012/05/object-in-the-sharepoint-administrative-framework-spsolutionlanguagepack-name0-depends-on-other-objects-which-do-not-exis/</feedburner:origLink></item>
		<item>
		<title>Nintex Custom Actions permissions – Understanding RunWithElevatedPrivileges</title>
		<link>http://feedproxy.google.com/~r/Sharepoint-2010-Blog/~3/aa9cMBjIAe4/</link>
		<comments>http://yalla.itgroove.net/2012/04/nintex-custom-actions-permissions-understanding-runwithelevatedprivileges/#comments</comments>
		<pubDate>Tue, 17 Apr 2012 16:18:00 +0000</pubDate>
		<dc:creator>Keith Tuomi</dc:creator>
				<category><![CDATA[Nintex]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Workflow]]></category>
		<category><![CDATA[RunWIthElevatedPrivileges]]></category>

		<guid isPermaLink="false">http://yalla.itgroove.net/?p=490</guid>
		<description><![CDATA[When trying to do a simple System.IO.File.Copy inside the context of a Custom Nintex Action I wrote, I found that I couldn&#8217;t get the file to copy to a particular Windows Server File Share. Even though I had assigned the user name that was running the Nintex Workflow Read/Write permissions on the share, it would [...]]]></description>
			<content:encoded><![CDATA[<p>When trying to do a simple System.IO.File.Copy inside the context of a Custom Nintex Action I wrote, I found that I couldn&#8217;t get the file to copy to a particular Windows Server File Share. Even though I had assigned the user name that was running the Nintex Workflow Read/Write permissions on the share, it would fail with an error indicating lack of access to that folder. </p>
<p>It worked ok if I set “Everyone” with Read/Write permissions. Reviewed the great article on Windows Server 2008 File Share setup at <a target="_blank" href="http://www.techotopia.com/index.php/Configuring_Windows_Server_2008_File_Sharing">http://www.techotopia.com/index.php/Configuring_Windows_Server_2008_File_Sharing </a>, still it was clear the File Share was just net configured right.</p>
<p>The source of the issue is that in running the File Copy code inside a <strong><a target="_blank" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsecurity.runwithelevatedprivileges.aspx">RunWithElevatedPrivileges</a></strong> block, it is actually using a different account than the one running the workflow. Here is the Nintex Execute Activity function in question:</p>
<pre class="brush: csharp; title: ; notranslate">
protected override ActivityExecutionStatus Execute(ActivityExecutionContext executionContext)
		{
			NWWorkflowContext ctx = NWWorkflowContext.GetContext(
			   this.__Context,
			   new Guid(this.__ListId),
			   this.__ListItem.Id,
			   this.WorkflowInstanceId,
			   this);

			base.LogProgressStart(ctx);
				SPSecurity.RunWithElevatedPrivileges(() =&gt;
				{
					if (!Directory.Exists(ctx.AddContextDataToString(OutputPath)))
						Directory.CreateDirectory(ctx.AddContextDataToString(OutputPath));
					File.Copy(ctx.AddContextDataToString(SourcePath) + ctx.AddContextDataToString(strFileName),ctx.AddContextDataToString(OutputPath) + ctx.AddContextDataToString(strFileName),true);
				});
			}
			catch (Exception ex2)
			{
			    EventLog.WriteEntry(&quot;CopyFile Create Exception - Source File [&quot; + SourcePath + strFileName + &quot;] Output File [ &quot; + OutputPath + strFileName + &quot;]&quot;, ex2.Message + &quot;, StackTrace: &quot; + ex2.StackTrace, EventLogEntryType.Error, 9999);
			}
			base.LogProgressEnd(ctx, executionContext);
			return ActivityExecutionStatus.Closed;
		}
</pre>
<p>Two good comments from the MSDN reference at <a target="_blank" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsecurity.runwithelevatedprivileges.aspx">http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsecurity.runwithelevatedprivileges.aspx</a>:</p>
<p>The other thing to remember regarding this method call is that the account NAME that is being used is &#8220;SHAREPOINT/SYSTEM&#8221; and this does not resolve to an actual domain account.  Now <strong>the only time this becomes and issue is when one is referring to Windows resources outside of SharePoint</strong>.  Again this is only intended to be used for resources within SharePoint.  If your function code is say calling even a SharePoint web service and one sets the web service &#8220;Credential&#8221; to &#8220;System.Network.CredentialCache.DefaultNetworkCredential&#8221; that the service call will in fact fail because IIS will not be able to resolve the domain account &#8220;SHAREPOINT/SYSTEM&#8221;.  If the case is one needs to access external data then consider using a Secure Store credential.</p>
<p>And:</p>
<p>I&#8217;ve always found that the nuances of RunWithElevatedPrivileges cause much confusion as well as some weird and wonderful behavior if not properly understood. While the documentation here does a good job of explaining how and when to use it, it&#8217;s missing a key piece of information and that&#8217;s how the mechanism actually works.</p>
<p>Behind the scenes, RunWithElevatedPrivileges impersonates the identity of the current thread. In effect, this means that the delegate will run under the context of the application pool account, in the case of the code being called in the W3P process, or in the context of the SPTimerv4 service, in the case of the code being called in a workflow, timer job or anything else that&#8217;s kicked off using the timer. If the code is running in a console application or some other user-initiated app, the delegate will be kicked off using the context of the user who started the application. (Which would be the default behavior anyway).</p>
<p>When using workflows, bear in mind that the workflow may start running under W3P but continue executing under owstimer (SPTimerV4) depending on what it&#8217;s actually doing. In this case a delegate executed using RunWithElevatedPrivileges would not neccesarily yeild the same result.</p>
<p>PS nifty trick if you’ve forgotten about it:  just add a $ to the end of the share name (rendering it accessible but invisible when people browse the shares).</p>
<h4>Incoming search terms:</h4><ul><li>sharepoint nintex timer not firing</li><li>custom action permissions context sharepoint</li><li>nintex web service rights</li><li>nintex webservice userprofileservice</li><li>nintex workflow elevated</li><li>nintex workflow failed to run</li><li>nintex workflow not fire and runwithelevated</li><li>nintex write eventlog</li><li>nintext activityexecutioncontext</li><li>runwithelevatedprivileges key in sharepoint 2010</li></ul><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=aa9cMBjIAe4:H2ccNgM_JvQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=aa9cMBjIAe4:H2ccNgM_JvQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=aa9cMBjIAe4:H2ccNgM_JvQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?i=aa9cMBjIAe4:H2ccNgM_JvQ:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Sharepoint-2010-Blog/~4/aa9cMBjIAe4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://yalla.itgroove.net/2012/04/nintex-custom-actions-permissions-understanding-runwithelevatedprivileges/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://yalla.itgroove.net/2012/04/nintex-custom-actions-permissions-understanding-runwithelevatedprivileges/</feedburner:origLink></item>
		<item>
		<title>Open modal dialog and refresh the parent page from custom form SharePoint 2010</title>
		<link>http://feedproxy.google.com/~r/Sharepoint-2010-Blog/~3/VGuMGJ3ycPQ/</link>
		<comments>http://yalla.itgroove.net/2012/04/open-modal-dialog-and-refresh-the-parent-page-from-custom-form-sharepoint-2010/#comments</comments>
		<pubDate>Thu, 12 Apr 2012 04:55:09 +0000</pubDate>
		<dc:creator>Keith Tuomi</dc:creator>
				<category><![CDATA[Client Object Model]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[client object model]]></category>
		<category><![CDATA[close modal dialog sharepoint]]></category>
		<category><![CDATA[closecallback]]></category>

		<guid isPermaLink="false">http://yalla.itgroove.net/?p=482</guid>
		<description><![CDATA[What You need to open a SharePoint 2010 popup (SPModalDialog) and refresh the parent page on close. So What End Users get griefed when they add an amazing new bit of content to SharePoint, but after submitting it&#8217;s not immediately visible on the page they just &#8220;came from&#8221; (even though geeks know the score). Now [...]]]></description>
			<content:encoded><![CDATA[<p><strong>What</strong></p>
<p>You need to open a SharePoint 2010 popup (SPModalDialog) and refresh the parent page on close. </p>
<p><strong>So What</strong></p>
<p>End Users get griefed when they add an amazing new bit of content to SharePoint, but after submitting it&#8217;s not immediately visible on the page they just &#8220;came from&#8221; (even though geeks know the score). </p>
<p><strong>Now What</strong></p>
<p>Add the following code (assuming you are up to snuff on the basics of the SP Modal Dialog methods &#8211; <a target="_blank" href="http://www.sharepointwarriors.com/2011/08/sharepoint-2010-modal-dialog.html">here&#8217;s a good primer</a>): </p>
<pre class="brush: jscript; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot;&gt;
    function openMyDialog(itemid,title) {
        var options = SP.UI.$create_DialogOptions();
        var layoutsUrlView = SP.Utilities.Utility.getLayoutsPageUrl('WebParts/MyWebPart/ViewDialog.aspx')
        options.url = layoutsUrlView + &quot;?itemid=&quot; + itemid + &quot;&amp;title=&quot; + title;
        options.autosize = true;
        options.dialogReturnValueCallback = Function.createDelegate(null, CloseCallback);
        SP.UI.ModalDialog.showModalDialog(options);
    }
    function CloseCallback(result, target) {
        location.reload(true);
    }
&lt;/script&gt;
</pre>
<p>Now when you close the popup, the parent page is refreshed.</p>
<h4>Incoming search terms:</h4><ul><li>sharepoint page refresh</li><li>refresh parent page after closing modal dialog</li><li>window parent sp ui modaldialog</li><li>sharepoint how to close model popup of custom new form</li><li>sharepoint 2010 refresh page</li><li>sharepoint 2010 refresh page after close modal dialog</li><li>sharepoint 2010 refresh parent page modal popup</li><li>sharepoint 2010 webpart popup</li><li>sharepoint client object mode reload page</li><li>sharepoint custom modal dialog</li></ul><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=VGuMGJ3ycPQ:CIOTEfLwomA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=VGuMGJ3ycPQ:CIOTEfLwomA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=VGuMGJ3ycPQ:CIOTEfLwomA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?i=VGuMGJ3ycPQ:CIOTEfLwomA:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Sharepoint-2010-Blog/~4/VGuMGJ3ycPQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://yalla.itgroove.net/2012/04/open-modal-dialog-and-refresh-the-parent-page-from-custom-form-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://yalla.itgroove.net/2012/04/open-modal-dialog-and-refresh-the-parent-page-from-custom-form-sharepoint-2010/</feedburner:origLink></item>
		<item>
		<title>Nintex – Specified value is not supported for the urlOfFile parameter</title>
		<link>http://feedproxy.google.com/~r/Sharepoint-2010-Blog/~3/-hVh9Luqxso/</link>
		<comments>http://yalla.itgroove.net/2012/04/nintex-specified-value-is-not-supported-for-the-urloffile-parameter/#comments</comments>
		<pubDate>Tue, 10 Apr 2012 23:00:59 +0000</pubDate>
		<dc:creator>Keith Tuomi</dc:creator>
				<category><![CDATA[Lists]]></category>
		<category><![CDATA[Nintex]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[urloffile]]></category>

		<guid isPermaLink="false">http://yalla.itgroove.net/?p=475</guid>
		<description><![CDATA[Recently after a Ninxtex migration/version update we encountered the following error when trying to publish any workflow: Windows Event Log Error: System.ArgumentException: urlOfFile Parameter name: Specified value is not supported for the urlOfFile parameter. at Microsoft.SharePoint.SPFileCollection.get_Item(String urlOfFile) at Nintex.Workflow.WorkflowRepository.NameInUse(String workflowName, Guid listId, WorkflowType&#038; workflowType) at Nintex.Workflow.ApplicationPages.SetName.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object [...]]]></description>
			<content:encoded><![CDATA[<p>Recently after a Ninxtex migration/version update we encountered the following error when trying to publish any workflow:</p>
<p><a href="http://d3jh2ahcgl62yj.cloudfront.net/wp-content/sharepoint-2010-blog/2012/04/nintex-error.jpg?e04429"><img src="http://d3jh2ahcgl62yj.cloudfront.net/wp-content/sharepoint-2010-blog/2012/04/nintex-error.jpg?e04429" alt="nintex error Nintex   Specified value is not supported for the urlOfFile parameter SharePoint 2010 nintex lists  " title="nintex-error" width="462" height="186" class="alignleft size-full wp-image-480" /></a></p>
<p><strong>Windows Event Log Error</strong>:<br />
<strong>System.ArgumentException: urlOfFile  Parameter name: Specified value is not supported for the urlOfFile parameter.<br />
 at Microsoft.SharePoint.SPFileCollection.get_Item(String urlOfFile)<br />
 at Nintex.Workflow.WorkflowRepository.NameInUse(String workflowName, Guid listId, WorkflowType&#038; workflowType)<br />
 at Nintex.Workflow.ApplicationPages.SetName.Page_Load(Object sender, EventArgs e)<br />
 at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)<br />
 at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)<br />
 at System.Web.UI.Control.OnLoad(EventArgs e)<br />
 at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.OnLoad(EventArgs e)<br />
 at Microsoft.SharePoint.WebControls.LayoutsPageBase.OnLoad(EventArgs e)<br />
 at Nintex.Workflow.ServerControls.NintexLayoutsBase.OnLoad(EventArgs e)<br />
 at Nintex.Workflow.ApplicationPages.SetName.OnLoad(EventArgs e)<br />
 at System.Web.UI.Control.LoadRecursive()<br />
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)</strong></p>
<p>To resolve this, go to the hidden NintexWorkflows library and check the contents of each subfolder.  If your site is <strong>http://farm/sites/test</strong> the URL would be <strong>http://farm/sites/test/NintexWorkflows</strong>. If any subfolder is empty (contains no files), delete the subfolder &#8211; you should be able to publish after that. </p>
<h4>Incoming search terms:</h4><ul><li>urloffile parameter name: specified value is not supported for the urloffile parameter</li><li>specified value is not supported for the urloffile parameter</li><li>urloffile</li><li>Parameter name: Specified value is not supported for the urlOfFile parameter</li><li>System ArgumentException: urlOfFile Parameter name: Specified value is not supported for the urlOfFile parameter at Microsoft SharePoint SPFileCollection get_Item(String urlOfFile) at Nintex Workflow WorkflowRepository NameInUse(String workflowName Guid l</li><li>specified value is not supported for the urloffile parameter in sp2010</li><li>spfilecollection item specified calue isnot supported for urloffile parameter</li><li>spfilecollection unable to find the specified file</li><li>system argumentexception: user parameter name: specified value is not supported for the user parameter</li><li>urloffile parameter name specified value is not supported for the urloffile parameter</li></ul><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=-hVh9Luqxso:mu8bOmVCmSo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=-hVh9Luqxso:mu8bOmVCmSo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=-hVh9Luqxso:mu8bOmVCmSo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?i=-hVh9Luqxso:mu8bOmVCmSo:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Sharepoint-2010-Blog/~4/-hVh9Luqxso" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://yalla.itgroove.net/2012/04/nintex-specified-value-is-not-supported-for-the-urloffile-parameter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://yalla.itgroove.net/2012/04/nintex-specified-value-is-not-supported-for-the-urloffile-parameter/</feedburner:origLink></item>
		<item>
		<title>SharePoint 2010 101 Code Samples</title>
		<link>http://feedproxy.google.com/~r/Sharepoint-2010-Blog/~3/uaKRGVaCTtU/</link>
		<comments>http://yalla.itgroove.net/2012/04/sharepoint-2010-101-code-samples/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 20:36:44 +0000</pubDate>
		<dc:creator>Keith Tuomi</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Branding]]></category>
		<category><![CDATA[Client Object Model]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Master Page]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Solution Package]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Web parts]]></category>
		<category><![CDATA[enterprise content management (ECM)]]></category>
		<category><![CDATA[Sharepoint 2010 101 code samples]]></category>
		<category><![CDATA[Sharepoint Web Parts]]></category>
		<category><![CDATA[User Interface]]></category>

		<guid isPermaLink="false">http://yalla.itgroove.net/?p=466</guid>
		<description><![CDATA[The SharePoint 2010 101 Code Samples set of examples is an excellent starting point for Developing with SharePoint. Each code sample is part of the SharePoint 2010 101 code samples project. These samples are provided so that you can incorporate them directly in your code. Each code sample consists of a standalone project created in [...]]]></description>
			<content:encoded><![CDATA[<p>The <a target="_blank" href="http://code.msdn.microsoft.com/SharePoint-2010-101-Code-da251182">SharePoint 2010 101 Code Samples</a> set of examples is an excellent starting point for Developing with SharePoint.</p>
<p>Each code sample is part of the SharePoint 2010 101 code samples project. These samples are provided so that you can incorporate them directly in your code.</p>
<p>Each code sample consists of a standalone project created in Microsoft Visual Studio 2010 and demonstrates a distinct feature or feature set. Each sample includes comments describing the sample and the expected results. Each sample also contains comments that explain how to set up your environment so that the sample code runs, where necessary.</p>
<p>Microsoft SharePoint 2010 gives you the tools needed to create powerful applications. These managed code (C#, VB.NET, JavaScript, XML) samples can assist you in creating your own applications that perform specific functions or as a starting point to create more complex solutions.</p>
<p>To open a solution:<br />
1. Start Microsoft Visual Studio 2010.<br />
2. On the File menu, click Open, and then click Project/Solution.<br />
3. Navigate to the folder containing the .sln file, select it, and then click Open.</p>
<p>To run a solution:<br />
1. In the solution files, read and follow the comments that describe how to set up your environment if necessary.<br />
2. On the Build menu, click Build Solution.<br />
3. When you have a successful build, right-click the project in the Solution Explorer window, and then click Deploy.</p>
<p>List of all Examples in the pack:<br />
<br /><strong>SharePoint 2010 Developing Styled Master Pages</strong><br />
This sample creates and deploys branded master pages to customize SharePoint sites, including custom stylesheets and images.<br />
<br /><strong>SharePoint 2010 Developing JQuery-Enabled Web Parts</strong><br />
This sample develops a Web Part that uses the JQuery library to display items from a SharePoint list.<br />
<br /><strong>SharePoint 2010 Hosting Silverlight Applications that Call Azure Services</strong><br />
This sample calls WCF web services that are hosted in Windows Azure from Silverlight applications that are stored in SharePoint.<br />
<br /><strong>SharePoint 2010 Developing AJAX-Enabled Web Parts</strong><br />
This sample creates a SharePoint Web Part that uses Ajax UpdatePanel and UpdateProgress controls to call server-side methods.<br />
<br /><strong>SharePoint 2010 Leveraging HTML5 Objects in SharePoint</strong><br />
This sample uses custom SharePoint master pages to enable IE9 and other compliant browsers to render HTML5 tags such as &lt;audio&gt;.<br />
<br /><strong>SharePoint 2010 Creating List Items from Silverlight</strong><br />
This sample creates SharePoint list items by calling the SharePoint Client Object Model from Silverlight applications.<br />
<br /><strong>SharePoint 2010 Developing Web Templates</strong><br />
This sample creates web templates, which are similar to SharePoint site definitions, but can be used in sandboxed solutions.<br />
<br /><strong>SharePoint 2010 Creating Document Sets Programmatically</strong><br />
This sample creates new SharePoint document sets and configures their properties.<br />
<br /><strong>SharePoint 2010 Developing List Definitions</strong><br />
This sample uses declarative programming to create a SharePoint list definition and an instance of that list.<br />
<br /><strong>SharePoint 2010 Developing Custom Navigation Providers</strong><br />
This sample creates and deploys two links to the top link bar on a SharePoint site.<br />
<br /><strong>SharePoint Online Accessing Web Services</strong><br />
This sample connects to SharePoint Online, authenticates by using claims authentication, and then displays the contents of a SharePoint Online list.<br />
<br /><strong>SharePoint 2010 Querying SQL Azure Data from Web Parts</strong><br />
This sample queries a SQL Azure database from code in a SharePoint Web Part.<br />
<br /><strong>SharePoint 2010 Developing Sequential Workflows</strong><br />
This sample develops SharePoint sequential workflows based on items in task lists.<br />
<br /><strong>SharePoint 2010 Creating Custom Field Types</strong><br />
This sample creates a new field type that adds options for users who create new columns in SharePoint lists, libraries, or content types.<br />
<br /><strong>SharePoint 2010 Creating Items in Lists from External WCF Services</strong><br />
This sample creates SharePoint list items by calling a method in a WCF service that uses the SharePoint List Data Retrieval Web Service.<br />
<br /><strong>SharePoint 2010 Developing Workflow Activities</strong><br />
This sample creates and deploys custom workflow activities that can be used in SharePoint Designer to extend workflows.<br />
<br /><strong>SharePoint 2010 Performing Cross-List Queries</strong><br />
This sample uses the SPSiteDataQuery class to find items from all the lists in a SharePoint site.<br />
<br /><strong>SharePoint 2010 Creating Custom Timer Jobs</strong><br />
This sample creates and schedules a SharePoint timer job that runs code at regular intervals.<br />
<br /><strong>SharePoint 2010 Developing Starter Master Pages</strong><br />
This sample sets master pages for SharePoint sites by using feature receivers, and deploys master pages without styles or images as starters for branded master pages.<br />
<br /><strong>SharePoint 2010 Updating SQL Azure Records from Web Parts</strong><br />
This sample saves changes to a SQL Azure record by using code in a SharePoint Web Part.<br />
<br /><strong>SharePoint 2010 Uploading SharePoint Library Content to Azure Storage</strong><br />
This sample uploads files from a SharePoint document library to Windows Azure storage.<br />
<br /><strong>SharePoint 2010 Displaying Video Files Stored in Azure</strong><br />
This sample displays videos stored in Windows Azure in Silverlight applications.<br />
<br /><strong>SharePoint 2010 Creating SQL Azure Records from Web Parts</strong><br />
This sample inserts records into SQL Azure tables by using code in SharePoint Web Parts.<br />
<br /><strong>SharePoint 2010 Developing Feature Receivers</strong><br />
This sample develops a Feature receiver that performs an action when Features activate and cleans up when Features deactivate.<br />
<br /><strong>SharePoint 2010 Calling Azure Services from Event Receivers</strong><br />
This sample calls WCF web services hosted in Windows Azure from SharePoint event receivers.<br />
<br /><strong>SharePoint 2010 Using JavaScript and CAML to Query Lists</strong><br />
This sample uses the SharePoint Client Object Model to display the details of all the items in a SharePoint list.<br />
<br /><strong>SharePoint 2010 Creating Custom SharePoint Service Applications</strong><br />
This sample returns the current weekday by using a custom service application for SharePoint.<br />
<br /><strong>SharePoint 2010 Creating Content Types Programmatically</strong><br />
This sample creates SharePoint content types nondeclaratively in code.<br />
<br /><strong>SharePoint 2010 Developing Connected Web Parts</strong><br />
This sample creates two SharePoint Web Parts that you can connect to exchange information.<br />
<br /><strong>SharePoint Online Authenticating Using the Client-Side Object Model</strong><br />
This sample connects to, and authenticates in, SharePoint Online.<br />
<br /><strong>SharePoint 2010 Using REST to Discover the Contents of Excel Worksheets</strong><br />
This sample displays the names of tables that are in a spreadsheet by calling RESTful Excel Web Services.<br />
<br /><strong>SharePoint 2010 Displaying User Profile Pictures Programmatically</strong><br />
This sample evaluates and displays the pictures of all users who have set profile pictures in a Web Part.<br />
<br /><strong>SharePoint 2010 Using LINQ in REST Requests</strong><br />
This sample uses LINQ queries to return filtered lists of items from SharePoint lists.<br />
<br /><strong>SharePoint 2010 Accessing SharePoint Lists from External WCF Services</strong><br />
This sample writes a WCF service that returns all the items in SharePoint lists, and includes a sample client console application to test the service.<br />
<br /><strong>SharePoint 2010 Calling Azure Services from Web Parts</strong><br />
This sample calls WCF web services hosted in Windows Azure from SharePoint Web Parts.<br />
<br /><strong>SharePoint 2010 Performing Searches from Silverlight</strong><br />
This sample calls the SharePoint Search web service from a Silverlight application.<br />
<br /><strong>SharePoint 2010 Performing Searches from Web Parts</strong><br />
This sample calls a SharePoint Search or FAST Search service application from a Web Part.<br />
<br /><strong>SharePoint 2010 Creating Content Organizer Rules Programmatically</strong><br />
This sample creates and configures content organizer rules for content types in SharePoint document libraries.<br />
<br /><strong>SharePoint 2010 Creating Taxonomies Programmatically</strong><br />
This sample adds SharePoint groups, term sets, and terms to a term store programmatically.<br />
<br /><strong>SharePoint 2010 Developing Custom Field Controls</strong><br />
This sample creates custom field controls that display and edit fields on SharePoint publishing sites.<br />
<br /><strong>SharePoint 2010 Developing Application Pages</strong><br />
This sample creates and deploys a simple application page that displays information about the current SharePoint site, and modifies its description.<br />
<br /><strong>SharePoint 2010 Programmatically Reading User Profile Properties</strong><br />
This sample obtains properties from all SharePoint user profiles in your organization.<br />
<br /><strong>SharePoint 2010 Developing Event Receivers</strong><br />
This sample develops and registers an event receiver that intercepts SharePoint list item events such as ItemAdded and ItemUpdating.<br />
<br /><strong>SharePoint 2010 Managing Document Sets Programmatically</strong><br />
This sample reads properties from all the document sets in a given SharePoint document library.<br />
<br /><strong>SharePoint 2010 Deleting SQL Azure Records from Web Parts</strong><br />
This sample deletes records in SQL Azure by using code in SharePoint Web Parts.<br />
<br /><strong>SharePoint 2010 Calling Azure Services from Custom Workflow Activities</strong><br />
This sample calls WCF web services hosted in Windows Azure from code in SharePoint workflows.<br />
<br /><strong>SharePoint 2010 Accessing List Items from Silverlight</strong><br />
This sample returns items in SharePoint lists (in Silverlight applications) by using the SharePoint Client Object Model.<br />
<br /><strong>SharePoint Online Creating Documents Using Word, PowerPoint, or OneNote Web App</strong><br />
This sample creates custom ribbon actions that use JavaScript and Office Web Apps to create new Word, PowerPoint, and OneNote documents.<br />
<br /><strong>SharePoint Online Creating and Deploying Sandboxed Workflow Activities</strong><br />
This sample creates a workflow activity that functions in a sandboxed solution on SharePoint Online.<br />
<br /><strong>SharePoint 2010 Importing Content by Using the Content Deployment API</strong><br />
This sample imports content from CMP files into SharePoint lists by calling the Content Migration API.<br />
<br /><strong>SharePoint 2010 Developing Connected Silverlight Web Parts</strong><br />
This sample creates interconnected custom SharePoint Web Parts that can host Silverlight applications that exchange information.<br />
<br /><strong>SharePoint 2010 Programmatically Finding Tagged Items</strong><br />
This sample locates terms that match input strings and then locates all items tagged with those terms in SharePoint lists.<br />
<br /><strong>SharePoint 2010 Logging Site Events Programmatically</strong><br />
This sample develops and registers event receivers to intercept web events such as SiteDeleted and WebMoved, and logs those events to a list for auditors.<br />
<br /><strong>SharePoint 2010 Using REST to Obtain Excel Charts</strong><br />
This sample obtains image files of charts from Excel spreadsheets via REST.<br />
<br /><strong>SharePoint 2010 Calling WCF Services from Web Parts</strong><br />
This sample calls a WCF service that retrieves data after users click a button in a SharePoint Web Part.<br />
<br /><strong>SharePoint 2010 Deleting Items in Lists from External WCF Services</strong><br />
This sample creates a WCF service that finds a SharePoint item and deletes it.<br />
<br /><strong>SharePoint 2010 Using JavaScript to Edit and Save Values in Items</strong><br />
This sample uses the SharePoint Client Object Model to change items in SharePoint lists.<br />
<br /><strong>SharePoint 2010 Developing Page Layouts</strong><br />
This sample creates and deploys custom page layouts for content types in SharePoint publishing sites.<br />
<br /><strong>SharePoint 2010 Declaring Records Programmatically</strong><br />
This sample can determine whether a document is a record and declare it as a record.<br />
<br /><strong>SharePoint 2010 Calling Azure Services from Timer Jobs</strong><br />
This sample calls WCF web services hosted in Windows Azure from SharePoint timer jobs.<br />
<br /><strong>SharePoint 2010 Developing Solution Validators</strong><br />
This sample develops SharePoint solution validators that check activating user solutions and help verify sandboxed solutions.<br />
<br /><strong>SharePoint 2010 Developing Custom Expiration Actions</strong><br />
This sample specifies custom actions to take and code to run after a document expires against a SharePoint information management policy.<br />
<br /><strong>SharePoint 2010 Retrieving List Contents and Parsing Atom Responses</strong><br />
This sample gets all the items in a SharePoint list by using the RESTful List Data web service.<br />
<br /><strong>SharePoint Online Creating and Deploying Sandboxed Event Receivers</strong><br />
This sample responds to item events (such as ItemAdded) in sandboxed event receivers.<br />
<br /><strong>SharePoint 2010 Using REST to Query Data Ranges in Excel Worksheets</strong><br />
This sample gets and displays data from a date range in an Excel spreadsheet by querying RESTful Excel Web Services.<br />
<br /><strong>SharePoint 2010 Developing Ribbon Actions</strong><br />
This sample adds a button control (to the SharePoint ribbon) that runs JavaScript when clicked.<br />
<br /><strong>SharePoint 2010 Developing Delegate Controls</strong><br />
This sample creates an ASP.NET user control to replace the standard SharePoint Global Navigation.<br />
<br /><strong>SharePoint 2010 Working with Disposable Objects</strong><br />
This sample disposes SPWeb and SPSite objects properly so that they do not unnecessarily consume memory.<br />
<br /><strong>SharePoint 2010 Logging Data to the Developer Dashboard</strong><br />
This sample uses monitored scopes to log information to developer dashboards, and includes scripts to enable and disable those dashboards.<br />
<br /><strong>SharePoint Online Creating Excel Worksheets by Using Excel Web App</strong><br />
This sample creates custom ribbon actions that use JavaScript and Excel Web Apps to create new spreadsheets.<br />
<br /><strong>SharePoint 2010 Using JQuery to Retrieve List Contents in JSON</strong><br />
This sample uses the JQuery library to obtain and display items in SharePoint lists.<br />
<br /><strong>SharePoint 2010 Retrieving Single List Items in REST Requests</strong><br />
This sample gets a single item from a SharePoint list by using the RESTful List Data web service.<br />
<br /><strong>SharePoint 2010 Calling WCF Services from Custom Workflow Activities</strong><br />
This sample calls a WCF service from a SharePoint workflow that starts after a new item is created, and then modifies the item body field of that workflow.<br />
<br /><strong>SharePoint 2010 Retrieving List Contents in JSON Format and Parsing Responses</strong><br />
This sample gets items from SharePoint lists in JSON format, parses the responses, and then displays the item properties.<br />
<br /><strong>SharePoint 2010 Using JavaScript to Show Dialog Boxes</strong><br />
This sample uses the SharePoint Client Object Model to display an application page as a dialog box.<br />
<br /><strong>SharePoint 2010 Calling WCF Services from Event Receivers</strong><br />
This sample calls a WCF service from an event receiver; after a new item is added to a SharePoint list, the service returns data that is appended to the body of that new item.<br />
<br /><strong>SharePoint 2010 Performing Cached Cross-Site Queries</strong><br />
This sample uses the SharePoint PortalSiteMapProvider class to perform high-performance cross-site queries.<br />
<br /><strong>SharePoint 2010 Using REST to Create a SharePoint and Bing Maps Mashup</strong><br />
This sample uses JavaScript to integrate data from Excel spreadsheets in SharePoint with Bing Maps.<br />
<br /><strong>SharePoint 2010 Using JavaScript to Enable Notifications</strong><br />
This sample uses SharePoint status and notifications to feed back information to users.<br />
<br /><strong>SharePoint 2010 Using JavaScript to Create Lists</strong><br />
This sample uses the SharePoint Client Object Model to create SharePoint lists with JavaScript.<br />
<br /><strong>SharePoint 2010 Using JavaScript to Retrieve and Interrogate Items in Lists</strong><br />
This sample uses the SharePoint Client Object Model with a CAML query to return matching items from lists.<br />
<br /><strong>SharePoint 2010 Developing Branded Media Controls</strong><br />
This sample brands a Media Field Control on a SharePoint site.<br />
<br /><strong>SharePoint 2010 Using JavaScript to Delete Items from Lists</strong><br />
This sample uses the SharePoint Client Object Model to delete items from a SharePoint list with JavaScript.<br />
<br /><strong>SharePoint 2010 Using JavaScript to Update Site Properties</strong><br />
This sample uses the SharePoint Client Object Model to set titles and descriptions for SharePoint sites.<br />
<br /><strong>SharePoint 2010 Using JavaScript to Get Details About Sites</strong><br />
This sample uses the SharePoint Client Object Model to display information about the current SharePoint site.<br />
<br /><strong>SharePoint 2010 Developing Editor Web Parts</strong><br />
This sample modifies a Web Part properties sheet to include an Editor Web Part that enables users to choose from all the lists in the SharePoint site.<br />
<br /><strong>SharePoint 2010 Calling RESTful SharePoint Services From Desktop Applications</strong><br />
This sample uses a service reference to connect to the List Data Retrieval Web Service and display lists of SharePoint items in a Data Grid.<br />
<br /><strong>SharePoint Online Accessing Current User Information in Sandboxed Solutions</strong><br />
This sample creates a Web Part that functions in a sandboxed solution on SharePoint Online and gets information about the current user.<br />
<br /><strong>SharePoint 2010 Canceling Synchronous Events</strong><br />
This sample checks the properties of synchronous events and cancels them to prevent users from deleting SharePoint items.<br />
<br /><strong>SharePoint 2010 Calling WCF Services Hosted in SharePoint</strong><br />
This sample calls a WCF service that is hosted by Sharepoint, and whose code uses the SharePoint Foundation Server-Side Object Model.<br />
<br /><strong>SharePoint 2010 Developing Ribbon Drop Down Controls</strong><br />
This sample uses a drop-down control on the SharePoint ribbon to forward users to the selected list.<br />
<br /><strong>SharePoint 2010 Developing State Machine Workflows</strong><br />
This sample develops state machine workflows based on documents in SharePoint document libraries and items in tasks lists.<br />
<br /><strong>SharePoint Online Deploying Sandboxed Content Types and List Definitions</strong><br />
This sample creates a Web Part that functions in a sandboxed solution on SharePoint Online and uses code to create content types and list definitions.<br />
<br /><strong>SharePoint 2010 Developing Sandboxed Web Parts</strong><br />
This sample creates a Web Part in a sandboxed solution, and includes Panels to hide controls, radio buttons, and the Render method.<br />
<br /><strong>SharePoint 2010 Using JavaScript to Get Details About Site Collections</strong><br />
This sample uses the SharePoint Client Object Model to display information about the current site collection.<br />
<br /><strong>SharePoint 2010 Calling WCF Services from Timer Jobs</strong><br />
This sample calls a WCF service from a custom timer job that creates a new announcement when it runs.<br />
<br /><strong>SharePoint 2010 Developing Site Definitions</strong><br />
This sample creates a custom SharePoint site definition that specifies Content Editor and Image Viewer Web Parts on a Web Part page.<br />
<br /><strong>SharePoint 2010 Developing Custom Expiration Formulae</strong><br />
This sample calculates an expiration date for a SharePoint information management policy by using a custom expiration formula.<br />
<br /><strong>SharePoint Online Creating and Deploying Sandboxed Web Parts</strong><br />
This sample creates a Web Part that checks whether it is in a sandboxed solution and displays the title of the SharePoint site.<br />
<br /><strong>SharePoint 2010 Exporting Content by Using the Content Deployment API</strong><br />
This sample exports content from SharePoint lists by calling the Content Migration API.<br />
<br /><strong>SharePoint Online Creating and Deploying Sandboxed Feature Receivers</strong><br />
This sample creates a feature receiver that works in a SharePoint Online sandboxed solution.</p>
<h4>Incoming search terms:</h4><ul><li>sharepoint site examples</li><li>sharepoint site examples 2010</li><li>programmatically how to create folders in record library content organizer rules sharepoint 2010</li><li>read items from sharepoint list using rest</li><li>performing search queries programmatically sharepoint 2010</li><li>sharepoint 2010 get comments using javascript</li><li>sharepoint 2010 custom expiration action example c#</li><li>sharepoint 2010 how to access a custom web template programmatically</li><li>caml client-om display results javascript</li><li>excel web app custom ribbon</li></ul><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=uaKRGVaCTtU:1QJOyxzFekI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=uaKRGVaCTtU:1QJOyxzFekI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=uaKRGVaCTtU:1QJOyxzFekI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?i=uaKRGVaCTtU:1QJOyxzFekI:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Sharepoint-2010-Blog/~4/uaKRGVaCTtU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://yalla.itgroove.net/2012/04/sharepoint-2010-101-code-samples/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://yalla.itgroove.net/2012/04/sharepoint-2010-101-code-samples/</feedburner:origLink></item>
		<item>
		<title>Shrink wrap your DLLs with Retail Mode</title>
		<link>http://feedproxy.google.com/~r/Sharepoint-2010-Blog/~3/_dmnLkvkuqI/</link>
		<comments>http://yalla.itgroove.net/2012/03/shrink-wrap-your-dlls-with-retail-mode/#comments</comments>
		<pubDate>Sat, 24 Mar 2012 16:40:07 +0000</pubDate>
		<dc:creator>Keith Tuomi</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[compilation]]></category>
		<category><![CDATA[debug mode]]></category>
		<category><![CDATA[dll]]></category>
		<category><![CDATA[machine.config]]></category>
		<category><![CDATA[retail mode]]></category>
		<category><![CDATA[web.config]]></category>

		<guid isPermaLink="false">http://yalla.itgroove.net/?p=461</guid>
		<description><![CDATA[It happens: someone&#8217;s trying to debug a problem in a rush, a dev environment gets migrated &#8211; sometime&#8217;s it happens that your web.config Debug Mode switch gets inadvertently left in &#8220;true&#8221; mode. This is all kinds of bad- ScottGu highlights: 1) The compilation of ASP.NET pages takes longer (since some batch optimizations are disabled) 2) [...]]]></description>
			<content:encoded><![CDATA[<p>It happens: someone&#8217;s trying to debug a problem in a rush, a dev environment gets migrated &#8211; sometime&#8217;s it happens that your web.config Debug Mode switch gets inadvertently left in &#8220;true&#8221; mode. This is all kinds of bad- ScottGu highlights:</p>
<p>1) The compilation of ASP.NET pages takes longer (since some batch optimizations are disabled)<br />
2) Code can execute slower (since some additional debug paths are enabled)<br />
3) Much more memory is used within the application at runtime<br />
4) Scripts and images downloaded from the WebResources.axd handler are not cached</p>
<p><a target="_blank" href="http://weblogs.asp.net/scottgu/archive/2006/04/11/442448.aspx">http://weblogs.asp.net/scottgu/archive/2006/04/11/442448.aspx</a></p>
<p>On production, unless you have a multi-tenant server where some users may expect to be able to flip debug mode on (not a likely scenario in the SharePoint world!), it&#8217;s a wise best practice to alter the Machine.config to use <strong>Retail Mode.  </strong><a target="_blank" href="http://novatecno.blogspot.ca/2010/04/increase-sharepoint-performance-retail.html">Full reference<strong> </strong>here</a> – link is SP 2007 but same principles apply.</p>
<p>&lt;system.web&gt;<br />
&lt;deployment retail=&#8221;true&#8221; /&gt;<br />
&lt;/system.web</p>
<p>Just remember that editing the Machine.config is no trivial task- root instructions are here: <a target="_blank" href="http://support.microsoft.com/kb/815178">http://support.microsoft.com/kb/815178</a>, but it doesn’t explain that you must ensure nothing else on the machine is trying to update that machine.config while you have it open in Notepad. If this machine.config get&#8217;s out of synch with other settings, you will hose your server. You can ensure this doesn&#8217;t happen by:</p>
<ol>
<li>Turning of all IIS Sites and App pools</li>
<li>Backing up the machine.config</li>
<li>Open the machine.config in Notepad</li>
<li>Change the Deployment to retail=true</li>
<li>Save and close machine.config</li>
<li>Start IIS Sites and App Pools</li>
</ol>
<h4>Incoming search terms:</h4><ul><li>Best Practices blog sharepoint retail</li><li>editing machine config file in &lt;deployment retail=”true”/&gt;</li><li>vs 2010 wrap dlls</li><li>where is sharepoint 2010 machine config</li></ul><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=_dmnLkvkuqI:f646sIeQ4vU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=_dmnLkvkuqI:f646sIeQ4vU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?a=_dmnLkvkuqI:f646sIeQ4vU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Sharepoint-2010-Blog?i=_dmnLkvkuqI:f646sIeQ4vU:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Sharepoint-2010-Blog/~4/_dmnLkvkuqI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://yalla.itgroove.net/2012/03/shrink-wrap-your-dlls-with-retail-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://yalla.itgroove.net/2012/03/shrink-wrap-your-dlls-with-retail-mode/</feedburner:origLink></item>
	</channel>
</rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced
Database Caching 29/55 queries in 0.712 seconds using disk: basic
Content Delivery Network via Amazon Web Services: CloudFront: d3jh2ahcgl62yj.cloudfront.net

Served from: yalla.itgroove.net @ 2012-05-26 22:04:30 -->

