0
#comdaybeBuilding search-driven Windows8 and Windows Phone 8 apps forSharePoint Server 2013RealDolmenJoris Poelmans
About me• Work at RealDolmen• Principal consultant and productmanager• SharePoint Server MVP since 2005• Active in Belux I...
Agenda• Cloud App Model Overview• Phone 8 Development Basics forSP2013• Search explained• Windows 8 Search App
Cloud App Model OverviewWhy building WP8 and W8 apps for SP2013 iseasier...
Vision: Modernizing the Office Platform
The result: a new cloud app modelBuild a new class of apps that extend and personalize the waywe create and consume inform...
SharePoint 2007SharePoint 2010SharePoint2013App Model: Past, Present and Future
Mobile Apps and SharePoint• List Apps• OOB List• Custom Lists• External Lists• General Apps• Silverlight CSOM• Possible to...
Security• Supported authentication• Form based authentication• Office 365/SP Online• Basic• Cross firewall connectivity• U...
Phone development basicsHow to get started – the tools and environments
SharePoint Development Environment• Available options:• Use Office365/SharePoint Online• Windows Azure VMs• Local virtual ...
Phone Development Environment• Supported environments:• Windows 7/8 and VS 2010 or 2012• SharePoint 2013 Client Components...
Client Side Object Model (CSOM)• API for building remoteapplications• Similar to Server OM• Introduced in 2010• 3 implemen...
CSOM in 2013 – What’s new• Extended with REST capabilities• Direct access from REST clients• Implemented in accordance wit...
demoWP8 SharePoint Apps
Phone Developer Experience• Windows PhoneSharePoint ListApplication• Launches a wizard• Select List• Select View• Select O...
VS Project FilesKey File DescriptionApp.xaml Handles application lifetimeDisplayForm.xaml Defines the UI for displaying a ...
Search explainedWhat‟s new in 2013 and how can you use it
Microsoft’s goals for search in SharePoint2013Find what you‟re lookingfor with intelligent resultstailored to youGet answe...
Search 2013 – Main improvements• New clean user interface with focus on providingactionable search results• One unified se...
Query rules
demoSearch in 2013
Search and CSOM/REST• CSOM• Microsoft.SharePoint.Client.Search.dll or SP.Search.js• KeywordQuery and SearchExecutor• REST ...
demoSearch from WP8 with CSOM
Building a Windows 8Search App andWhat‟s new in 2013 and how can you use it
demoSearch from W8 with CSOM
Windows 8 (WinJS) and CSOM• Use separate WinRTComponent• ClientResult is not avalid WinRT parametertype – use arrays• Chec...
Leverage Windows 8 Search Contract• App Declarations• Package.appxmanifest Declarations Search• SearchPane EventHandlers...
SharePoint 2013 API Stack
Search REST APIs• _api/search/query• _api/search/postquery• _api/search/suggestionshttp://blogs.msdn.com/b/nadeemis/archiv...
Summary• Search CSOM and REST APIs allowyou to extend your apps with SP2013search• SP2013 can handle search intentusing qu...
Thank you!
Building search-driven Windows 8 and Windows Phone 8 apps for SharePoint Server 2013
Building search-driven Windows 8 and Windows Phone 8 apps for SharePoint Server 2013
Upcoming SlideShare
Loading in...5
×

Building search-driven Windows 8 and Windows Phone 8 apps for SharePoint Server 2013

1,882

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,882
On Slideshare
0
From Embeds
0
Number of Embeds
48
Actions
Shares
0
Downloads
17
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Building search-driven Windows 8 and Windows Phone 8 apps for SharePoint Server 2013"

  1. 1. #comdaybeBuilding search-driven Windows8 and Windows Phone 8 apps forSharePoint Server 2013RealDolmenJoris Poelmans
  2. 2. About me• Work at RealDolmen• Principal consultant and productmanager• SharePoint Server MVP since 2005• Active in Belux Information WorkerUser Group – www.biwug.be• Blog: http://jopx.blogspot.com• E-mail: joris.poelmans@gmail.com• Twitter: @jopxtwits• www.slideshare.net/jplq631
  3. 3. Agenda• Cloud App Model Overview• Phone 8 Development Basics forSP2013• Search explained• Windows 8 Search App
  4. 4. Cloud App Model OverviewWhy building WP8 and W8 apps for SP2013 iseasier...
  5. 5. Vision: Modernizing the Office Platform
  6. 6. The result: a new cloud app modelBuild a new class of apps that extend and personalize the waywe create and consume informationright from within Office and SharePoint
  7. 7. SharePoint 2007SharePoint 2010SharePoint2013App Model: Past, Present and Future
  8. 8. Mobile Apps and SharePoint• List Apps• OOB List• Custom Lists• External Lists• General Apps• Silverlight CSOM• Possible to usepush notificationsand geolocationfield
  9. 9. Security• Supported authentication• Form based authentication• Office 365/SP Online• Basic• Cross firewall connectivity• Unified Access Gateway (UAG) SP3• Alternate Access Mappings
  10. 10. Phone development basicsHow to get started – the tools and environments
  11. 11. SharePoint Development Environment• Available options:• Use Office365/SharePoint Online• Windows Azure VMs• Local virtual machine• Windows Server 2008 R2/2012• SQL 2008 R2/2012• 12 GB RAM minimum seeHardware and softwarerequirements for SharePoint2013 -http://technet.microsoft.com/en-us/library/cc262485.aspxSharePoint Server2013 is notsupported onclient operatingsystems
  12. 12. Phone Development Environment• Supported environments:• Windows 7/8 and VS 2010 or 2012• SharePoint 2013 Client Components SDK -http://www.microsoft.com/en-us/download/details.aspx?id=35585• SharePoint SDK for WP8 - http://www.microsoft.com/en-us/download/details.aspx?id=36818• 2 new templates (C# only)– Empty SharePoint Application template– SharePoint List Application template• Specific references for interacting with SharePoint– Microsoft.SharePoint.Client.Phone– Microsoft.SharePoint.Client.Phone.Auth.UI– Microsoft.SharePoint.Client.Phone.Runtime• List application uses MVVM pattern
  13. 13. Client Side Object Model (CSOM)• API for building remoteapplications• Similar to Server OM• Introduced in 2010• 3 implementations:• .NET Managed, Silverlight(plus Phone), Javascript• Uses /_vti_bin/client.svc• Communication is done inbatches
  14. 14. CSOM in 2013 – What’s new• Extended with REST capabilities• Direct access from REST clients• Implemented in accordance withODATA• New APIs for SharePoint Server• UserProfiles,Search,Taxonomy,Workflow,eDiscovery, IRM,Analytics,Business Data• New API for Windows PhoneApplications
  15. 15. demoWP8 SharePoint Apps
  16. 16. Phone Developer Experience• Windows PhoneSharePoint ListApplication• Launches a wizard• Select List• Select View• Select Operations• Select Fields• Project is created
  17. 17. VS Project FilesKey File DescriptionApp.xaml Handles application lifetimeDisplayForm.xaml Defines the UI for displaying a list item on thephoneEditForm.xaml Defines the UI for editing a list item on thephoneNewForm.xaml Defines the UI for creating a new list item onthe phoneList.xaml Defines the UI for the All Items view on thephoneListViewModel Data source for the All Items viewDisplayFormViewModel Data source for the display item viewEditFormViewModel Data source for the edit item viewNewFormViewModel Data source for the new item viewDataCache Supports data caching and off-line access
  18. 18. Search explainedWhat‟s new in 2013 and how can you use it
  19. 19. Microsoft’s goals for search in SharePoint2013Find what you‟re lookingfor with intelligent resultstailored to youGet answers and takeaction with an experiencethat‟s always a stepaheadBuild smarter/no-codeapplications that can scalefor any need or businessrequirement
  20. 20. Search 2013 – Main improvements• New clean user interface with focus on providingactionable search results• One unified search architecture supported by stronganalytics. Consolidation of FAST and EnterpriseSearch components• Personalized search results based on searchhistory. Full control over ranking, sorting, etc …using query rules• Easier to extend and configure the search userexperience. Rich contextual previews.
  21. 21. Query rules
  22. 22. demoSearch in 2013
  23. 23. Search and CSOM/REST• CSOM• Microsoft.SharePoint.Client.Search.dll or SP.Search.js• KeywordQuery and SearchExecutor• REST API• GET• /_api/search?queryText=„<query>‟var query = new KeyWordQuery(context);query.QueryText = “ComDayBe”;var exec = new SearchExecutor(context);var results = exec.ExecuteQuery(exec);CSOM:var call = $.ajax({url:“http://sp2013/_api/search/query?querytext=„sp2013‟,type: “GET”,dataType: “json”,headers: {Accept: “application/json;odata=verbose”}JavascriptREST:
  24. 24. demoSearch from WP8 with CSOM
  25. 25. Building a Windows 8Search App andWhat‟s new in 2013 and how can you use it
  26. 26. demoSearch from W8 with CSOM
  27. 27. Windows 8 (WinJS) and CSOM• Use separate WinRTComponent• ClientResult is not avalid WinRT parametertype – use arrays• Check that correctcapabilities are enabled• Do not use nestedclassesSimilar implementation with Social onhttp://jopx.blogspot.be/2013/04/building-windows-8-app-for-sharepoint.html
  28. 28. Leverage Windows 8 Search Contract• App Declarations• Package.appxmanifest Declarations Search• SearchPane EventHandlers• Windows.ApplicationModel.Search.SearchPane• QuerySubmitted event• SuggestionsRequestedevent
  29. 29. SharePoint 2013 API Stack
  30. 30. Search REST APIs• _api/search/query• _api/search/postquery• _api/search/suggestionshttp://blogs.msdn.com/b/nadeemis/archive/2012/08/24/sharepoint-2013-search-rest-api.aspx
  31. 31. Summary• Search CSOM and REST APIs allowyou to extend your apps with SP2013search• SP2013 can handle search intentusing query rules• Focus on specific search personasand business scenarios• Check out jopx.blogspot.com for codesamples
  32. 32. Thank you!
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×