Listing SkyDrive Folders and Files
Let me start with the basics; let me explain how you can get a list of the files and the folders on a user’s SkyDrive (see Figure 14.16).
I’ll display the list of SkyDrive folders and files with a ListView
control. The HTML page in Listing 14.9 contains a Template
and a ListView
control. The template displays the name and type of each item retrieved from SkyDrive.
<div id="tmplFile" data-win-control="WinJS.Binding.Template"> <div class="fileItem"> Name:
Get Windows® 8.1 Apps with HTML5 and JavaScript Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.