Facebook Like Solution in SharePoint Using JavaScript Amie Seisay

Slides:



Advertisements
Similar presentations
SharePoint 2010 Overview Presented by: Oscar Garcia
Advertisements

Bob German Principal Architect Introduction to Cloud Hosted Apps Your apps here!
Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
SharePoint 2010 Client Side Object Model. Agenda Introduction The Problem Client side vs Server Side Client Side Object Model – How it works – What can.
Microsoft SharePoint 2010 technology for Developers
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Solution Architect,Microsoft.
SharePoint Saturday Sponsors Gold Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
Microsoft SharePoint 2013 SharePoint 2013 as a Developer Platform
Thank you SPSKC15 sponsors!. SharePoint 2013 Search Service Application (SSA) Ambar Nirgudkar Software Engineer
Microsoft ® Official Course Introducing Apps for SharePoint SharePoint Practice Microsoft SharePoint 2013.
Creating a SharePoint App with Microsoft Access Services
Fraser Technical Solutions, LLC
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 2013 Technical Preview and published July Introducing.
App development in SharePoint 2013 LIVE Introducing Cloud App Model Cloud-hosted Apps Experiences from the Field.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Michael Atkins. Note:  This is a non-technical overview  Some light technical background is given, to put things in context  Some of the content is.
Hennie Laubscher K2 Brian Farnhill Independent Consultant.
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
The new way to work together SharePoint Products Cloud Server Free.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
First Look Clinic: What’s New for IT Professionals in Microsoft® SharePoint® Server 2013 Sayed Ali (MCTS, MCITP, MCT, MCSA, MCSE )
Teaching End User SharePoint Robert Bogue
Module 8 Configuring and Securing SharePoint Services and Service Applications.
What’s New? – BCS 2013 Brett Lonsdale.  Co-founder of Lightning Tools  One of the hosts on the SharePoint Pod Show  Co-organizer of SharePoint Saturday.
Spicing Up Web Parts Randy Williams SharePoint Hawaii User Group May 11, 2011.
WCM Platform Improvements ECM and Enterprise Metadata Advanced Routing and Document Sets In Place Records Management.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Sponsors Gold Silver Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
Sponsors Gold Silver Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
Online Conference June 17 th and 18 th SharePoint Online Administration with PowerShell.
Project Agenda Project Introduction Project Project Online / Project Server Customizations and Extensibility.
Michael Hofer Senior Consultant Microsoft Corporation.
Welcome to Azure App Services! Amie Seisay
SharePoint Apps and the Architecture of the new Cloud App Model Introducing Cloud App Model Designing Apps SharePoint-hosted Apps Key Learnings.
SharePoint Administrative Communications Planning: Dynamic User Notifications for Upgrades, Migrations, Testing, … PRESENTED BY ROBERT FREEMAN (
Welcome to the Minnesota SharePoint User Group February 13 th, 2013 SharePoint 2013 – Developers Track - Client Side Rendering.
Facebook Like Solution in SharePoint Using JavaScript Amie Seisay
Welcome to Azure App Services! Amie Seisay
Yaroslav Pentsarskyy Involved in SharePoint since 2003 SharePoint MVP (2009- Present) Blog: sharemuch.com.
Back to Basics A Tour of Microsoft SharePoint. Who am I? Kenny Duenke Lead Systems Analyst RGA
Consulting | Solutions | Products | Training Extending Project & Project Server.
Microsoft ® Official Course Module 9 Working with Business Connectivity Services.
Leveraging Web Content Management in SharePoint 2013 Christina Wheeler.
Modern Development Technologies in SharePoint SHAREPOINT SATURDAY OMAHA APRIL, 2016.
Software services delivering SharePoint, Mobile, and Business Intelligence solutions Understanding and implementing the remote provision pattern in SharePoint.
Bob German Principal Architect Future-Proof your SharePoint Customizations: Build 2010 Solutions that become 2013 Apps.
Taking the Red Pill: Working with and Entering the World of SharePoint Development John Huschka Portals and Collaboration Lead, Coldwater Software September.
Course Agenda Deep Dive into the Building Blocks and Services of the SharePoint Platform Module 1: Developing Advanced Workflow Scenarios in Office 365.
Virtual techdays INDIA │ November 2010 SharePoint 2010 – Your one stop shop for all portal requirements Saranya Sriram │ Developer Evangelist, Microsoft.
Converting SharePoint on- premise Apps to Office 365 Jos Auker-Woor M377.
SP Business Suite Deployment Kick-off
Automate Custom Solutions Deployment on Office 365 and Azure
Beyond the BDC\BCS Model
Building Dynamic Applications with the SharePoint Client Object Model
Business Connectivity Services in SharePoint 2010 and Office 2010
SPC Developer 6/25/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
What is SharePoint and why you should care
Microsoft
Code Tax: Programming With The Taxonomy API In SharePoint 2010
Multi-Farm, Cross-Continent SharePoint Architecture
Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010
Practical guide to build Modern Intranet sites with SharePoint Communication Sites Asish Padhy.
SharePoint data access and LINQ to SharePoint
Rich single page applications with SharePoint
Windows Azure Keenan Newton 3-021
Tailor your SharePoint 2013 social layer according to your needs
SharePoint Development
SharePoint Foundation 2010
04 | Apps and SharePoint Chris Johnson | SharePoint Guru
Presentation transcript:

Facebook Like Solution in SharePoint Using JavaScript Amie Seisay

Background...Over 10 Years Experience SharePoint Trainer Developer SharePoint Farm Architect I’m Enthusiastic About… Certifications… Hats I Wear… Lots of JavaScript and CSS! SharePoint 2010 Administration CIW v5 Associate MCTS : Microsoft SharePoint 2010, Configuration ITIL Foundation Macromedia Dreamweaver 8 Certified Technical Trainer

@AmieSeisay Business Problem  An organization wants to encourage employee use of the Intranet with content that will entice people to use it.  Business Translation: We spent money on this system, people need to use it!  Everyone strongly disliked the previous Intranet…failure is not an option this time around.

@AmieSeisay Business Solution  People like to eat! A solution should be developed where employees can post their favorite food truck that regularly stop near the office building.

@AmieSeisay The Solution Should…  Allow anonymous submissions  Allow people to like submissions  Allow admins to see who liked submissions  Show top five rated submissions  Show most recent submissions  Allow people to comment on submissions

@AmieSeisay Technical Limitations  No deployed solution  No developing solutions to a SharePoint server where Visual Studio installed. (SP 2010)  Requestor is unsure of final product. Technical Translation: They will change their minds…a lot!

@AmieSeisay Software Limitations  SharePoint 2010 out-of-the-box  “I Like It” feature: A tag on a user profile tag  Rating feature: 5 star rating system  Discussion Board: Ridiculously hard to customize  SharePoint 2013 out-of-the box  Like feature: Doesn’t show who liked the submission

@AmieSeisay The Solution  Two lists: lookup field to tie lists together  List views: filter list items to show top, most recent, and single submissions along with comments  JavaScript/Client Side Object Model: update list with tally of “Likes” and captures anonymous  JavaScript: auto select lookup value  XSL: Style list data

@AmieSeisay Gotchas!  For the column to capture users who Like a submission  Don’t add a single line of text field; Limited to 255 characters  Do add multiple lines of text field as the column type  Don’t allow people to like submissions more than once  Be sure to give all users at least Contribute permissions  Don’t require pages to be checked out

@AmieSeisay Client Side Object Model (CSOM)  Client object model is used to retrieve, update, and manage data.  SharePoint makes the client object model available in a number of variations:  In SharePoint 2010,  JavaScript Object Model (JSOM) .NET assemblies  Silverlight assemblies  In SharePoint 2013,  All of the above from 2010  REST/OData endpoints  Windows Phone assemblies

@AmieSeisay Client Side Object Model (CSOM)  Client Side proxy objects are located in sp.js  Proxies conduct communication through Client.svc  Client.svc communicates with the Server Object Model  Server Object Model grabs data from the SharePoint content database  The results are then sent back to the client’s browser in JSON

@AmieSeisay Establishing a CSOM Connection  ClientContext  Acts as the proxy between the code (Javascipt/.NET assemblies) and Client.svc (WCF web service)  sp.js needs to load first before ClientContext!  These functions assist with order of loading: executeOrDelayUntilScriptLoaded(functionName, sp.js) SP.SOD.executeFunc('sp.js', 'SP.ClientContext', functionName)

@AmieSeisay CSOM 2010

@AmieSeisay CSOM 2013

@AmieSeisay Flow of CSOM

@AmieSeisay Benefits of CSOM in 2010  Improved security  Does not impact the farm level: solutions do not have to be deployed  Site collection level access  Ease of Development  Designed to be used in client side solutions where SharePoint isn’t installed  Performance  Batch requests and perform all operations asynchronously: minimizes the number of round trips to the server

@AmieSeisay Benefits of CSOM in 2013  REST requests using OData for CRUD operations  _api is a new alias that maps to _vti_bin  _api consolidates CSOM and REST  CSOM is less “chatty” than REST due to batch processing  More APIs:  Publishing  Search  Social  Taxonomy  Workflow  Analytics  Business Data  User Profiles

@AmieSeisay

Resources  Working with the ECMAScript Client Object Model (JSOM) in SharePoint  Using the SharePoint Foundation 2010 Managed Client Object Model  Using JavaScript to Manipulate a List Form Field manipulate-a-list-form-field.aspx  SharePoint 2013 Strategy for SharePoint Client Object Model CSOM and REST  Deep dive into the SharePoint 2013 CSOM API's  SharePoint App best practices using OData and the SharePoint REST API  How to: Complete basic operations using JavaScript library code in SharePoint  SharePoint 2013.NET Server, CSOM, JSOM, and REST API index  Sources for art:  Food Trucks:  Truck art: food-truck/