[Solved] How to upload (multiple) files to SharePoint Online using CSOM?

I tested the below code in my local environment; it works fine. <div> <asp:FileUpload ID=”upldGradeReport” runat=”server” /> <asp:FileUpload ID=”upldExpenseReceipt” runat=”server” /> <asp:Button ID=”btnSubmitForm” OnClick=”SubmitButton_Click” runat=”server” Text=”Submit” /> </div> protected void SubmitButton_Click(object sender, EventArgs e) { sendToSharePoint(); Response.BufferOutput = true; Response.Redirect(“Submission.aspx”); } protected void sendToSharePoint() { try { string siteUrl = “https://tenant.sharepoint.com/sites/lee”; ClientContext clientContext = new … Read more

[Solved] unidentified javascript function [closed]

$(document).ready(function() means that the code that follows, will start as soon as the page has loaded. $(“#pgtitle”).html(“Customer Service Feedback”); simply passes the value Customer Service Feedback to the HTML element pgtitle. if you look on the page for the pgtitle element, I’m sure you will see it contains the text Customer Service Feedback ! 🙂 … Read more

[Solved] how to get data from a sharepoint list using java script and jquery? [closed]

Sharepoint 2010 use Client Object Model http://blogs.msdn.com/b/vesku/archive/2010/02/25/how-to-sharepoint-2010-js-client-object-model-and-ui-advancements.aspx http://www.codeproject.com/Articles/60348/SharePoint-2010-Client-Object-Model-for-JavaScript Sharepoint 2007 use the below code <script language=”javascript” type=”text/javascript” src=”https://stackoverflow.com/questions/10004689/jquery-1.4.3.min.js”> </script> <script language=”javascript” src=”jquery.SPServices-0.7.0.min.js”></script> <script type=”text/javascript”> $(document).ready(function () { $().SPServices({ operation: “GetListItems”, async: false, listName: “[LIST NAME]”, CAMLViewFields: “<ViewFields><FieldRef Name=\”Status\” /><FieldRef Name=\”COLUMN NAME\” /><FieldRef Name=\”COLUMN NAME\” /></ViewFields>”, completefunc: function (xData, Status) { $(xData.responseXML).SPFilterNode(“z:row”).each(function () { var status … Read more