Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 111

Javascript is a dynamic computer programming language, most commonly used as part of web browsers, whose implementations allow client-side scripts to interact with the user, control the browser, communicate asynchronously, and alter the document content that is displayed.

2 votes

Create Items via ECMA Script / JavaScript with SP.JS (CSOM)

First hit on a search for "create list item javascript client object model" was: How to: Create, Update, and Delete List Items Using JavaScript
Rob Windsor's user avatar
  • 12.7k
2 votes

Where is MicrosoftAjax.js located/did something just change in SharePoint Online?

SharePoint 2013 (Online and on-prem) added a version number to the _layouts path. Try /_layouts/15/MicrosoftAjax.js
Rob Windsor's user avatar
  • 12.7k
1 vote

get current user phone number using javascript sharepoint 2010

Checkout the documentation for SPServices.SPGetCurrentUser The name of the field you want is Work Phone, not Phone Number. As a side point, you should not be making three calls to SPServices to get …
Rob Windsor's user avatar
  • 12.7k
1 vote

Include JavaScript in a feature

It depends on the scope you want. If you want your script file to be scoped to the farm, deploy it to a folder under the _layouts folder (the _layouts folder itself should be reserved for files from …
Rob Windsor's user avatar
  • 12.7k
1 vote

How to get Item name and extension from itemID and listID in javascript client object model

If you want more information about the file associated with the list item you can get access to the SP.File object and use it. var file; function getFileName() { var clientContext = SP.ClientCon …
Rob Windsor's user avatar
  • 12.7k
1 vote

The field 'EventDate' of type 'DateTime' cannot be used in the query filter expression

You actually have the answer in your question. In your update you show: /_vti_bin/ListData.svc/Calendar?$filter=StartTime+ge+datetime'2011-11-23' Notice the string with the date is prefaced by date …
Rob Windsor's user avatar
  • 12.7k
1 vote

Using CSOM to get list item count for multiple lists

You need to add the ItemCount field to the Include statement: var context = SP.ClientContext.get_current(); var lists = context.get_web().get_lists(); context.load(lists, "Include(Title, ItemCount)" …
Rob Windsor's user avatar
  • 12.7k
1 vote

Can sp.js be used in 2007?

If you're going to do so from JavaScript I highly recommend you use Marc Anderson's SPServices jQuery plug-in. You said you were looking to add a web part to a page. …
Rob Windsor's user avatar
  • 12.7k
0 votes

How to get JSON column names in Javascript

The query _api/Web/Lists(guid'46f26a73-0079-4662-ae99-7f4be03e26a4')/Fields will give you the fields in the list. From the results you can get both the display name and the internal name of all the fi …
Rob Windsor's user avatar
  • 12.7k
3 votes

JSOM List Item Field Values

Seeing what the raw data looks like should help you understand how it's represented in JavaScript. …
Rob Windsor's user avatar
  • 12.7k
0 votes

Using Javascript in SharePoint

Here are a couple resources you may find useful: The SharePoint & jQuery Guide SharePoint Client-Side Development with the JSOM and jQuery
Rob Windsor's user avatar
  • 12.7k
1 vote

Can we create Excel file using c#?

Yes you can. You can use the types in the System.Packaging namespace to create Word, Excel or PowerPoint documents. Just using the .NET types is pretty messy so Microsoft created the OpenXML SDK to …
Rob Windsor's user avatar
  • 12.7k
0 votes

Copying files AND folders via REST/Javascript

CopyTo does not appear to be supported for folders in the REST API. See the Folder Methods section of Files and folders REST API reference
Rob Windsor's user avatar
  • 12.7k
0 votes
Accepted

Create an app from JavaScript file and Item List

You could create a Solution Package (Farm or Sandbox) in Visual Studio that uses Collaborative Application Markup Language (CAML) to create the List and a Module to provision the JavaScript file into a … This project would include a Feature that, when activated, would add the list and provision the JavaScript file. …
Rob Windsor's user avatar
  • 12.7k
0 votes

404 Missing jQuery in _layouts folder

This folder is used to store files and templates (including JavaScript files) that are used across the SharePoint farm. … I cover how to deploy and reference JavaScript files in my JavaScript and jQuery for SharePoint Developers conference session which I've recorded and uploaded to YouTube. …
Rob Windsor's user avatar
  • 12.7k

15 30 50 per page