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
0answers
48 views

SharePoint CSWP 50 Item Limit

Would anyone be able to suggest an approach for increasing the default 50 item limit returned by a CSWP? This is for a solution that uses a custom display template to render the results out in a ...
0
votes
0answers
86 views

100% CPU utilization on w3wp.exe for SharePoint web application

We have an SharePoint web application which is completely developed on Knockout JS,CSS and SharePoint REST Interface for accessing SharePoint List Items from client end.This application was stable for ...
0
votes
0answers
70 views

OnPostRender on a hover display template

I have this code which works on a normal display template, so runs after the display template has been rendered but when I add it to a hover, it does it before the template has been rendered. Is there ...
0
votes
0answers
11 views

not able to fetch term stores

I am getting this error.. Failed to load resource: the server responded with a status of 404 (NOT FOUND) The error is because of this var scriptbase = ...
0
votes
0answers
79 views

WOPI iframe on Sharepoint list attachments

I really like this new functionality of the SharePoint search that shows you a document preview on mouse hover. Is there any way to make the save document preview in list item? In the search it looks ...
0
votes
0answers
18 views

From root site, link that creates new item in a specific list / link to newform in a specific list - javascript

I have a teamsite. On the welcome page (root) I want to have a link to newform of a specific list inside the site collection. When I click on the link I want it to redirect me so I can create a new ...
0
votes
0answers
44 views

How do I access a Custom List from a client web part via the REST API?

I am using the following code to try and access my newly created Custom List called Announcements: $.ajax({ url: appWebUrl + "/_api/web/lists/getbytitle('Announcements')/items", method: ...
0
votes
0answers
56 views

Async Refresh LVWP on load with HTML Form Param

I have a List View WebPart that I need to asynchronously take a parameter from an HTML form WebPart and update the LVWP. I have some odd behavior happen when I attempt this. I have Async Load, Update, ...
0
votes
0answers
28 views

Get date before and after and query out free dates on range

When double booking in calender, the user get prompted to an dialog where Current day and +1 och -1 on day and then display the free dates, doing all this code wihout +1 om fromTime, and -1 on toTime, ...
0
votes
0answers
24 views

How to retrieve items from Camlquery

How can I retrieve items from the date range below: 2014-12-07 08:00 to 17:00 2014-12-08 08:00 to 17:00 2014-12-09 08:00 to 17:00 With my query right now I am receiving 2014-12-07 08:00 to ...
0
votes
0answers
34 views

How to get days 5 days before and 5 days after

I want to query items from a calender list 5 days before current selected date from datepicker, and 5 days after selected value from datepicker? This code takes the selected datepicker date from ...
0
votes
0answers
24 views

Retrieve items from calender List only get first item

I am trying to get all items from my calender list i want to get EventDate and Enddate, here is my code, function onQuerySucceeded() { var startCon = listItemCustom + "T" + "08" + ":00" + "Z"; var ...
0
votes
0answers
17 views

Array EventDate And EndDate

I have two arrays 1 for EventDate and One for Endate from my calender List, var listItemEnumerator = collListItem.getEnumerator(); while (listItemEnumerator.moveNext()) { var oListItem = ...
0
votes
0answers
175 views

ECB custom action item issue

I deployed a custom ECB item action, I can see it at item level but when I click on it, nothing change. This is the definition of the custom action: <?xml version="1.0" encoding="utf-8"?> ...
0
votes
0answers
22 views

Set external content type by javascript

In the NewForm, I need to set an external Content Type lookup field by javascript. How can I do it?
0
votes
0answers
23 views

How to split EventDate and EndDate

i am trying to split on "," working with eventdate and endate but i dont get it to work. (undenified) var listEventDate = oListItem.get_item('EventDate'); var listEventdt = new ...
0
votes
0answers
11 views

Display items that are free to book and not items dates that exists

I have 2 items in my list right now it only displays that my first item in the list are busy and not the second also, because i have to items in the list, any suggestions'? function ...
0
votes
0answers
7 views

Unable to set collListItem or nullreference

Here i am trying to get the items from the dates between 8-17 on the date 12-04 The result works fine, I am trying to do the same using an SharePoint-Hosted app, Here is my code, it takes the ...
0
votes
0answers
136 views

Uncaught ReferenceError: $ is not defined Page.aspx

I want to READ list data from with the help of RESTAPI in SharePoint. I use below code to do the operation. <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> <script ...
0
votes
0answers
41 views

SP 2013 cross-platform Mobile App | HTML5 based | How to authenticate? OAuth?

I have a mobile app which will be cross-platform capable using cordova. So it is based on HTML5, CSS3 and JavaScript. My Problem is, that I don't know how to authenticate the App to Sharepoint to ...
0
votes
0answers
84 views

How to hide SP.UI.ModalDialog.showWaitScreenSize?

While loading a SP.UI.ModalDialog window, I implemented a Waitscreen as proposed by MdMazzotti. Now, I seem unable to close that waitscreen from the dialog window. apparently, this fails because the ...
0
votes
0answers
92 views

Help Updating Image Url of recently modified Sharepoint List items

I'm working on a project for my group where we want to display a different stage progress image whenever the current status field of a list item (Req Status) is changed in the Edit Properties window. ...
0
votes
0answers
26 views

getTimezoneOffset(); using returns -60

The listItemToTime before making it to getTimeZoneOffset displays in UTC format, Like this 2014-10-15T10:00:00Z var toTime = new Date(listItemToTime).getTimezoneOffset(); But after using ...
0
votes
0answers
58 views

How to get Sugested People, Documents and Sites to follow in Sharepoint online using REST

I know we can use http://<siteCollection>/<site>/_api/sp.userprofiles.peoplemanager/getmysuggestions API but I am unable to get the Data
0
votes
0answers
128 views

Document Set created using SPServices shown as folder in WelcomePageView

After creating Document Set programatically using jQuery SPServices, if i click on Document Set Name it showing AllItems.aspx page instead of default docsethomepage. I checked in the Welcomepage view ...
0
votes
0answers
62 views

Remote access development

I'm relatively new and have tried to search posts regarding this problem but I'm not sure whether I'm hitting the right sites. The scenario is this. I have a sharepoint 2013 installed on ...
0
votes
0answers
282 views

How to create a Sharepoint Hosted App with AngularJS and keep the Sharepoint Look and Feel

I am having the following issue. I have a mini SPA with an option to view products, edit and create. The SPA I created using the default .aspx page that comes when you add a new Item (Page), into a ...
0
votes
0answers
25 views

collection has not been initialized display template

I am using a display template and getting items from the list, yet I get an error about something not being initialized. Can anyone help? here is my code: AddPostRenderCallback(ctx, function () { ...
0
votes
0answers
77 views

Compare list items with text value entered

I have one list with 3 columns (Title, Department, Contact person). I have one input text field & button to submit on the page from where users will type "Title" (Application title) and click on ...
0
votes
0answers
20 views

Get users with Read permission

how can I get by JavaScript all the users of a Web that have just the Read permission. Thanks
0
votes
0answers
91 views

How to Oauth to external application with Sharepoint App

did someone realized an app with oauth against an external API? Like Yammer, Twitter or something else? My Question is: How did you get this working? I've read, that Auth Headers will be cut of by ...
0
votes
0answers
27 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 ...
0
votes
0answers
195 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 = ...
0
votes
0answers
11 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
0answers
21 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
64 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
0answers
135 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 ...
0
votes
0answers
155 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
84 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
64 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 ...
0
votes
0answers
77 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 ...
0
votes
0answers
60 views

Remove 'onmouseover' sorting options for Business Data List Webpart

I have a Business Data List webpart displayed in SharePoint. The data that comes into SharePoint is formatted as general, so the sorting doesn't work. It sorts based on the 'edit view' settings of the ...
0
votes
0answers
20 views

Is there a JavaScript event that fires when the yellow message bar is shown?

I want to call a function when the DeltaPageStatusBar is displayed.
0
votes
0answers
81 views

Getting the version history of a list item

I am creating a content web part and one the list items is used with versioning. I want to show all the versioning on the page. Is there anyway to do this? maybe using CSOM or something
0
votes
0answers
654 views

2013: load custom “clienttemplates.js” file

Requirement: I want to replace the file clienttemplates.js found in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS with a custom version. I couldn't find the ...
0
votes
0answers
61 views

New custom Create form does not auto complete “Owner“ field

I have an Issue Tracking list , and I have created a custom Create form using SharePoint designer , as follow:- The problem I am facing is that the owner field will not autocomplete the people ...
0
votes
0answers
14 views

Provision WebPart from Appdomain

I can provision and install a webpart on a page from the app-domain, but its always invisible. I see that the webpart have been added in Web Part Page Maintenance (?contents=1). But i cant edit the ...
0
votes
0answers
51 views

How to add a webpart zone using JavaScript in SharePoint 2013

Let say I can manipulate DOM to add extra DIVs to page. I need to know if it's possible to use JS to convert these divs to web part zone to display a button "Add a Web Part" (like the ones in Blank ...
0
votes
0answers
49 views

Can you use the HasRights() function in SharePoint 2013, if so how?

I am looking to limit the display of content on a custom page in SharePoint 2013. I wish to hide or display some s based upon the user's permissions. The function HasRights() seems to be what I need. ...
0
votes
0answers
25 views

Reading a SharePoint list from an on-prem farm from SharePoint Online no Apps

Been going mad for the last couple of hours trying to do what I thought was simple. I have a CEWP on a SharePoint online site. I am trying to make a javascript REST call to a SharePoint list that ...