Tagged Questions

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.

learn more… | top users | synonyms (2)

0
votes
1answer
13 views

get_fieldValues of radio button javascript?

I need to get fieldValues of radio buttons i have successful got it from textareas and from dropdown To get it for textareas and dropdown i used this way: ...
3
votes
1answer
30 views

Combine REST query “GetItems” action with OData $filter parameter

I'm able to call GetItems through REST by using an example by Erik C. Jordan. Now I'm trying to combine this with a simple OData $filter parameter. I have a REST query like this (jQuery on SharePoint ...
2
votes
1answer
51 views

Get url of ALL lists on a SharePoint 2013 site using JSOM

I'm trying to retrieve the url for all lists on the current SharePoint site. I've managed to get the title for each list, I've also found resources explaining how to get the url of one specific list. ...
1
vote
1answer
40 views

Add a sequence to list SharePoint 2010

I have a problem of sequence in the list SharePoint 2010. I need a column Sequence with format 000001. This column is in type of single text. I think the best way is customizing a workflow, but I ...
1
vote
1answer
38 views

Load list item to dispaly get_fieldValues?

I'm using SharePoint online and have a SharePoint-hosted app. I have a page with a question form that send data in to Sharepoint using listItem.set_item('GEN_1_blabla', $('#GEN_1').val()); Now in ...
0
votes
1answer
19 views

Get particular SharePoint folder permission programatically using api

I am using php curl for retrieving SharePoint folders and I am able to list all the folders. However, I would like to get the permission of each folders, so that I can check the writable permissions ...
1
vote
0answers
24 views

Obtain FedAuth Cookie with RST token

I've got a phone gap application which should contact ADFS with a RST to obtain a SAML token then should pass this token to STS to obtain a FedAuth Cookie which is finally used in the header of REST ...
1
vote
2answers
102 views

Client-side rendering (JS Link) status changes in sharepoint list

In SharePoint List I need help on below point. Can any one help how to archive this using Client-side rendering (JS Link) in SharePoint :- If Balance Qty is not 0 then it should be in RED colour ...
0
votes
0answers
16 views

Dialog to dispaly items with own style

I have a Sharepoint-hosted app. The app is a survey page were users answer questions and hit a save button to send the answers to a sharepoint list. After that they going to the list and want to ...
1
vote
2answers
34 views

Open Modal Dialog on Title click in list?

I have a Sharepoint-hosted app. When you click on "No Title" in a list you get a new window where the items is being showed. What I want is, when user click on "No Title" in the list it should pop up ...
1
vote
1answer
28 views

ClientPeoplePicker is underfined

I'm trying to get ClientPeoplePicker control with following code. function setCPP(userAccountName, controlName) { var peoplePickerDiv = $("[id$='ClientPeoplePicker'][title='" + controlName + ...
1
vote
0answers
18 views

Determining Users on SharePoint website with API?

Was thinking about building an app part that enabled some level of in-app messaging to other users currently on the site (probably via use of websockets connections to each other). Is there any way ...
1
vote
1answer
36 views

OpenPopUpPage works for Chrome but not IE

I am at a lost why this works in Chrome but not IE. This is a link within a web part for SP 2010. <a ...
1
vote
1answer
33 views

How to send a document from a document library as an attachment in an email?

I need to add a column to a document library that will have the text "Send in email" for each document in the library. If a user clicks on it, it should open a new Outlook email and automatically add ...
1
vote
2answers
45 views

How do you use JS Link with Pages?

I'm trying to make a JS Link script that will work with my site's Pages list. Basically I want to display a simple list of page titles. I'm using the Pages Web Part (Web Part > Apps > Pages). var ...
2
votes
2answers
67 views

In 2013 using JavaScript how do you empty a people picker field?

In SharePoint 2013, I want to delete all existing values in a people picker field using javascript or jquery. Simply using .removeAttr('value') or .val("") does not work.
0
votes
0answers
12 views

Update Custom Field in Task Level Project Server using JSOM (PS.js)

Does anyone have javascript which updates the task level custom field? I just have the code with C#. I am trying to convert this code (below) to javascript and use it. DraftProject projCheckedOut = ...
1
vote
2answers
37 views

How to save checked value/state from radio button in an Html page form to custom list in sharepoint online 2013

I have a working loop that finds all the input tags in a Html form. My problem is that it wont save what state the radio button are in to the custom list in SharePoint online. I have other loops for ...
1
vote
1answer
39 views

How to open SharePoint list row in own HTML page JavaScript?

I have a SharePoint-Hosted app with a survey with textareas and radio buttons. The textareas and radio buttons are connected with columns in a SharePoint list so the user is filling in all boxes and ...
1
vote
1answer
34 views

Run js after display template has loaded/rendered content

I have a javascript file that I want to run after my display template has rendered. I have added it to my display template like so : <script> $includeLanguageScript(this.url, ...
1
vote
1answer
28 views

Return to last page visited

I have Sharepoint in Office 365. The site is set like this: Home>Training>Training Request Form. I have it set so that, on submit, the Training Request Form displays a thank you and a link that ...
1
vote
1answer
39 views

Custom .aspx as modal dialog not working: 'SP' is undefined

SharePoint 2013 server... I have created a custom aspx page for use as a modal dialog. I want this pop up to collect field values and return them to the form the pop up was called from. The pop up ...
0
votes
2answers
22 views

How are Deferreds different from callbacks

I have following piece of SharePoint JavaScript client object code which works perfectly without throwing any error. $(document).ready(function () { //don't exectute any jsom until sp.js ...
1
vote
1answer
30 views

Update Custom Field in Task Project Online

Hello I found this article: Updating Project Server custom fields via JSOM. This article explain about how to update custom field value in Project. In my case, I am trying to update custom field ...
0
votes
0answers
7 views

Global search and page search, stop search item showing in global when in page

I have a global search and a page search for a site in my site collection. When I search with page search the item I search also appears in the global search box when on the search results page Is ...
0
votes
1answer
32 views

Send data from textarea to SharePoint list with javascript

I have created a SharePoint app for a form with textarea boxes. Now I want to send all data that I have written in the textarea to SharePoint with javascript. Every textarea have a unique ID and I ...
0
votes
1answer
60 views

Error posting a REST request via cross domain library - Cannot handle Taxonomy Field Value

I have an app that updates a list item then starts a workflow on it. It was working fine, then stopped working the other day. It has started throwing an error regarding Taxonomy fields, but I am not ...
0
votes
1answer
35 views

SharePoint 2013 App Office 365 copy list item

I try to build an SharePoint hosted app, have started with a custom menu action. When I choose it I want to copy the selected item and automatically change some metadata for it. Problem is I can't ...
0
votes
0answers
11 views

100% Height IE issue in Sharepoint 2013

I'm currently building a site using Sharepoint 2013 and I've now come to the cross browser testing stage... Some of my divs have been set to height: 100%;, these divs don't display correctly in IE, ...
0
votes
0answers
15 views

Sharepoint 2013 : Create a directory structure on a domain's file server

I would like to implement a HTML form in a SharePoint 2013 page, which can create a directory structure (or copy an existing one). The main issue is that the directory structure should be ...
0
votes
1answer
14 views

This list is currently being managed by Project Web App, and cannot be edited directly

I got this error when trying to update the Tasks: {"error":{"code":"-2130575223, Microsoft.SharePoint.SPException","message":{"lang":"en-US","value":"This list is currently being managed by ...
1
vote
2answers
47 views

how to create a dependent value list using javascript validation in sharepoint designer 2013

If the user chooses the first choice from column A, he sees in column B the choice 1,2,3. If the user chooses the second choice from column A, he sees in column B the choice 4,5. Conditions: 1.I dont ...
0
votes
0answers
40 views

How do I display Sharepoint 2010 list items within an external (intranet) HTML static web Page

Overview: I'm currently able to display Sharepoint 2010 List items from 3 Lists within an external HTML page on our company intranet. I use a JQuery script that pulls the RSS feed for each list. This ...
1
vote
0answers
20 views

Cannot update allowMembersEditMembership

I can't seem to update the setting on a group to allow members to edit members. This is my code: function setGroupsMembershipEditingMode(uri) { var context = new SP.ClientContext(appweburl); var ...
3
votes
1answer
47 views

Click anywhere in data view group by for expand/collapse

I'm trying to get the functionality of being able to click anywhere in the group by header element to expand and collapse the group. I have gotten close where I can click anywhere in the element ...
0
votes
2answers
36 views

Accessing a SharePoint 2013 checkbox with JavaScript?

It seems the way a checkbox renders in SharePoint 2013 server has changed from the way it was rendered in 2010. When I view the source through the browser I see... <!-- FieldName="MyCheckboxes" ...
0
votes
0answers
13 views

Conditional formatting in display template in sharepoint 2013

I have a Content Search Web Part (CSWP) that lists two different content-types from a different application. I would really like to be able to make the CSWP show content-type A in green and ...
0
votes
1answer
27 views

error: The collection has not been initialized

I get this error error: The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested. it has a problem in ...
1
vote
1answer
30 views

How to write a WCF Service for SharePoint 2013 hosted App?

I've deployed a WCF Service in SharePoint. I am able to retrieve data from it using URL: http://nit-hv8-itr4:1111/_vti_bin/PresidentsService.svc/GetAllPresidents The problem occurs when I try to ...
0
votes
0answers
9 views

Uncaught Reference error:InitImgLibView not defined

I have a visual webpart solution.A picture library is there whose view i have modified by taking newsletter as a style.. I have written a code in javascript that will allow only image files to get ...
0
votes
1answer
50 views

CAML query to ignore folders

I am searching my list but the list is in folders. How can I use a query to ignore the folders and get the whole list so I can search it. I am using sharepoint 2013 and javascript. I want to get all ...
0
votes
1answer
17 views

How to exctract filtered items from SharePoint List to Excel

I'm using Javascript and AngularJS to get all data from a SharePoint list in JSON and displayed it into a table. User can sort it, filtered it and etc. There is a really nice paggination. Everything ...
0
votes
0answers
16 views

Metadata gets over written by SP.File.copyTo

I have some javascript that copies a selection of files to a temp lib for processing, this library has a custom content type set, but I have also added a column to the library as well so that I am ...
0
votes
0answers
42 views

Loop through array and update metadata on files using relative URL only

I've got a script that combines JavaScript, jQuery, and SPServices to build an array of documents, copy each file or subfolder to an alternate location, then update the original file to indicate it's ...
0
votes
0answers
21 views

How to highlight Radio button text in survey list sharepoint 2010

I have the below Jquery script to highlight a text in the Survey list sharepoint 2010. It is working fine for custom list but not for Survey list. Can you please help me . Below is the script and ...
1
vote
1answer
75 views

CRUD Tasks using Javascript via REST OData

I've looked this post to build CRUD process using Javascript via REST OData. I've have managed it for Risks and Issues list. But, I haven't succeeded for Tasks item. What's the difference between ...
0
votes
0answers
13 views

closing parent page radwindow from child user control

I have a parent page with I have a child page with the UploadFileUC user control. which has close button. how can i close my RadWindow from the child page using my radbutton using ...
-1
votes
2answers
36 views

What is managed code. Is javascript a managed code?

What is managed code. Is Java Script a managed code?
1
vote
2answers
58 views

Javascript always failing

I am busy writing some javascript to take a list of selected documents and do some processing on a list with each document in Office365. I am getting a strange error when the code tries to load the ...
3
votes
2answers
89 views

REST API along with startswith and tolower function method in SharePoint 2013

I would like to bind all users into textbox autocomplete event. I done with below script but it is consider case sensitive expression while searching the results. $("#txtselectuser").autocomplete({ ...