Custom SharePoint Solutions with HTML and JavaScript shows you how to build and customize SharePoint solutions to suit a wide range of business needs. You don't need a background in Microsoft technologies; you’ll learn how to rapidly build and customize sites entirely on the front end, starting with out-of-the-box features and extending them with HTML and JavaScript code.
The book starts with an introduction to working with SharePoint on the front end, and how this can help you avoid common pitfalls associated with deploying custom code on the server. You’ll start by using SharePoint’s browser-based tools to place and manipulate out-of-the-box web parts on a page. Then learn to inject some simple HTML and JavaScript to manipulate these web parts, and use JSLink to rapidly style and manipulate data in the List web part. You'll also see examples of how to build your own custom web parts using HTML, JavaScript and CSS.
For those who want to dive deeper into JavaScript on SharePoint, chapters cover working directly with built-in JavaScript methods and properties and the JavaScript object model (JSOM), and how to work with the powerful new REST API, which gives you the ultimate flexibility over what you do with your data.
Whatever your background, whether it's web development, working with SharePoint on the server side, or if you're a SharePoint user looking to learn new skills, Custom SharePoint Solutions with HTML and JavaScript will show you how to get what you want from SharePoint, quickly and reliably.
What youll learn
- Understand the advantages of working with SharePoint on the front end, using HTML and JavaScript.
- Use the Content Editor and Script Editor web parts to customize your front end directly in the browser.
- Work with SharePoint's built-in JavaScript methods and properties and the JavaScript object model.
- Access and manipulate data using the powerful REST API.
- Build your own custom web parts.
- Use JSLink to style and manipulate list data.
Who this book is for
Web or front end developers, .NET developers, and SharePoint users.
No prior JavaScript experience is needed for many of the OOTB solutions, but a little is desirable if you want to make the most of what the customizations offer. Experienced JavaScript developers will additionally benefit from the deep dives into JavaScript features in Chapters 4-6.