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 25641

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.

0 votes

Can we use javascript to display attachment filename of a list item?

You can use rest api to get just the name of all the attachments. You need to paste the function in the script tag in your page, and put the html snippet anywhere you wish to show your attachments. …
Swayam Siddha's user avatar
1 vote

Redirect New (+) button of Document Library to new upload form of Sharepoint

To change the default new item form, open the site in SharePoint Designer > go to the library > change the form in the library page. Refer this For the second issue, check if the columns are present …
Swayam Siddha's user avatar
3 votes

CRUD Operations in Sharepoint Online using JavaScript on external site

If you are trying to access sharepoint data from outside of sharepoint, (ie in a .net application / android app etc), then you need to consume the client object model or the web service exposed by sha …
Swayam Siddha's user avatar
1 vote

Non trivial examples of Sharepoint Hosted Apps

This is an awesome example of using sharepoint hosted apps for reasonably complex implementations - Learning Path Manager by Andrew Connel It uses AngularJS + BreezeJS + SP.UI.JS to develop an add-in …
Swayam Siddha's user avatar
2 votes
0 answers
40 views

What are the different ways to consume SharePoint REST using Javascript

I know of two ways, using ajax and using SP.RequestExecutor.js. Are there any other ways. Code snippet and information around performance will be appreciated.
Swayam Siddha's user avatar
0 votes
2 answers
10k views

Issue trying to do POST Operations using REST, Error 402, 405

I am trying to do POST operations such update, create and delete items using rest and javascript. I am getting 402 Error mostly attributed this to having a wrong/corrupt requestdigest value. …
Swayam Siddha's user avatar
2 votes
Accepted

Issue trying to do POST Operations using REST, Error 402, 405

The issue was weirdly around conflict between multiple jQuery Files. The $ pointed to the jQuery Tools code instead of jQuery 1.11.x instead. Hence, (I dont know how but ..) all the $ POST calls got r …
Swayam Siddha's user avatar
2 votes

JS CSOM to redirect to another SharePoint URL

I am not sure this is relevant, but I had done something very similar. I had used SP.UI.ModalDialog. You can add options to it and can have a callback fuction that triggers whenever events occour(eg. …
Swayam Siddha's user avatar
0 votes

Get data from a Sharepoint site for a web application

If you are trying to access sharepoint data from outside of sharepoint, (ie in a .net application / android app etc), then you need to consume the client object model or the web service exposed by sha …
Swayam Siddha's user avatar