<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sharepoint 2010 Hosting News (SuperBlogAds Network)</title>
	<atom:link href="http://www.sharepointhostingnews.com/index.php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sharepointhostingnews.com</link>
	<description>All about Sharepoint and Sharepoint 2010 Hosting Technology</description>
	<lastBuildDate>Thu, 23 Feb 2012 04:35:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>SharePoint 2010 Hosting :: How to Enable Developer Dashboard in SharePoint 2010</title>
		<link>http://www.sharepointhostingnews.com/index.php/archives/971</link>
		<comments>http://www.sharepointhostingnews.com/index.php/archives/971#comments</comments>
		<pubDate>Thu, 23 Feb 2012 04:24:48 +0000</pubDate>
		<dc:creator>Manuel Costa</dc:creator>
				<category><![CDATA[Sharepoint 2010 Hosting]]></category>
		<category><![CDATA[asphostportal]]></category>
		<category><![CDATA[asphostportal.com]]></category>
		<category><![CDATA[cheap hosted sharepoint 2010]]></category>
		<category><![CDATA[cheap hosting sharepoint 2010]]></category>
		<category><![CDATA[cheap sharepoint 2010]]></category>
		<category><![CDATA[cheap sharepoint 2010 foundation hosting]]></category>
		<category><![CDATA[cheap sharepoint 2010 hosting]]></category>
		<category><![CDATA[sharepoint 2010 foundation hosting]]></category>
		<category><![CDATA[sharepoint 2010 hosting]]></category>

		<guid isPermaLink="false">http://www.sharepointhostingnews.com/?p=971</guid>
		<description><![CDATA[<p>ASP.NET provides Call Stack and Tracing as wonderful features which helps developers on investigating what is going on page rendering behind the scene. SharePoint being a product which provides bunch of features OOTB which we can use to setup a portal very easily, it hides most of these information.</p>
<p>Back in MOSS 2007, we had to scratch <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.sharepointhostingnews.com/index.php/archives/971">SharePoint 2010 Hosting :: How to Enable Developer Dashboard in SharePoint 2010</a></span>]]></description>
			<content:encoded><![CDATA[<p>ASP.NET provides <strong>Call Stack</strong> and <strong>Tracing</strong> as wonderful features which helps developers on investigating what is going on page rendering behind the scene. SharePoint being a product which provides bunch of features OOTB which we can use to setup a portal very easily, it hides most of these information.</p>
<p>Back in MOSS 2007, we had to scratch our head thinking where to start our investigation when we get an error in the browser, because that error was not descriptive enough for us to start the investigation.</p>
<p>In SharePoint 2010, we have a nice feature – <strong>Developer Dashboard</strong> which helps developers to be comfortable when they see an error in the browser.</p>
<div><a href="http://asphostportal.com/Windows-Sharepoint-2010-Hosting.aspx"><img class="aligncenter size-full wp-image-898" title="SharePoint 2010 Hosting" src="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/ads_300x180.jpg" alt="" width="350" height="230" /></a></div>
<p><strong>Enabling Developer Dashboard</strong></p>
<p>Developer Dashboard is a feature targeted for developers (administrators as well) and hence it is disabled by default. We need to enable it using one of the method mentioned below:</p>
<ul>
<li><strong>STSADM</strong></li>
<li><strong>PowerShell</strong></li>
<li><strong>SharePoint Object Model</strong></li>
</ul>
<p><strong>STSADM</strong></p>
<p>We still can use STSADM with SharePoint 2010 for administering SharePoint. However, STSADM is more likely to disappear in the next release. Though we can use following STSADM command to enable Developer Dashboard, I strongly recommend to get familiar with PowerShell, if you are not already.</p>
<ol>
<li>Go to the command prompt and make sure to either set the path to the location of STSADM.EXE or navigate to the bin directory in SharePoint root in your command prompt.</li>
<li>Issue the following command in the command prompt:<strong>STSADM -o setproperty -pn developer-dashboard -pv ondemand</strong></li>
</ol>
<p>The above command will enable the Developer Dashboard in On Demand mode.</p>
<p><strong>PowerShell</strong></p>
<ol>
<li>Go to Start –&gt; All Programs –&gt; Microsoft SharePoint 2010 Products –&gt; SharePoint 2010 Management Shell</li>
<li>Issue the following command in the management shell:<strong>$devdash = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;</strong><strong><br />
</strong><strong>$devdash.DisplayLevel = ‘OnDemand’;</strong><strong><br />
</strong><strong>$devdash.TraceEnabled = $true;</strong><strong><br />
</strong><strong>$devdash.Update()</strong></li>
</ol>
<p>The above command will enable the Developer Dashboard in On Demand mode.</p>
<p><strong>SharePoint Object Model</strong></p>
<ol>
<li>Create a Console Application, Windows Application or Web Site and add a reference to the <strong>Microsoft.SharePoint.dll</strong> assembly.</li>
<li>Add <strong>using Microsoft.SharePoint.Administration</strong> namespace reference at the top of the code (C#) file.</li>
<li>Add the following code into your code (C#) file to enable Developer Dashboard:<strong>SPWebService svc = SPContext.Current.Site.WebApplication.WebService;</strong><strong><br />
</strong><strong>svc.DeveloperDashboardSettings.DisplayLevel = SPDeveloperDashboardLevel.OnDemand;</strong><strong><br />
</strong><strong>svc.DeveloperDashboardSettings.Update();</strong></li>
</ol>
<p>The above command will enable the Developer Dashboard in On Demand mode.</p>
<p>I have used On Demand as the setting for Display Level of the Developer Dashboard and following are the other options we can specify:</p>
<ol>
<li><strong>On</strong> – Enable the Developer Dashboard all the times</li>
<li><strong>Off</strong> – Disable the Developer Dashboard</li>
<li><strong>OnDemand</strong> – Enable the Developer Dashboard but will be displayed on demand.</li>
</ol>
<p>When you enable Developer Dashboard in On Demand mode, following icon will be displayed next to your login name.</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_11.png"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_11.png" alt="" title="image_1" width="331" height="84" class="aligncenter size-full wp-image-972" /></a></p>
<p>On click of the Developer Dashboard icon, page will be reloaded and Developer Dashboard will be displayed at the bottom of the page as shown below:</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_21.png"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_21.png" alt="" title="image_2" width="1024" height="373" class="aligncenter size-full wp-image-973" /></a><br />
If you have also used <strong>TraceEnabled = $true</strong> switch with PowerShell, then you will see a link says “<strong>Show or hide additional tracing information …</strong>” at the end of the Developer Dashboard which allows you to show/ hide ASP.NET Tracing information as shown below:</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_31.png"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_31.png" alt="" title="image_3" width="1024" height="271" class="aligncenter size-full wp-image-974" /></a>Isn’t this a awesome feature for you to get started your investigation exercise? Have a closer look at what Developer Dashboard offers you and it will help you in numbers of ways.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointhostingnews.com/index.php/archives/971/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Hosting :: How to Unlock Social Networking in SharePoint 2010</title>
		<link>http://www.sharepointhostingnews.com/index.php/archives/964</link>
		<comments>http://www.sharepointhostingnews.com/index.php/archives/964#comments</comments>
		<pubDate>Fri, 17 Feb 2012 03:10:53 +0000</pubDate>
		<dc:creator>Manuel Costa</dc:creator>
				<category><![CDATA[Sharepoint 2010 Hosting]]></category>
		<category><![CDATA[asphostportal.com]]></category>
		<category><![CDATA[cheap hosted sharepoint 2010]]></category>
		<category><![CDATA[cheap hosting sharepoint 2010]]></category>
		<category><![CDATA[cheap sharepoint 2010]]></category>
		<category><![CDATA[cheap sharepoint 2010 foundation hosting]]></category>
		<category><![CDATA[cheap sharepoint 2010 hosting]]></category>
		<category><![CDATA[sharepoint 2010 foundation hosting]]></category>
		<category><![CDATA[sharepoint 2010 hosting]]></category>

		<guid isPermaLink="false">http://www.sharepointhostingnews.com/?p=964</guid>
		<description><![CDATA[
<p>Activity Feed Timer Job is the timer job responsible for providing the missing social networking features and we need to enable the same right after installing SharePoint 2010. Perform following in order to enable the same:</p>

Click Start -&#62; All Programs -&#62; Microsoft SharePoint 2010 Products and select SharePoint 2010 Central Administration.
Click Monitoring from the left-hand side <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.sharepointhostingnews.com/index.php/archives/964">SharePoint 2010 Hosting :: How to Unlock Social Networking in SharePoint 2010</a></span>]]></description>
			<content:encoded><![CDATA[<div><a href="http://asphostportal.com/Windows-Sharepoint-2010-Hosting.aspx"><img class="aligncenter size-full wp-image-898" title="SharePoint 2010 Hosting" src="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/ads_300x180.jpg" alt="" width="350" height="230" /></a></div>
<p>Activity Feed Timer Job is the timer job responsible for providing the missing social networking features and we need to enable the same right after installing SharePoint 2010. Perform following in order to enable the same:</p>
<ul>
<li>Click <strong>Start</strong> -&gt; <strong>All Programs</strong> -&gt; <strong>Microsoft SharePoint 2010 Products</strong> and select <strong>SharePoint 2010 Central Administration</strong>.</li>
<li>Click <strong>Monitoring</strong> from the left-hand side of the page.</li>
<li>From the <strong>Timer Jobs</strong> group, select <strong>Review job definitions</strong>.
<li>Scroll down until you get <strong>User Profile Service Application – Activity Feed Job</strong>. You may need to go to 2<sup>nd</sup> page if you don’t see it in the 1<sup>st</sup> page.</li>
<li>Click <strong>User Profile Service Application – Activity Feed Job.</strong><strong></strong></li>
<p><strong><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_2.jpg"><img class="aligncenter size-full wp-image-966" title="image_2" src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_2.jpg" alt="" width="410" height="186" /></a></strong><strong></strong></p>
<li>Select the schedule you wish this timer job to run.</li>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_3.jpg"><img class="aligncenter size-full wp-image-967" title="image_3" src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_3.jpg" alt="" width="783" height="351" /></a></p>
<li>Click <strong>Enable</strong> to enable the timer job.</li>
<li>Done</li>
</ul>
</li>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_1.jpg"><img class="aligncenter size-full wp-image-965" title="image_1" src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_1.jpg" alt="" width="549" height="177" /></a></ul>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointhostingnews.com/index.php/archives/964/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Hosting :: How to upload a document in SharePoint 2010 using Client Context Object Model ?</title>
		<link>http://www.sharepointhostingnews.com/index.php/archives/961</link>
		<comments>http://www.sharepointhostingnews.com/index.php/archives/961#comments</comments>
		<pubDate>Mon, 13 Feb 2012 03:19:11 +0000</pubDate>
		<dc:creator>Tommy Boswell</dc:creator>
				<category><![CDATA[Sharepoint 2010 Hosting]]></category>
		<category><![CDATA[asphostportal]]></category>
		<category><![CDATA[asphostportal.com]]></category>
		<category><![CDATA[cheap hosted sharepoint 2010]]></category>
		<category><![CDATA[cheap hosting sharepoint 2010]]></category>
		<category><![CDATA[cheap sharepoint 2010]]></category>
		<category><![CDATA[cheap sharepoint 2010 foundation hosting]]></category>
		<category><![CDATA[cheap sharepoint 2010 hosting]]></category>
		<category><![CDATA[sharepoint 2010 foundation hosting]]></category>
		<category><![CDATA[sharepoint 2010 hosting]]></category>

		<guid isPermaLink="false">http://www.sharepointhostingnews.com/?p=961</guid>
		<description><![CDATA[<p>In order to use ClientContext I need to add reference to two dll’s to my project i.e. Microsoft.SharePoint.Client.dll and Microsoft.SharePoint.Client .Runtime.dll. In this Post we will talk about</p>

<p>1) how to Get ListItemCollection from SharePoint document list using CAML
2) Upload a document to SharePoint Document list . Get ListItemCollection from SharePoint Document list using CAML: CodeProject. I <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.sharepointhostingnews.com/index.php/archives/961">SharePoint 2010 Hosting :: How to upload a document in SharePoint 2010 using Client Context Object Model ?</a></span>]]></description>
			<content:encoded><![CDATA[<p>In order to use ClientContext I need to add reference to two dll’s to my project i.e. <code>Microsoft.SharePoint.Client.dll and Microsoft.SharePoint.Client .Runtime.dll</code>. In this Post we will talk about</p>
<div><a href="http://asphostportal.com/Windows-Sharepoint-2010-Hosting.aspx"><img class="aligncenter size-full wp-image-898" title="SharePoint 2010 Hosting" src="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/ads_300x180.jpg" alt="" width="350" height="230" /></a></div>
<p>1) how to Get ListItemCollection from SharePoint document list using CAML<br />
2) Upload a document to SharePoint Document list . Get ListItemCollection from SharePoint Document list using CAML: <a href="http://www.codeproject.com/script/Articles/BlogFeedList.aspx?amid=3756850">CodeProject</a>. I can get the ListItemCollection as displayed in code snippets below</p>
<p><code>ListItemCollection listItems = GetListItemCollectionFromSP("FileLeafRef", documentName, "Text", 1);</code></p>
<p>The GetListItemCollectionFromSP returns the List item and the parameters to method are<br />
name – Name of the FieldRef, value = value to match for that FieldRef, type – Type of the value and rowLimit – Maximum number of rows to fetch</p>
<pre>private static ListItemCollection GetListItemCollectionFromSP(string name, string value, string type, int rowLimit)
{
//Replace siteURL and documentListName with your SharePoint site URL and DocumentList
ListItemCollection listItems = null; string siteURL = "site URL";string documentListName = "document list";
using (ClientContext clientContext = new ClientContext(siteURL))
{
List documentsList = clientContext.Web.Lists.GetByTitle(documentListName);
CamlQuery camlQuery = new CamlQuery(); ;
camlQuery.ViewXml =
@"&lt;View&gt;
&lt;Query&gt;
&lt;Where&gt;
&lt;Eq&gt;
&lt;FieldRef Name='" + name + @"'/&gt;
&lt;Value Type='" + type + "'&gt;" + value + @"&lt;/Value&gt;
&lt;/Eq&gt;
&lt;/Where&gt;&lt;RowLimit&gt;" + rowLimit.ToString() + @"&lt;/RowLimit&gt;
&lt;/Query&gt;
&lt;/View&gt;";
listItems = documentsList.GetItems(camlQuery);
clientContext.Load(documentsList);
clientContext.Load(listItems);
clientContext.ExecuteQuery();
}
 return listItems;
}</pre>
<p><strong>Upload a document to SharePoint Document List:</strong></p>
<p>In this case I want to upload a document to SharePoint document list and also update the field metadata i.e. for field “DocType” to “Favourites” as in this example using ClientContext. The code snippet is displayed below</p>
<pre>public void UploadDocument(string siteURL, string documentListName,
string documentListURL, string documentName, byte[] documentStream)
{
using (ClientContext clientContext = new ClientContext(siteURL))
{
//Get Document List
List documentsList = clientContext.Web.Lists.GetByTitle(documentListName);
var fileCreationInformation = new FileCreationInformation();
//Assign to content byte[] i.e. documentStream
fileCreationInformation.Content = documentStream;
//Allow owerwrite of document
fileCreationInformation.Overwrite = true;
//Upload URL
fileCreationInformation.Url = siteURL + documentListURL + documentName;
Microsoft.SharePoint.Client.File uploadFile = documentsList.RootFolder.Files.Add(fileCreationInformation);
//Update the metadata for a field having name "DocType"
uploadFile.ListItemAllFields["DocType"] = "Favourites";
uploadFile.ListItemAllFields.Update();
clientContext.ExecuteQuery();
}
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointhostingnews.com/index.php/archives/961/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Hosting :: Mobile Access for SharePoint 2010 Internet Sites</title>
		<link>http://www.sharepointhostingnews.com/index.php/archives/958</link>
		<comments>http://www.sharepointhostingnews.com/index.php/archives/958#comments</comments>
		<pubDate>Tue, 07 Feb 2012 06:57:52 +0000</pubDate>
		<dc:creator>Tommy Boswell</dc:creator>
				<category><![CDATA[Sharepoint 2010 Hosting]]></category>
		<category><![CDATA[asphostportal]]></category>
		<category><![CDATA[asphostportal.com]]></category>
		<category><![CDATA[cheap hosted sharepoint 2010]]></category>
		<category><![CDATA[cheap hosting sharepoint 2010]]></category>
		<category><![CDATA[cheap sharepoint 2010]]></category>
		<category><![CDATA[cheap sharepoint 2010 foundation hosting]]></category>
		<category><![CDATA[cheap sharepoint 2010 hosting]]></category>
		<category><![CDATA[sharepoint 2010 foundation hosting]]></category>
		<category><![CDATA[sharepoint 2010 hosting]]></category>

		<guid isPermaLink="false">http://www.sharepointhostingnews.com/?p=958</guid>
		<description><![CDATA[<p>Over the past several years more and more organizations are choosing to deploy public facing Internet sites using SharePoint 2010. Building on existing skills and experiences, designers and .NET developers can create amazing looking web sites, some of which can be seen here.</p>
<p>One question that comes up frequently is “what about mobile devices?” Organizations want to <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.sharepointhostingnews.com/index.php/archives/958">SharePoint 2010 Hosting :: Mobile Access for SharePoint 2010 Internet Sites</a></span>]]></description>
			<content:encoded><![CDATA[<p>Over the past several years more and more organizations are choosing to deploy public facing Internet sites using SharePoint 2010. Building on existing skills and experiences, designers and .NET developers can create amazing looking web sites, some of which can be seen <a href="http://www.wssdemo.com/livepivot/" target="_blank">here</a>.</p>
<p>One question that comes up frequently is “what about mobile devices?” Organizations want to ensure that the sites they build can be viewed not only by desktop and laptop users but also on mobile devices such as phones and tablets. The answer to this question cannot be summed up in a single sentence or paragraph.</p>
<div><a href="http://asphostportal.com/Windows-Sharepoint-2010-Hosting.aspx"><img class="aligncenter size-full wp-image-898" title="SharePoint 2010 Hosting" src="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/ads_300x180.jpg" alt="" width="350" height="230" /></a></div>
<p>Out of the box SharePoint 2010 provides the ability to render mobile views of the default SharePoint templates. These mobile views are usually acceptable for an intranet or extranet deployment but they are not well suited for a public facing site. A blog post titled <a href="http://blogs.technet.com/b/office2010/archive/2010/03/09/configure-sharepoint-server-2010-for-mobile-device-access.aspx" target="_blank">Configure SharePoint Server 2010 for Mobile Device Access</a> written by the Microsoft Office product development group demonstrates the out of the box mobile rendering capabilities.</p>
<p>Just like any other project, the key to a successful implementation is planning. When building public facing SharePoint 2010 web sites you have complete flexibility in determining what HTML, style sheets and ECMAScript is used for rendering the site. A designer and developer can use basic web standards or they can utilize the latest HTML 5 constructs. Building a public facing web site with SharePoint that can be easily viewed on mobile devices requires a good understanding of mobile device capabilities, who your audience is, and what devices you wish to support.</p>
<p>Mobile devices such as the iPhone, iPad, Android and Windows Phone 7 have full feature-rich browsers that can render almost any content presented on the Internet today with the exception of plugins like Flash and Silverlight. There are also devices that have less featured browsers that would require a traditional mobile site in order for the user to have a positive experience.</p>
<p>Start your planning by evaluating why a user would be visiting your site with a mobile device and what content they would most likely be looking for. It is highly unlikely that every piece of content on a public facing site is important to mobile users. Chances are a mobile user will be looking for a specific piece of information such as directions, hours of operation, recent news, or weather conditions. The thought here is that a mobile user is just that… mobile. They are away from their home or office and they need to quickly view some information or accomplish a simple task using their mobile device. Mobile users are probably unlikely to be commenting on blogs,writing posts in a message forum,or trying to pay property taxes.</p>
<p>Once you have a good understanding or idea of why a mobile user would visit your site the next question should be who is visiting. Are you expecting adult visitors, teens, or children? Are they business professionals, home makers, or students? These questions will also help you determine the type of content and tasks you need to provide on your mobile site. If your site is primarily focused on teens having a mobile view of a message form or chat room may be necessary.</p>
<p>Now that you have determined who will be visiting your mobile site and what content they will be expecting, you now need to consider the likelihood of a specific mobile device viewing your site. Do you really need a specialized mobile only view or will the devices your visitors use have a full featured web browser? Do you expect visitors with older WAP only phones to be accessing the site or will the majority of your users be using a new Windows Phone 7?</p>
<p>While most focus on just the capabilities of the browser this may not be the most important factor. One must also consider the size of the screen. For example the iPhone and iPad have a very similar browser from a capabilities perspective but the experience of the user will be very different due to the screen size.</p>
<p>Example Planning Questions:</p>
<ul>
<li>Who is the audience?</li>
<li>What information will they need or expect?</li>
<li>How should the information be presented to this audience?</li>
<li>What types of devices are likely to be used by the visitors?
<ul>
<li>Capabilities</li>
<li>Size</li>
<li>Touch screen or button navigation</li>
</ul>
</li>
<li>How will visitors navigate the site?</li>
</ul>
<p>Once the planning process is complete and you have a good understanding of your audience, the information expected, how it should be presented and the devices you need to support, you can begin to design your solution. One possible option is that you are going to do nothing and your mobile visitors will just use the full version of your SharePoint 2010 internet web site. Another option is to create some form of a mobile only version of your site which caters to your expected visitors.</p>
<p>If you choose to create a mobile view of your SharePoint 2010 internet site you will next need to select one or more methods for building the site, and determine how a user will navigate it. As mentioned earlier SharePoint 2010 provides basic mobile views for lists and libraries, however, in most cases this would probably not be acceptable for a public facing site. Other options for building mobile sites include:</p>
<ul>
<li>Customizing the out of the box mobile home pages</li>
<li>Creating mobile adapters for out of the box web parts</li>
<li>Create custom field rendering controls for mobile pages</li>
<li>Use SharePoint variations along with custom master pages and CSS for mobile devices</li>
<li>Custom ASP.NET application that pulls content from SharePoint 2010</li>
<li>Use a 3<sup>rd</sup> party solution to assist in the creation of SharePoint 2010 mobile sites</li>
</ul>
<p>The mobile options listed above are not mutually exclusive. In many cases you will choose multiple approaches from the list to build out a complete SharePoint 2010 mobile site. Below we will briefly take a look at each of these options.</p>
<p><strong>Customizing the out of the box mobile home pages<br />
</strong>SharePoint 2010 has a mobile page rendering system that utilizes templates to determine how the header, contents and footer are displayed. By creating your own rendering templates you can change the default out of the box mobile home pages to meet your needs. For detailed information on how to customize the mobile home pages refer to the following MSDN article.<strong><br />
</strong><a href="http://msdn.microsoft.com/en-us/library/bb802539.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/bb802539.aspx</a></p>
<p><strong>Creating mobile adapters for out of the box web parts<br />
</strong>Many of the default SharePoint web parts have a basic mobile view that is displayed when a device accesses a mobile page. If you have your own custom web parts you will need to create a mobile adapter in order for them to properly display on a mobile page. For detailed information on how to create a mobile adapter refer to the following MSDN article.<strong><br />
</strong><a href="http://msdn.microsoft.com/en-us/library/ee539079.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/ee539079.aspx</a></p>
<p><strong>Create custom field rendering controls for mobile pages<br />
</strong>SharePoint 2010 allows developers to build custom field rendering controls for mobile pages. These custom field rendering controls gives the developer full control over how fields are displayed in the display, edit, and new forms of a list. For detailed information on how to create a custom field rendering control for mobile pages refer to the following MSDN article.<br />
<a href="http://msdn.microsoft.com/en-us/library/bb862011.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/bb862011.aspx</a></p>
<p><strong>Use SharePoint variations along with custom master pages and CSS for mobile devices<br />
</strong>A feature called Variations that was originally designed to enable multilingual sites could be used for managing a separate view for mobile devices. The Microsoft <a href="http://blogs.msdn.com/b/ecm/archive/2010/04/12/variations-in-sharepoint-2010-connecting-people-with-content.aspx" target="_blank">ECM Blog</a> states “Variations is a SharePoint feature that facilitates the management and maintenance of content that can be served to multiple audiences. These audiences can vary in terms of different languages, countries, or regions, but they can also represent different brands or devices.” Using variations along with a custom mobile master page and CSS style could provide a mobile version of a public facing SharePoint site.</p>
<p><strong>Custom ASP.NET application that pulls content from SharePoint 2010<br />
</strong>Some organizations have decided to write a custom ASP.NET web application specifically for mobile devices. These web applications utilize the SharePoint 2010 server and/or client object model for retrieving content that will be rendered in the mobile view. This method of creating a mobile site is much more involved, but it does give a lot of flexibility in how the mobile site will render and function.</p>
<p><strong>Use a 3<sup>rd</sup> party solution to assist in the creation of SharePoint 2010 mobile sites<br />
</strong>There are multiple 3<sup>rd</sup> party solutions created by Microsoft partners that can be used to help build out mobile versions of public facing web sites. These solutions provide frameworks that can be used to build full featured mobile websites based upon content stored and managed in SharePoint 2010. One such solution is available from Mobile Entrée (see the additional references section below).</p>
<p>When designing your mobile website you will want to build a site navigation system that fits the capabilities of the devices your users are expected to use. Some mobile devices are touch screen and allow a person to navigate a web site just as if they were using a mouse on a desktop or laptop computer. Other mobile devices only have a series of arrow keys and a select button. These two different forms of navigation can have a significant impact on how you choose to design your mobile sites. Careful thought and planning is required here in order to ensure that all of your visitors have an enjoyable experience.</p>
<p>No matter which method you ultimately choose, you will need a way to get your mobile users to the mobile site. The most popular method is to perform browser detection on the main public URL of your web site and then redirect users with mobile browsers to the mobile specific site. Another option is to have a dedicated mobile URL that you can publish and market to your end users so they can directly access the mobile site easily. SharePoint 2010 provides a mechanism for identifying mobile browsers and performing the necessary redirections. Additional information on this feature can be found at <a href="http://msdn.microsoft.com/en-us/library/ms462572.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/ms462572.aspx</a>.</p>
<p><strong>Summary<br />
</strong>Planning is the key for any successful software development and implementation project. This holds very true for building mobile accessible web sites with SharePoint 2010. Ensure that you understand your users, the mobile devices they have, and their specific mobile information needs. Don’t try to be everything to everyone. Focus on key usage scenarios and build a site that is tailored to the person who is on the go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointhostingnews.com/index.php/archives/958/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Hosting :: How To Map a Crawled Property to Managed Properties By PowerShell (FAST for SharePoint 2010)</title>
		<link>http://www.sharepointhostingnews.com/index.php/archives/950</link>
		<comments>http://www.sharepointhostingnews.com/index.php/archives/950#comments</comments>
		<pubDate>Sat, 04 Feb 2012 03:17:35 +0000</pubDate>
		<dc:creator>Manuel Costa</dc:creator>
				<category><![CDATA[Sharepoint 2010 Hosting]]></category>
		<category><![CDATA[asphostportal]]></category>
		<category><![CDATA[asphostportal.com]]></category>
		<category><![CDATA[cheap hosted sharepoint 2010]]></category>
		<category><![CDATA[cheap hosting sharepoint 2010]]></category>
		<category><![CDATA[cheap sharepoint 2010]]></category>
		<category><![CDATA[cheap sharepoint 2010 foundation hosting]]></category>
		<category><![CDATA[cheap sharepoint 2010 hosting]]></category>
		<category><![CDATA[sharepoint 2010 foundation hosting]]></category>
		<category><![CDATA[sharepoint 2010 hosting]]></category>

		<guid isPermaLink="false">http://www.sharepointhostingnews.com/?p=950</guid>
		<description><![CDATA[<p>Managed Properties are great! FAST pulls and indexes Managed Properties for multitudes of things, including boosting and search scopes. They are core to your FAST User Experience and an essential part to configuration</p>
<p>When a FAST crawl runs, it will pick up site column data and create a crawled property for that site column (given that there <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.sharepointhostingnews.com/index.php/archives/950">SharePoint 2010 Hosting :: How To Map a Crawled Property to Managed Properties By PowerShell (FAST for SharePoint 2010)</a></span>]]></description>
			<content:encoded><![CDATA[<p>Managed Properties are great! FAST pulls and indexes Managed Properties for multitudes of things, including boosting and search scopes. They are core to your FAST User Experience and an essential part to configuration</p>
<p>When a FAST crawl runs, it will pick up site column data and create a crawled property for that site column (given that there is data associated with this site column). In order to query this site column directly in search, first we will created a managed property from this site column.</p>
<div><a href="http://asphostportal.com/Windows-Sharepoint-2010-Hosting.aspx"><img class="aligncenter size-full wp-image-898" title="SharePoint 2010 Hosting" src="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/ads_300x180.jpg" alt="" width="350" height="230" /></a></div>
<p>Generally, most out of the box SharePoint site columns are already mapped to a managed property in FAST. However, custom site columns usually are not, and these are the ones that we need to target to map to a managed property.</p>
<p>First we will need to make sure that our site column was indeed picked up as a crawled property. In this example, we are using a custom site column called “country”. Make sure you have already executed a crawl and that there is data associated with this site column.</p>
<p><strong>From PowerShell:</strong> Executing the command <strong>Get-FASTSearchMetadataCrawledProperty</strong> in the FAST PowerShell will return the entire list of crawled properties in FAST. This can get quite verbose in your PowerShell window, so if you would like to print that out to a text file for easier viewing, execute the following simple script in PowerShell:</p>
<p><code>Get-FASTSearchMetadataCrawledProperty | Out-File “C:\crawledproperty.txt”</code></p>
<p>If you know the name of your column, you can shorten the search by adding –Name.</p>
<p><code>Get-FASTSearchMetadataCrawledProperty -Name 'country'</code></p>
<p><em>Basic Troubleshooting:</em> If you get an error that the cmdlet Get-FASTSearchMetadataCrawledProperty doesn’t exist, make sure that you are FAST’s PowerShell. If the error continues, add the FAST PowerShell snap-in by typing in the command: <strong>Add-PSSnapin Microsoft.FASTSearch.Powershell</strong></p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_1.png"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_1.png" alt="" title="image_1" width="640" height="228" class="aligncenter size-full wp-image-951" /></a></p>
<p><strong>From the UI:</strong> In Central Admin, go to <strong>Service Applications –&gt; &lt;</strong><em><strong>Your FAST Query SSA</strong></em><strong>&gt; –&gt; FAST Search Administration –&gt; Crawled Property Categories –&gt; SharePoint</strong>. From here you can do a search to find your site column. In general, SharePoint site columns will be preceded with “ows_”, so our returned crawled property looks like this: ows_country().</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_2.png"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_2.png" alt="" title="image_2" width="640" height="133" class="aligncenter size-full wp-image-952" /></a></p>
<p><strong>Creating Managed Property</strong></p>
<p>Now that we know our site column exists as a crawled property, we need to create or find a managed property to map it to. In this case, we will simply create a new managed property.</p>
<p><strong>From PowerShell:</strong></p>
<p>Here, ‘-type 1’ is the type of information that we are storing in the property. Make sure you make it Queryable!</p>
<p><code># Create New Managed Property<br />
$nmp = New-FASTSearchMetadataManagedProperty –Name “country” –type 1 –description “Managed Property for country content type”<br />
Set-FASTSearchMetadataManagedProperty –Name “country” –Queryable $true –StemmingEnabled<br />
$false –RefinementEnabled  $false<br />
$cp = Get-FASTSearchMetadataCrawledProperty –name 'ows_country'<br />
New-FASTSearchMetadataCrawledPropertyMapping –Managedproperty $nmp –crawledproperty $cp</code></p>
<p>m the UI: Go to <strong>Service Applications –&gt; &lt;</strong><em><strong>Your FAST Query SSA</strong></em><strong>&gt; –&gt; FAST Search Administration –&gt; Managed Properties</strong>. Click Add Managed Property. We will create a new managed property called “country”, type in a short description, and then click “Add Mapping”. This will bring up a menu where you will search for your crawled property. Once you find the managed property, add it and click ok. Finally, we will check “Query property”, which will allow you to use this managed property in search queries. There are also the options to make this managed property a sort property and deep refiner.</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_3.png"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_3.png" alt="" title="image_3" width="516" height="484" class="aligncenter size-full wp-image-953" /></a></p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_4.png"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_4.png" alt="" title="image_4" width="456" height="484" class="aligncenter size-full wp-image-954" /></a><br />
Either way we choose to create our managed property, we should be able to see it in our list of managed property names.</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_5.png"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_5.png" alt="" title="image_5" width="644" height="142" class="aligncenter size-full wp-image-955" /></a><br />
<strong>Crawl it!</strong></p>
<p>In order to use this new managed property in search and see filtered results, we must do a content crawl. <strong>Service Applications –&gt; &lt;Your FAST Connector&gt;</strong> and execute an incremental or full crawl of your content source.</p>
<p>After your crawl, you can query directly on this column by using it as a scope in your search. For example “country:USA”.</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_6.png"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/02/image_6.png" alt="" title="image_6" width="644" height="353" class="aligncenter size-full wp-image-956" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointhostingnews.com/index.php/archives/950/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Hosting :: Configure the Target Audience for a Web Part in SharePoint 2010 Sites</title>
		<link>http://www.sharepointhostingnews.com/index.php/archives/938</link>
		<comments>http://www.sharepointhostingnews.com/index.php/archives/938#comments</comments>
		<pubDate>Mon, 30 Jan 2012 04:44:30 +0000</pubDate>
		<dc:creator>Tommy Boswell</dc:creator>
				<category><![CDATA[Sharepoint 2010 Hosting]]></category>
		<category><![CDATA[asphostportal]]></category>
		<category><![CDATA[asphostportal.com]]></category>
		<category><![CDATA[cheap sharepoint 2010]]></category>
		<category><![CDATA[cheap sharepoint 2010 foundation hosting]]></category>
		<category><![CDATA[cheap sharepoint 2010 hosting]]></category>
		<category><![CDATA[sharepoint 2010]]></category>
		<category><![CDATA[sharepoint 2010 foundation hosting]]></category>
		<category><![CDATA[sharepoint 2010 hosting]]></category>

		<guid isPermaLink="false">http://www.sharepointhostingnews.com/?p=938</guid>
		<description><![CDATA[<p>Microsoft Office SharePoint Server 2010 enables custom audience targeting for content and sites. The purpose is to define audiences and content that are relevant to a user or a group. As server or site administrator, you can define audiences and content for a specific set of users or group.</p>

<p>The following steps will teach you how to <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.sharepointhostingnews.com/index.php/archives/938">SharePoint 2010 Hosting :: Configure the Target Audience for a Web Part in SharePoint 2010 Sites</a></span>]]></description>
			<content:encoded><![CDATA[<p>Microsoft Office SharePoint Server 2010 enables custom audience targeting for content and sites. The purpose is to define audiences and content that are relevant to a user or a group. As server or site administrator, you can define audiences and content for a specific set of users or group.</p>
<div><a href="http://asphostportal.com/Windows-Sharepoint-2010-Hosting.aspx"><img class="aligncenter size-full wp-image-898" title="SharePoint 2010 Hosting" src="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/ads_300x180.jpg" alt="" width="350" height="230" /></a></div>
<p>The following steps will teach you how to complete the configuration.</p>
<p><strong>Step 1.</strong> Create two users in Active Directory which names are “test1” and “test2”.</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_11.png"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_11.png" alt="" title="image_1" width="920" height="529" class="aligncenter size-full wp-image-939" /></a><br />
<strong>Step 2.</strong> Log in SharePoint site with the administrator.</p>
<p><strong>Step3.</strong> Go to Site Settings&gt;Site collection features, start the “SharePoint Server Publishing Infrastructure” feature, then go to “Site collection navigation” to check if “Enable audience targeting” is selected.</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_2.png"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_2.png" alt="" title="image_2" width="855" height="145" class="aligncenter size-full wp-image-940" /></a><br />
<a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_3.png"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_3.png" alt="" title="image_3" width="523" height="464" class="aligncenter size-full wp-image-941" /></a><br />
<a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_4.png"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_4.png" alt="" title="image_4" width="811" height="458" class="aligncenter size-full wp-image-942" /></a><br />
<strong>Step 4.</strong> Go to Site Settings&gt;Site Permission&gt;Create Group, create a group named “testinggroup” whose permission level is Full control, then add “test1” to this group.</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_5.png"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_5.png" alt="" title="image_5" width="754" height="449" class="aligncenter size-full wp-image-943" /></a><br />
<a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_6.png"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_6.png" alt="" title="image_6" width="743" height="402" class="aligncenter size-full wp-image-944" /></a><br />
<strong>Step 5.</strong> Go to Settings&gt;Site Permission &gt;Grant permissions, create a user named “test2” whose permission level is Full control.</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_7.png"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_7.png" alt="" title="image_7" width="807" height="501" class="aligncenter size-full wp-image-945" /></a><br />
<strong>Step 6.</strong> Now let me take our product SharePointBoost Password Reset web part as an example. In the web part zone click Edit web part. In the Advanced section of the web part tool pane add the “testinggroup” into the Target Audiences box and click OK.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointhostingnews.com/index.php/archives/938/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Hosting :: Using Visual Studio 2010 to Create Custom Modal Dialog in SharePoint 2010</title>
		<link>http://www.sharepointhostingnews.com/index.php/archives/932</link>
		<comments>http://www.sharepointhostingnews.com/index.php/archives/932#comments</comments>
		<pubDate>Thu, 19 Jan 2012 04:03:00 +0000</pubDate>
		<dc:creator>Tommy Boswell</dc:creator>
				<category><![CDATA[Sharepoint 2010 Hosting]]></category>
		<category><![CDATA[asphostportal]]></category>
		<category><![CDATA[asphostportal.com]]></category>
		<category><![CDATA[cheap hosted sharepoint 2010]]></category>
		<category><![CDATA[cheap hosting sharepoint 2010]]></category>
		<category><![CDATA[cheap sharepoint 2010]]></category>
		<category><![CDATA[cheap sharepoint 2010 foundation hosting]]></category>
		<category><![CDATA[cheap sharepoint 2010 hosting]]></category>
		<category><![CDATA[sharepoint 2010 foundation hosting]]></category>
		<category><![CDATA[sharepoint 2010 hosting]]></category>

		<guid isPermaLink="false">http://www.sharepointhostingnews.com/?p=932</guid>
		<description><![CDATA[<p>Below are the detailed steps to create a custom modal dialog page and show it when a ribbon button is clicked in a document library.</p>
<p>1. User clicks on Ribbion button “About” in the document library.</p>
<p>2. About button the displays the custom dialog page and passes the current library name.</p>
<p>3. The dialog page then parses the url <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.sharepointhostingnews.com/index.php/archives/932">SharePoint 2010 Hosting :: Using Visual Studio 2010 to Create Custom Modal Dialog in SharePoint 2010</a></span>]]></description>
			<content:encoded><![CDATA[<p>Below are the detailed steps to create a custom modal dialog page and show it when a ribbon button is clicked in a document library.</p>
<p>1. User clicks on Ribbion button “About” in the document library.</p>
<p>2. About button the displays the custom dialog page and passes the current library name.</p>
<p>3. The dialog page then parses the url parameter, Library name in our case and display the description field as text in the dialog page.</p>
<div><a href="http://asphostportal.com/Windows-Sharepoint-2010-Hosting.aspx"><img class="aligncenter size-full wp-image-898" title="SharePoint 2010 Hosting" src="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/ads_300x180.jpg" alt="" width="350" height="230" /></a></div>
<p>Results -</p>
<p>Ribbon Button</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_1.jpg"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_1.jpg" alt="" title="image_1" width="323" height="141" class="aligncenter size-full wp-image-933" /></a><br />
About Dialog -</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_2.jpg"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_2.jpg" alt="" title="image_2" width="421" height="254" class="aligncenter size-full wp-image-934" /></a><br />
Steps –</p>
<p>1. Create a empty project “Aboutmodaldialog”.</p>
<p>2. Deploy it as a Farm solution.</p>
<p>3. Right click on the feature and click “Add feature”.</p>
<p>4. Next right click on project and add a new item and select an application page “AboutDialogPage.aspx”. This will be out cutsom dialog page.</p>
<p>5. Open the AboutDialogPage.aspx page and add a lablel “AboutText” in PlaceHolderMain.</p>
<p>6. Next, write the below code in the applictaion page to display the About text for a library.</p>
<p><code>using System;<br />
using Microsoft.SharePoint;<br />
using Microsoft.SharePoint.WebControls;</p>
<p>namespace AboutModalDialog.Layouts.AboutModalDialog<br />
{<br />
    public partial class AboutDialogPage : LayoutsPageBase<br />
    {<br />
        protected void Page_Load(object sender, EventArgs e)<br />
        {<br />
            SPWeb web = SPContext.Current.Web; //here, because we use the SPContext, so we don't need to dispose SPWeb, or<br />
                                               //use the using</p>
<p>            if (Request.QueryString["sourcelibrary"] != null)<br />
            {</p>
<p>                String CurrentListName = Request.QueryString["sourcelibrary"].ToString();</p>
<p>                SPList _currentList = web.Lists[CurrentListName];</p>
<p>                AboutText.Text = string.Format("About This Library {0}", _currentList.Description);</p>
<p>            }</p>
<p>        }<br />
    }<br />
}</code></p>
<p>You Project should look like -</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_3.jpg"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_3.jpg" alt="" title="image_3" width="298" height="274" class="aligncenter size-full wp-image-935" /></a></p>
<p>7. Next we will create an empty element to display our custom ribbon button “About” which when clicked will open up</p>
<p>8. Next step would be to add a new “Empty Element” type item in the project. See below<br />
9. Add the below code in the Element file</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_4.jpg"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_4.jpg" alt="" title="image_4" width="614" height="385" class="aligncenter size-full wp-image-936" /></a><br />
<code>&lt;?xml version="1.0" encoding="utf-8"?&gt;<br />
&lt;Elements xmlns="http://schemas.microsoft.com/sharepoint/"&gt;<br />
  &lt;CustomAction<br />
    Id="AboutFilesButton"<br />
    Location="CommandUI.Ribbon"<br />
    RegistrationId="101"<br />
    RegistrationType="List"<br />
    Title="About"&gt;<br />
    &lt;CommandUIExtension&gt;<br />
      &lt;CommandUIDefinitions&gt;<br />
        &lt;CommandUIDefinition<br />
        Location="Ribbon.Library.ViewFormat.Controls._children"&gt;<br />
          &lt;Button Id="Ribbon.Library.ViewFormat.About"<br />
                  Command="AboutButtonCommand"<br />
                  LabelText="About"<br />
                  Image32by32="/_layouts/1033/IMAGES/APPROVE.GIF"<br />
                  TemplateAlias="o1" /&gt;<br />
        &lt;/CommandUIDefinition&gt;<br />
      &lt;/CommandUIDefinitions&gt;<br />
      &lt;CommandUIHandlers&gt;<br />
        &lt;CommandUIHandler<br />
        Command="AboutButtonCommand"<br />
        CommandAction="javascript:<br />
        var context = SP.ClientContext.get_current();<br />
        var web = context.get_web();<br />
        context.load(web);<br />
        var currentlibid = SP.ListOperation.Selection.getSelectedList();<br />
        var currentLib = web.get_lists().getById(currentlibid);<br />
        context.load(currentLib);<br />
        context.executeQueryAsync(<br />
          function (sender, args) {<br />
            if(currentLib != null) {<br />
              var options = {<br />
                url: '/_layouts/AboutModalDialog/AboutDialogPage.aspx?sourcelibrary='+ currentLib.get_title(),<br />
                tite: 'About',<br />
                allowMaximize: false,<br />
                showClose: true,<br />
                width: 400,<br />
                height: 400,<br />
            };<br />
            SP.UI.ModalDialog.showModalDialog(options);<br />
          }<br />
        },<br />
        function (sender, args) {<br />
          alert('Error occured' + args.get_message());}<br />
        );<br />
      " /&gt;<br />
      &lt;/CommandUIHandlers&gt;<br />
    &lt;/CommandUIExtension&gt;<br />
  &lt;/CustomAction&gt;<br />
&lt;/Elements&gt;</code></p>
<p>10. Next, build and deploy your project. At this point you should see a “About” button in your document library ( under Library tab) which when clicked will display your custom modal dialog.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointhostingnews.com/index.php/archives/932/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Hosting :: Create ‘Open Tool Pane’ link in custom .NET Web Parts for SharePoint 2010</title>
		<link>http://www.sharepointhostingnews.com/index.php/archives/927</link>
		<comments>http://www.sharepointhostingnews.com/index.php/archives/927#comments</comments>
		<pubDate>Mon, 09 Jan 2012 04:05:28 +0000</pubDate>
		<dc:creator>Manuel Costa</dc:creator>
				<category><![CDATA[Sharepoint 2010 Hosting]]></category>
		<category><![CDATA[asphostportal]]></category>
		<category><![CDATA[cheap hosted sharepoint 2010]]></category>
		<category><![CDATA[cheap hosting sharepoint 2010]]></category>
		<category><![CDATA[cheap sharepoint 2010]]></category>
		<category><![CDATA[cheap sharepoint 2010 hosting]]></category>
		<category><![CDATA[sharepoint 2010 foundation hosting]]></category>
		<category><![CDATA[sharepoint 2010 hosting]]></category>

		<guid isPermaLink="false">http://www.sharepointhostingnews.com/?p=927</guid>
		<description><![CDATA[<p>Back in SharePoint 2007, it was pretty popular to use the built-in Javascript function MSOTlPn_ShowToolPane2Wrapper to put the Web part page into edit mode and have the Web part properties editable. Typically, you would put something like the following in your Web part class code:</p>

<p>protected override void OnPreRender(EventArgs e)
{
   if (this.Page != null)
   {
      if (string.IsNullOrEmpty(SelectedListName))
      {
            placeHolderLiteral.Text = "Web part <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.sharepointhostingnews.com/index.php/archives/927">SharePoint 2010 Hosting :: Create ‘Open Tool Pane’ link in custom .NET Web Parts for SharePoint 2010</a></span>]]></description>
			<content:encoded><![CDATA[<p>Back in SharePoint 2007, it was pretty popular to use the built-in Javascript function <strong>MSOTlPn_ShowToolPane2Wrapper</strong> to put the Web part page into edit mode and have the Web part properties editable. Typically, you would put something like the following in your Web part class code:</p>
<div><a href="http://asphostportal.com/Windows-Sharepoint-2010-Hosting.aspx"><img class="aligncenter size-full wp-image-898" title="SharePoint 2010 Hosting" src="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/ads_300x180.jpg" alt="" width="350" height="230" /></a></div>
<p><code>protected override void OnPreRender(EventArgs e)<br />
{<br />
   if (this.Page != null)<br />
   {<br />
      if (string.IsNullOrEmpty(SelectedListName))<br />
      {<br />
            placeHolderLiteral.Text = "Web part is not configured. Please &lt;a href="\&amp;quot;javascript:MSOTlPn_ShowToolPane2Wrapper('Edit',"&gt;edit the Web part&lt;/a&gt; and choose a list or library.</p>
<p>";<br />
      }<br />
   }<br />
}</code></p>
<p>In the example above, I render a “please configure the Web part” message whenever the SelectedListName of the Web part is not set.</p>
<p>I’m currently developing a Web part for SharePoint 2010 and I wanted to have a “configure” link displayed for the Web part whenever Web properties (i.e. list name, view ID etc.) are not set or specified . I embed a code similar to the above snippet where I use <strong>MSOTlPn_ShowToolPane2Wrapper. </strong>It didn’t work!</p>
<p>So, thinking like a developer, I observe how the out-of-the-box Web parts render an “open tool pane” hyperlink. I add an Image Viewer web part to a web part page and look at the structure of the hyperlink. Here’s what I saw:</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_1.png"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2012/01/image_1.png" alt="" title="image_1" width="745" height="259" class="aligncenter size-full wp-image-929" /></a></p>
<p>I replaced my output code in my web part class from <strong>MSOTlPn_ShowToolPane2Wrapper to ShowToolPane2Wrapper </strong>and it works!<br />
Please note that I encourage that you put ‘this’ (object) as the second argument instead of ’129′, or ’16′ as you see in some blogs out there. The second parameter is supposed to indicate which Web part to edit. Do you really know at run-time that your Web part is ’129′ or ’16′? You don’t! So simply use ‘this’.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointhostingnews.com/index.php/archives/927/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Hosting :: How to Create and Use Document Sets in SharePoint 2010</title>
		<link>http://www.sharepointhostingnews.com/index.php/archives/915</link>
		<comments>http://www.sharepointhostingnews.com/index.php/archives/915#comments</comments>
		<pubDate>Tue, 20 Dec 2011 03:28:39 +0000</pubDate>
		<dc:creator>Tommy Boswell</dc:creator>
				<category><![CDATA[Sharepoint 2010 Hosting]]></category>
		<category><![CDATA[asphostportal]]></category>
		<category><![CDATA[asphostportal.com]]></category>
		<category><![CDATA[cheap hosted sharepoint 2010]]></category>
		<category><![CDATA[cheap hosting sharepoint 2010]]></category>
		<category><![CDATA[cheap sharepoint 2010]]></category>
		<category><![CDATA[cheap sharepoint 2010 foundation hosting]]></category>
		<category><![CDATA[cheap sharepoint 2010 hosting]]></category>
		<category><![CDATA[sharepoint 2010 foundation hosting]]></category>

		<guid isPermaLink="false">http://www.sharepointhostingnews.com/?p=915</guid>
		<description><![CDATA[<p>Problem</p>
<p>SharePoint stores documents in document libraries. There are folders to group different types of documents into a document library. But the problem is, it just provides a logical grouping, it doesn&#8217;t provide any special attributes, metadata or object model to support the complete set of documents. For example, a folder doesn&#8217;t allow trigger any workflows.</p>

<p>Solution</p>
<p>In SharePoint <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.sharepointhostingnews.com/index.php/archives/915">SharePoint 2010 Hosting :: How to Create and Use Document Sets in SharePoint 2010</a></span>]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong></p>
<p>SharePoint stores documents in document libraries. There are folders to group different types of documents into a document library. But the problem is, it just provides a logical grouping, it doesn&#8217;t provide any special attributes, metadata or object model to support the complete set of documents. For example, a folder doesn&#8217;t allow trigger any workflows.</p>
<div><a href="http://asphostportal.com/Windows-Sharepoint-2010-Hosting.aspx"><img class="aligncenter size-full wp-image-898" title="SharePoint 2010 Hosting" src="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/ads_300x180.jpg" alt="" width="350" height="230" /></a></div>
<p><strong>Solution</strong></p>
<p>In SharePoint 2010, there is a new feature called <strong>document sets</strong> which allows users to group different kind of documents under a single set. It also allows the defining of metadata, attributes and workflows on a document set. In this article, we will show you how to create and use document sets inside a document library. Before creating a document set, we need to ensure whether the Document Set feature is activated or not. To do so, go to Site Settings -&gt; Site Administration -&gt; Site Collection Features and Activate Document Sets feature.</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/image_1.jpg"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/image_1.jpg" alt="" title="image_1" width="700" height="39" class="aligncenter size-full wp-image-916" /></a><br />
In the document library, we need to add the Document Set content type. To do so, go to Library -&gt; Library Settings -&gt; Advanced Settings.</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/image_2.jpg"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/image_2.jpg" alt="" title="image_2" width="697" height="270" class="aligncenter size-full wp-image-917" /></a><br />
Select strong&gt;Yes in &#8220;Allow management of content types?&#8221; and click OK.</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/image_3.jpg"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/image_3.jpg" alt="" title="image_3" width="700" height="63" class="aligncenter size-full wp-image-918" /></a><br />
Now you will be able to see the Content Types section in the Document Library settings. To add the Document Set content type, click on &#8220;Add from existing site content types&#8221;.</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/image_4.jpg"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/image_4.jpg" alt="" title="image_4" width="670" height="170" class="aligncenter size-full wp-image-919" /></a><br />
Select strong&gt;Document Set aand click &#8220;Add&#8221; and then &#8220;OK&#8221;.</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/image_5.jpg"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/image_5.jpg" alt="" title="image_5" width="700" height="205" class="aligncenter size-full wp-image-920" /></a><br />
Now browse the Document Library and click on New -&gt; New Document Set.</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/image_6.jpg"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/image_6.jpg" alt="" title="image_6" width="378" height="238" class="aligncenter size-full wp-image-921" /></a><br />
In our case, we are going to create the &#8216;quarterly reports&#8217; document sets which would hold every month’s salary report.</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/image_7.jpg"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/image_7.jpg" alt="" title="image_7" width="525" height="434" class="aligncenter size-full wp-image-922" /></a><br />
I have also uploaded three different reports inside the document set.</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/image_8.jpg"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/image_8.jpg" alt="" title="image_8" width="432" height="271" class="aligncenter size-full wp-image-923" /></a><br />
Next I create a new documents set for each of the second, third and fourth quarters of 2011 inside the library.</p>
<p><a href="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/image_9.jpg"><img src="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/image_9.jpg" alt="" title="image_9" width="546" height="167" class="aligncenter size-full wp-image-924" /></a><br />
Now we can add workflows and/or metadata that relates to each Document Set.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointhostingnews.com/index.php/archives/915/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HostForLife.EU now supports Web Deploy 2.0 Hosting</title>
		<link>http://www.sharepointhostingnews.com/index.php/archives/912</link>
		<comments>http://www.sharepointhostingnews.com/index.php/archives/912#comments</comments>
		<pubDate>Wed, 14 Dec 2011 07:04:34 +0000</pubDate>
		<dc:creator>Ricardo Neill</dc:creator>
				<category><![CDATA[Other Related Posts]]></category>
		<category><![CDATA[europe web deploy hosting]]></category>
		<category><![CDATA[european web deploy 2.0 hosting]]></category>
		<category><![CDATA[european web deploy host]]></category>
		<category><![CDATA[hostforlife]]></category>
		<category><![CDATA[hostforlife.eu]]></category>

		<guid isPermaLink="false">http://www.sharepointhostingnews.com/?p=912</guid>
		<description><![CDATA[<p>HostForLIFE.EU has supported Web Deploy technique on all our hosting plans. With a web deploy technique, a customer can efficiently synchronize sites, applications or servers across your IIS 7.0 server farm by detecting differences between the source and destination content and transferring only those changes which need synchronization.
</p>
<p>What is Web Deploy 2.0?</p>
<p>Web Deploy (Web Deployment Tool) simplifies <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.sharepointhostingnews.com/index.php/archives/912">HostForLife.EU now supports Web Deploy 2.0 Hosting</a></span>]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.hostforlife.eu/">HostForLIFE.EU</a></strong> has supported Web Deploy technique on all our hosting plans. With a web deploy technique, a customer can efficiently synchronize sites, applications or servers across your IIS 7.0 server farm by detecting differences between the source and destination content and transferring only those changes which need synchronization.<br />
<a href="http://www.hostforlife.eu"><img class="aligncenter size-full wp-image-913" title="ASP.NET MVC 3 European Hosting" src="http://www.sharepointhostingnews.com/wp-content/uploads/2011/12/adsone_cr2010.gif" alt="" width="450" height="270" /></a></p>
<p><strong>What is Web Deploy 2.0?</strong></p>
<p>Web Deploy (Web Deployment Tool) simplifies the migration, management and deployment of IIS Web servers, Web applications and Web sites. Administrators can use command-line scripting with Web Deploy to synchronize IIS 6.0 and IIS 7.0 servers or to migrate an IIS 6.0 server to IIS 7.0. Web Deploy Tool also enables administrators and delegated users to use IIS Manager to deploy ASP.NET and PHP applications to an IIS 7.0 server. </p>
<p><strong>Web Deploy 2.0 Features</strong>             </p>
<p>- Seamless integration with IIS 7.0 Manager and Visual Studio 2010 interface for creating packages and deploying them onto a machine, both locally and remotely<br />
- Seamless integration with the Web Platform Installer to install community web applications simply and easily.<br />
- Web application packaging<br />
- Web application deployment<br />
- Web server migration and synchronization<br />
- In addition to the IIS Manager and Visual Studio 10, tasks can be performed using the command-line or public APIs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointhostingnews.com/index.php/archives/912/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

