Microsoft ® Official Course Customizing User Interface Elements Microsoft SharePoint 2013 SharePoint Practice.

Slides:



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

Microsoft Dynamics® AX 2012
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Microsoft ® Office Access ® 2007 Training Easy Access with templates I: Create a database susanguggenheim-is.com presents:
Web Page Training Summer 2014 Presented by: Mountain Brook Schools Tech Team.
Microsoft SharePoint 2010 technology for Developers
LH SharePoint SIG - Custom Actions. Custom Actions A custom action represents a Server ribbon, menu, or link customization that a user can see. Custom.
Microsoft Excel 2013 An Overview. Environment Quick Access Toolbar Customizable toolbar for one-click shortcuts Tabs Backstage View Tools located outside.
Word Lesson 8 Increasing Efficiency Using Word
© by Pearson Education, Inc. All Rights Reserved.
 2006 Pearson Education, Inc. All rights reserved Introduction to the Visual C# 2005 Express Edition IDE.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Microsoft SharePoint 2013 SharePoint 2013 as a Developer Platform
Microsoft ® Official Course Developing Remote-hosted Apps for SharePoint Microsoft SharePoint 2013 SharePoint Practice.
Microsoft ® Official Course Developing Optimized Internet Sites Microsoft SharePoint 2013 SharePoint Practice.
Microsoft ® Official Course Introducing Apps for SharePoint SharePoint Practice Microsoft SharePoint 2013.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2006 Microsoft Corporation.
Microsoft ® Office SharePoint ® Server 2007 Training SharePoint calendars I: Make the most of your team calendar Bellwood-Antis School District presents:
Module 3 Productivity Programs Common Features and Commands Microsoft Office 2007.
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
Before you begin If a yellow security bar appears at the top of the screen in PowerPoint, click Enable Editing. You need PowerPoint 2010 to view this presentation.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Customizing the SharePoint 2010 Ribbon Presented By: Ryan McIntyre.
© 2011 Delmar, Cengage Learning Chapter 2 Developing a Web Page.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Win8 on Intel Programming Course Modern UI : Features Cédric Andreolli Intel Software.
Chapter 3 Dreamweaver: Part I The Web Warrior Guide to Web Design Technologies.
Chapter 5 Java Script And Forms JavaScript, Third Edition.
INTRODUCTION TO FRONTPAGE. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features Features  Starting Front Page Starting Front Page  Components.
Lesson 1: Getting Started
IE 411/511: Visual Programming for Industrial Applications
Virtual techdays INDIA │ Nov 2010 Developing Office Biz Application using WPF on Windows 7 Sarang Datye │ Sr. Consultant, Microsoft Sridhar Poduri.
Requirements Information and data which need to be displayed or accessible to the user Sitemapping (Site Map) Flow Chart models of site structure displaying.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
Intro to Dreamweaver Web Design Section 7-1 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 2 Welcome Application Introducing the Visual Basic 2008 Express Edition IDE.
Microsoft Office Access 2003 Số tiết: 30 tiết lý thuyết 60 tiết thực hành Giáo viên: Từ thị Xuân Hiền.
Word Lesson 17 Customizing Settings Microsoft Office 2010 Advanced Cable / Morrison 1.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
Presented by Graduate Design Group 2 Meredith, Jennifer, Cammay and Diane.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 1 1 Microsoft Office FrontPage 2003 Tutorial 1 – Creating a Web Site.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
Module 10 Administering and Configuring SharePoint Search.
OV Copyright © 2007 Element K Content LLC. All rights reserved. Microsoft Office Outlook Page Contacts Page Calendar Page.
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
Microsoft ® Official Course Structuring and Publishing Websites for All Users Microsoft SharePoint 2013 SharePoint Practice.
Microsoft ® Official Course Developing a Publishing Site for Web Content Microsoft SharePoint 2013 SharePoint Practice.
XP Tutorial 7 Creating a Flash Web Site. XP New Perspectives on Macromedia Flash 82 Objectives Plan and create a Flash Web site Create a Flash template.
Lesson 1 - Understanding the Word Window and Creating a New Document
Preface IIntroduction Objectives I-2 Course Overview I-3 1Oracle Application Development Framework Objectives 1-2 J2EE Platform 1-3 Benefits of the J2EE.
Microsoft ® Official Course Designing and Managing Features and Solutions Microsoft SharePoint 2013 SharePoint Practice.
Microsoft ® Official Course Implementing Enterprise Content Management Microsoft SharePoint 2013 SharePoint Practice.
UNDERSTANDING YOUR OPTIONS FOR CLIENT-SIDE DEVELOPMENT IN OFFICE 365 Mark Rackley
05 | Integrating JavaScript and MVC 4 Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek.
Autodesk Inventor 2011 Essentials Plus Instructor’s Name.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Microsoft ® Official Course Module 9 Working with Business Connectivity Services.
Leveraging Web Content Management in SharePoint 2013 Christina Wheeler.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
Wes Preston DEV 202. Audience: Info Workers, Dev A deeper dive into use-cases where client-side rendering (CSR) and SharePoint’s JS Link property can.
COMP 143 Web Development with Adobe Dreamweaver CC.
DEV103 – Web Part Transformers – More than meets the eye By: D’arce Hess.
MicrosoftTM SharePoint Content Management SystemTutorial
Automating Business Processes
Module 13: Creating Data Visualizations with Power View
07 | Workflows Chris Johnson | SharePoint Guru
Kanban Task Manager SharePoint Editions ‒ Introduction
Presentation transcript:

Microsoft ® Official Course Customizing User Interface Elements Microsoft SharePoint 2013 SharePoint Practice

Module Overview Working with Custom Actions Using Client-Side User Interface Components Customizing the SharePoint List User Interface

Lesson 1: Working with Custom Actions Introduction to Custom Actions Using the CustomAction Element Customizing the Ribbon Demonstration: Customizing the Ribbon Customizing Other SharePoint Objects Using the Custom Action Templates Deploying Custom Actions

Introduction to Custom Actions You can create custom actions for: The SharePoint ribbon The Site settings menu Navigational menus List item menus You can deploy custom actions as part of a Feature in a: Sandbox solution Farm solution App for SharePoint

Using the CustomAction Element <CustomAction Id="Microsoft.SharePointStandardMenu.SiteActions.Contact " GroupId="SiteActions" Location="Microsoft.SharePoint.StandardMenu" Title="Contact" Description="Contact page" >

Customizing the Ribbon Using the CustomAction element to customize the ribbon: CommandUIDefinitions element CommandUIHandlers element Laying out the controls: Group layouts Scaling

Demonstration: Customizing the Ribbon In this demonstration, you will see how to add a custom action Library tab with a custom group and two custom buttons to a document page.

Demonstration: Customizing the Ribbon

Customizing Other SharePoint Objects Edit Control Block Settings menu Site Settings page

Using the Custom Action Templates Menu Item Custom Action: Location attribute set to "EditControlBlock" Set UrlAction element to required page Ribbon Custom Action: Location attribute set to "CommandUI.Ribbon" Modify CommandUIDefinitions element as required

Deploying Custom Actions In a solution: Deploy directly from Visual Studio to the local SharePoint site Deploy to an alternative site by creating a SharePoint package In an app for SharePoint: Deploy directly from Visual Studio to the local SharePoint site Deploy to an alternative site or store by creating an app package

Lesson 2: Using Client-Side User Interface Components Displaying Status Bar Messages Demonstration: Displaying Status Bar Messages Displaying Notifications Demonstration: Displaying Notifications Using SharePoint Dialog Boxes Displaying Callouts SPAnimation Library Using Focus on Content

Displaying Status Bar Messages Use methods of the SP.UI.Status object: addStatus updateStatus setStatusPriColor removeStatus removeAllStatus function showStatusMessage () { strStatusID = SP.UI.Status.addStatus("Info:", "Message", true); SP.UI.Status.setStatusPriColor(strStatusID, "yellow"); }

Demonstration: Displaying Status Bar Messages In this demonstration, you will see how to use the methods of the SP.UI.Status object to display and customize a message to the user.

Displaying Notifications Use methods of the SP.UI.Notify object: addNotification removeNotification function showNotification(){ SP.UI.Notify.addNotification("Notification…", true) }

Demonstration: Displaying Notifications In this demonstration, you will see how to use the methods of the SP.UI.Notify object to display notifications to the user.

Using SharePoint Dialog Boxes Displaying a modal dialog box: var NewDialog = new SP.UI.DialogOptions(); newDialog.html = htmlElement; SP.UI.ModalDialog.showModalDialog(newDialog) Displaying a wait screen: var waitDialog = SP.UI.ModalDialog.showWaitScreenWithNoClose( 'Loading page', 'Please wait…'); waitDialog.close();

Displaying Callouts SP.SOD.executeFunc("callout.js"), "Callout", DisplayCallout(){}); function DisplayCallout(){ var calloutElement = document.getElementById('DocInfo'); var docInfoCalloutOptions = new CalloutOptions(); docInfoCalloutOptions.ID = 'docinfocallout'; docInfoCalloutOptions.launchPoint = calloutElement; docInfoCalloutOptions.beakOrientation = 'topBottom'); docInfoCalloutOptions.content = 'Information to display to the user'; CalloutManager.createNew(docInfoCalloutOptions); }

SPAnimation Library BasicAnimator class function strikeThroughText(){ var actionedItem = document.getElementById("Item1"); SPAnimationUtility.BasicAnimator.StrikeThrough( actionedItem, null, null, null); SPAnimationUtility.BasicAnimator.FadeOut( actionedItem, null, null); }

Using Focus on Content

Lab A: Using the Edit Control Block to Launch an App Exercise 1: Configuring an App to Display Customer Orders Exercise 2: Use a Custom Action to Launch an App

Lab Scenario Contoso maintains a list of customers in a Contacts list. The sales team at Contoso would like to be able to view a summary of recent sales activities for each customer from the Contacts list. You plan to implement this functionality as an app for SharePoint. First, you will develop a SharePoint-hosted app that displays the order history for a selected customer. You will then develop a custom action that launches the app from the Edit Control Block for a Contacts list item. The custom action must provide the app with the URL of the selected list item. It must also display the app page as a dialog box.

Lesson 3: Customizing the SharePoint List User Interface Introduction to Client-Side Rendering Using Client-Side Rendering to Customize the Default List View Using Client-Side Rendering to Create Custom Views Using Client-Side Rendering to Customize List Forms Using Client-Side Rendering to Apply Conditional Formatting Demonstration: Applying Conditional Formatting Using jQuery UI In Client-Side Rendering Code

Introduction to Client-Side Rendering Advantages of client-side rendering over using XSLT: Performance Flexibility Standard development language Two high-level tasks: Create a JavaScript code file Link the JavaScript code file to the list view

Using Client-Side Rendering to Customize the Default List View Formatting list fields: (function () { var overrideCtx = {}; overrideCtx.Templates = {}; overrideCtx.Templates.Fields = {'Description' : { 'View' : ' '} }; SPClientTemplates.TemplateManager.RegisterTemplateOverrides(overrid eCtx); })(); Linking the JavaScript code to the list view: ~site/Scripts/ItalicCustomization.js

Using Client-Side Rendering to Create Custom Views Creating the View element:... ~site/Scripts/ItalicCustomization.js... Linking the function to the new view: (function () {... overrideCtx.BaseViewID = 2; overrideCtx.ListTemplateType = 10001;... })();

Using Client-Side Rendering to Customize List Forms Creating the View element: Linking the function to the new view: (function () {... overrideCtx.BaseViewID = "NewForm"; overrideCtx.ListTemplateType = 10000;... })();

Using Client-Side Rendering to Apply Conditional Formatting function progressBar(ctx) { var percentage = ctx.CurrentItem.PercentComplete; var percentageNr = ctx.CurrentItem.PercentComplete.replace(" %", ""); var duedate = new Date(ctx.CurrentItem.DueDate); var color = getColor(percentageNr,duedate); return " " + percentage + ""; }

Demonstration: Applying Conditional Formatting In this demonstration, you will see how to apply conditional formatting to a list view.

Demonstration: Applying Conditional Formatting

Using jQuery UI In Client-Side Rendering Code 1. Download the jQuery UI files 2. Add the jQuery UI files to your project 3. Add the jQuery UI files to your pages 4. Create a JavaScript code file that uses jQuery UI 5. Modify the JSLink element to reference your code file

Lab B: Using jQuery to Customize the SharePoint List User Interface Exercise 1: Creating a Custom List View

Lab Scenario You have a list of customers with details about each one. When this list uses the default list view, it is not easy to read the information and you can foresee that as more data is added to the list, the worse the problem will become. You decide to use the accordion functionality available in jQuery UI to display the list and use the style sheet to apply custom styling to the list.

Module Review and Takeaways Review Question(s)