Thursday, April 26, 2012

Setting up a development environment for SharePoint and Windows Phone 7

There are basically 3 flavors of setup that you can use for setting up a development environment when you want to build a Windows Phone 7 app that integrates with SharePoint:

  • Physical single machine setup using Windows 7: install both SharePoint 2010 and Windows Phone 7 on a physical Windows 7 machine. This will not work in a virtual environment since SharePoint requires a 64 bit machine and the Windows Phone SDK requires a 32 bit setup when installing in a virtual environment. Installing the Windows Phone SDK on the Windows 7 host and using VMWare is not an option either – see  Help – Windows Phone 7.1 emulator crashes my VMWare workstation. You can not install the Phone SDK on a Windows Server 2008 (R2) but there seems to be a workaround which you can use at your own risk (I did not test it).
  • Single machine with Windows Server 2008 R2 hosting 2 VHDs – one with Windows 7 and one with Windows Server 2008 R2
  • Two physical machines – one with Windows Server 2008 and one with Windows Phone 7
  • Use a hosted solution for SharePoint such as Cloudshare

If you just want to experiment with integrating WP7 and SharePoint Server 2010 don’t not use Office 365/SharePoint Online since SharePoint Online uses quite a different authentication mechanism compared to an on-premise deployment of SharePoint. If anyone has a working sample of a Windows Phone 7 app connecting to SharePoint Online please leave a comment.

Wednesday, April 25, 2012

RSS Feeds are default not enabled in SharePoint 2010

Default RSS feeds for SharePoint lists are not enabled – you will need to enable it per site collection. On the RSS settings page you will also be able to add some additional info to include into the feed such as copyright statement, managing editor, webmaster as well as the time to live (in minutes).

Next you need to define on a per list basis whether you will allow RSS feeds. It is also in this screen that you can define whether you want to include additional fields/columns in the RSS feed. Be careful though, when you add additional columns outside of the standard fields in RSS (title and link), these will be exposed in formatted HTM and not XML which will make it difficult to parse.

Wednesday, April 18, 2012

SharePoint Designer 2010 Custom Actions–Lock a SharePoint Discussion thread

I recently got a question whether it would be possible to lock a discussion thread in SharePoint 2010. The quickest (no code solution) according to me would be to use the new quick step/custom action features in SharePoint 2010. For a basic overview take a look at  SharePoint 2010 – Create a new quick step & custom actions .

My first idea was to hook a SharePoint 2010 workflow with just one workflow action to the new quick step – declare as record (part of the new records management capabilities in SharePoint 2010) – check out this full list of the available workflow actions in SharePoint Designer 2010 . Unfortunately a discussion thread is actually built on top of a folder content type and you can’t declare a folder content type as record.

Next I took a look at adding a workflow action to SharePoint Designer 2010 to change the security on the specific discussion thread. Unfortunately there is no such workflow action available out of the box in SharePoint Designer 2010. So two options – either built one yourself (this is pretty similar to what you did in 2007) – for a interesting rundown take a look at Make a custom activity available to SharePoint Designer 2010 or you can take a look at the SharePoint Designer Custom Workflow Activities project on Codeplex which provides the following custom actions:

Thursday, April 12, 2012

Survey on SharePoint deployment in Belgium

Please take a moment of your time to fill in a survey around SharePoint deployment in Belgium organized by two students from the University College of Ghent:

Thank you for taking the time to respond to this survey. This survey is organized by the University College Ghent. It is aimed at measuring the deployment of Microsoft SharePoint in Belgium. Answering the approximately 25 questions will take about 5 to 10 minutes.

Try to be honest when you answer the questions, we can assure you that all the data is confidential and will only be processed by the researchers. No answer is right or wrong, we only want to know your opinion. Please try to fill in every question, even if you have doubts.

The survey is anonymous, but if you are interested in the result of our survey you can fill in your e-mail address at the end of the survey and we will send you the result. This e-mail address will only be accessible by the researchers and won’t be given to third-party companies. Feel free to send out the survey link to other interested persons or to distribute it through social media channels – the goal of this survey is to reach as many SharePoint users as possible within Belgium.

Tuesday, April 10, 2012

Accessing Microsoft CRM 4.0 data using web services

A couple of days ago I wanted to write a plugin for Excel 2010 which would allow me to do lookups in Microsoft CRM 4.0 for adding extra information to a worksheet.

I was pleasantly surprised at how easy this was. Microsoft CRM 4.0 exposes all of its data through the CrmService web service - http://[server:port]/mscrmservices/2007/crmservice.asmx which exposes a number of interesting methods ( see CrmService Common methods)  of which one is the CrmService.Fetch method which allows for retrieving CRM entities in XML based on a specified XML query syntax which is called FetchXML.

The only tricky part is creating this FetchXML but there are a number of  tools that you can use to actually generate this FetchXML:

There is however another simpler method – just open CRM 4.0 and use the Advanced Option to create a new search. Click CTRL+N to open a new window with the address bar visible – now build your query and click Find. When the search results screen appears – paste the following in the address bar - javascript:alert(resultRender.FetchXml.value);  and hit enter

Tags van Technorati: ,,,

Wednesday, March 28, 2012

Dear manager, why you should give me a touch-enabled developer portable … or a separate touch enabled tablet

If you look at  ATMs, automatic checkouts at grocery stores or even at the on board computing you will notice that there’s a change in how you interact with these devices: you touch the screen to start the interaction.

In 2008 Gartner analyst Steve Prentice predicted the demise of the computer mouse in the next three to five years  (see Say goodbye to the computer mouse), a statement which now seems a little bit exaggerated but maybe it is only the timeline were he was off.

Currently when you think about a great touch experience you think about smartphones and tablets (with the most notable examples the iPhone and iPad) but not really about PCs.

But touch as a way of interacting with business applications would in fact make more sense in some scenarios or provide a more intuitive user experience – something which sometimes referred to as NUI (Natural User Interfaces).

With the introduction of Windows 8 – Microsoft will finally be able to compete with the Android and iOS user experience  (See Windows 8: Touch Keyboard – Handwriting recognition, metro UI (You Tube video)) by providing as a first-class experience.

In 2011 the PC market grew 15% to  414.6 million units of which 15% tablets (majority driven by iOS or Android) (Source: Canalys) – this leaves about 300 million PCs shipped with Windows on it. Even if this number declines in 2012-2013 this still provides for an enormous user base which will be accustomed to using touch in applications. When you look at the current types of applications in the Apple market place or even on the Windows 8 market place you will notice that the majority is aimed at consumers and not at business scenarios.

But consumerization of IT will force developers of business applications to provide the same fluid (and natural) user experience. An interesting statement is made in Consumerization of IT: Getting beyond the Myths:

And while browsing e-mail and social networking sites is still the primary use of personal devices, executives say the consumerization of IT is playing an increasingly important role in mission-critical tasks such as customer relationship management, time and expense tracking, and enterprise resource planning.

For us developers building touch-based touch-based systems will require understanding a new set of guidelines, thinking about user scenarios and target audiences and careful interface design. Off course it all starts with having a touch enabled device.

The thing I’m not really sure about is whether to use a touch enabled portable (I really like the Lenovo X220) or buying a separate tablet such as the Acer Iconia Tab W500 or the more pricier option a Samsung Series 7 XE700T1A. From a developer perspective, this would also provide for a viable alternative since Visual Studio 2011 Beta provides the ability to debug your Metro apps remotely).

Leave your comments and thoughts …

References:

Tuesday, March 27, 2012

Introduction to OData and SharePoint Server 2010

Open Data Protocol (OData) is quickly gaining popularity as a web protocol for querying and updating data. A few Microsoft products already expose their functionality as OData services, including SharePoint 2010, SQL Azure and SQL Server 2008 R2 Reporting Services. OData is a set of extensions of the ATOM protocol to makes it easier to share data over the web.

In SharePoint Server 2010 every SharePoint list is exposed through an OData REST API (you might also see some people referring to it as WCF Data Services) – which you can access using the following URL format:

References:

Monday, March 26, 2012

Excel versus SharePoint lists–interesting links

Most people think about using document libraries when managing documents within SharePoint but maybe you could use SharePoint lists as an alternative for your Excel documents – check out these excellent articles for more information:

Tags van Technorati: ,,

Tuesday, March 13, 2012

TechDays 2012 Belgium Content available online

All recorded content and slides for TechDays 2012 Belgium are available online since last week, including related downloads and content. Check it out on techdays.be


Wednesday, March 07, 2012

Second SharePoint Saturday Belgium on 28th April 2012

On Saturday the 28th of April BIWUG is organizing  SharePoint Saturday Belgium for the second time. SharePoint Saturday is an educational, informative & lively day filled with sessions from respected SharePoint professionals & MVPs, covering a wide variety of SharePoint-orientated topics. SharePoint Saturday is FREE, open to the public and is your local chance to immerse yourself in SharePoint!

Don’t forget to register for the event using this link - http://spsbe2012.eventbrite.com/.

Belgian Windows Phone 7 User Group–www.wiphug.be is launched

A couple of weeks ago WiPhug was launched - WiPhug is a Belgian user group that focuses on Windows Phone development. The idea is to share knowledge, skills and ideas with the entire community not only about Windows Phone development but also about everything that has something to do with WP7.

WiPhug is currently been run by Dennis Miscoria, Danny Van Neyghem, Nico Vermeir, Glenn Versweyveld, Bart Lannoeye, Michael Bruyninckx and Johan Peeters.

End of April they will organize their first event at RealDolmen Kontich which is fully booked.  Make sure to follow the website for more news about coming events.

Technorati Tags: ,,,

Microsoft Extended Experts Team MSDN

Heb je een complex probleem, maar niet de kennis om het op te lossen? Dan kun je op deze MEET pagina in contact komen met een community van Belgische experts.

Alle leden van MEET zijn geselecteerd voor hun kennis en vaardigheden in hun vakgebied. En ze zijn bovendien uitstekende communicators. Allen delen ze kun kennis via hun persoonlijke blog en regelmatig houden ze ook lezingen voor Microsoft of hun respectievelijke user group.

MEET krijgt de uitdrukkelijke steun van Microsoft België en Luxemburg. Mail naar msdnbewm@microsoft.com voor meer informatie over het programma.

Op zoek naar infrastructuur experts? Ga naar de TechNet MEET members.

 

[FUN]: Object is in a zombie state

SharePoint development inspired by the movies – LOL:

Saturday, February 04, 2012

Monday, January 30, 2012

The surprising truth about using [Today] in SharePoint 2010 Filters–showing items from the last 7 days

When you want to show the items created in the last 7 days in a specific SharePoint view you need to keep two things in mind:

Technorati Tags: ,,,

Thursday, January 26, 2012

Microsoft Business Ready Security Trial Environment

The Microsoft Business Ready Security trial environment contains an interesting set of VJDs that you can use to evaluate protection, access, management and identity technologies from Microsoft as a pre-configured set of VHDs and is using the following products:

  • Forefront Endpoint Protection 2010
  • Forefront Protection 2010 for Exchange/Forefront Protection 2010 for SharePoint/Forefront Protection for Server Management Console
  • Forefront Identity Manager 2010
  • Forefront Threat Management Gateway 2010
  • Forefront Unified Access Gateway 2010
  • Active Directory Rights Management Services

Download Details – Microsoft Business Ready Security Trial Environment

Book Review–Microsoft SharePoint 2010 Power User Cookbook

The Microsoft SharePoint 2010 Power User Cookbook is  an excellent book which is aimed specifically at getting things done in SharePoint without requiring development or hardcore administration skills. And I must say I like it. 

This book is a must have reference guide for business power users who use SharePoint in their daily job but don’t need to know all the background about how SharePoint exactly works from a system perspective.

It is however also very useful for SharePoint administrators who need to perform common SharePoint tasks as well as for SharePoint business analysts and project manager who need a more practical view on how to accomplish things in SharePoint.

It contains over 70 recipes going from very basic tasks such as creating site columns, securing objects, etc … to more complex tasks such as creating external content types, creating dashboards using PerformancePoint Dashboard designer. Each of these recipes contains a number of different sections:

  • Getting ready – explains for which version of SharePoint it works
  • How to do it – step by step guideline about how to configure things in SharePoint
  • How it works and There’s more – background information
  • See also – reference to related recipes.

Each recipe consists of a limited number of pages containing the bare essential for getting your SharePoint task done. Great job from the authors…

Monday, January 23, 2012

Outlook 2010 Quick Tip – Showing week numbers

Just a reminder to myself – Outlook 2010 makes it possible to show week numbers in Calendar View. Go to the Outlook Backstage > Options > Calendar

and check Show Weeknumbers in the Month View and in the Date Navigator


Tags van Technorati: ,

My favorite 5 sessions for TechDays 2012 Belgium

You smell that? Do you smell that? New technologies, son. Nothing else in the world smells like that. I love the smell of new technologies in the morning… (http://en.wikiquote.org/wiki/Apocalypse_Now) .

Yep, TechDays 2012 is coming near, so don’t forget to register – there are still some seats available. If you don’t know what to choose, check out my list of favorite sessions below:

Wondering how companies are using SharePoint?

Are you wondering how other companies are using SharePoint Server 2010? Then you definitely need to take a look at these different surveys which were conducted in 2010 and 2011: