This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var listTitle = "Requests"; //list title | |
var itemId = 1; //list item id | |
var targetFolderUrl = "/Lists/Requests/Archive"; //target folder server relative url | |
var ctx = SP.ClientContext.get_current(); | |
var list = ctx.get_web().get_lists().getByTitle(listTitle); | |
var item = list.getItemById(itemId); | |
ctx.load(item,['FileRef','FileDirRef']); | |
ctx.executeQueryAsync( | |
function(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="http://cdnjs.cloudflare.com/ajax/libs/processing.js/1.4.1/processing-api.min.js"></script><html> | |
<!-- | |
Created using jsbin.com | |
Source can be edited via http://jsbin.com/pdfjs-helloworld-v2/8598/edit | |
--> | |
<body> | |
<canvas id="the-canvas" style="border:1px solid black"></canvas> | |
<input id='pdf' type='file'/> | |
<!-- Use latest PDF.js build from Github --> |