From the course: SharePoint Advanced: Enhancing Functionality with JavaScript

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Create information

Create information

From the course: SharePoint Advanced: Enhancing Functionality with JavaScript

Start my 1-month free trial

Create information

- [Narrator] Creating information or creating additional functionality from existing information is another place where SharePoint already uses JavaScript and another place where you have some opportunities. Let's take a look at a good example. Your normal everyday task list. As you know, task lists come with simple timelines as part of the standard view. But how does that get there? How does SharePoint know to take the project dates from the list data and extrapolate timeline visuals? Okay, so you already know the answer. JavaScript is running in the background. Look at all this code that's in here. Let's take a look at a different example. Now here's some simple code that I have open in Visual Studio provided by my friend Lucas Longo from LinkedIn. Not a lot to it, right? Now how can we use this? Well, I want to put this code onto a page in SharePoint so how do I do that? For starters, I need a web part page to add it to. I've got this test page already set up so we'll use it. Now…

Contents