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

on

  • 1,955 views

 

Statistics

Views

Total Views
1,955
Views on SlideShare
1,297
Embed Views
658

Actions

Likes
0
Downloads
12
Comments
0

44 Embeds 658

http://jopx.blogspot.com 255
http://jopx.blogspot.be 101
http://windowphonevn.blogspot.com 61
http://jopx.blogspot.nl 23
http://jopx.blogspot.co.uk 20
http://cloud.feedly.com 19
http://jopx.blogspot.in 19
http://jopx.blogspot.ru 19
http://4153940003946581354_4faab415fd2df81ff6e4d335c60a2f06feff9dd7.blogspot.in 11
http://jopx.blogspot.ca 10
http://jopx.blogspot.de 10
http://www.feedly.com 10
http://jopx.blogspot.com.au 9
http://blogs.realdolmen.com 9
http://jopx.blogspot.fr 9
http://jopx.blogspot.com.br 7
http://reader.aol.com 7
http://jopx.blogspot.ch 6
http://feeds.feedburner.com 6
http://www.newsblur.com 5
http://jopx.blogspot.co.nz 5
http://jopx.blogspot.fi 5
http://newsblur.com 3
http://jopx.blogspot.it 3
http://jopx.blogspot.co.at 3
http://jopx.blogspot.mx 2
http://jopx.blogspot.ie 2
http://jopx.blogspot.co.il 2
http://jopx.blogspot.dk 2
http://windowphonevn.blogspot.in 1
http://jopx.blogspot.ae 1
http://windowphonevn.blogspot.de 1
http://windowphonevn.blogspot.fr 1
http://jopx.blogspot.se 1
http://jopx.blogspot.ro 1
http://jopx.blogspot.sg 1
https://twitter.com 1
http://blog.answermyquery.com 1
http://jopx.blogspot.hk 1
http://jopx.blogspot.no 1
http://jopx.blogspot.com.es 1
http://jopx.blogspot.pt 1
http://prlog.ru 1
http://windowphonevn.blogspot.nl 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

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 Presentation Transcript

  • #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 Information WorkerUser Group – www.biwug.be• Blog: http://jopx.blogspot.com• E-mail: joris.poelmans@gmail.com• Twitter: @jopxtwits• www.slideshare.net/jplq631
  • 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 informationright from within Office and SharePoint
  • 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 usepush notificationsand geolocationfield
  • Security• Supported authentication• Form based authentication• Office 365/SP Online• Basic• Cross firewall connectivity• Unified Access Gateway (UAG) SP3• Alternate Access Mappings
  • Phone development basicsHow to get started – the tools and environments
  • 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
  • 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
  • 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
  • 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
  • demoWP8 SharePoint Apps
  • Phone Developer Experience• Windows PhoneSharePoint ListApplication• Launches a wizard• Select List• Select View• Select Operations• Select Fields• Project is created
  • 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
  • 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 answers and takeaction with an experiencethat‟s always a stepaheadBuild smarter/no-codeapplications that can scalefor any need or businessrequirement
  • 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.
  • Query rules
  • demoSearch in 2013
  • 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:
  • 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• 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
  • Leverage Windows 8 Search Contract• App Declarations• Package.appxmanifest Declarations Search• SearchPane EventHandlers• Windows.ApplicationModel.Search.SearchPane• QuerySubmitted event• SuggestionsRequestedevent
  • SharePoint 2013 API Stack
  • 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
  • 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
  • Thank you!