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
72 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
20 views

people picker, on edit page, display on published page as hyperlink

Basically I have a people picker like so in my page layout <SharePointWebControls:UserField ID="UserField2" runat="server" FieldName="Approver"/> this shows in the edit page and when it is ...
0
votes
0answers
20 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
25 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
19 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
31 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
21 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
58 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
8 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
15 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
32 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
60 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
34 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
0answers
49 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
59 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
38 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
25 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
36 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
18 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
52 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
206 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
87 views

Javascript Error inplview.js IE only

We're experiencing an issue where Internet Explorer 8 is reporting an Expected ';' in the minified inplview.js file. It doesn't affect any functionality it seems, but we have no idea what's causing ...
0
votes
0answers
38 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
7 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
26 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
21 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
19 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 ...
0
votes
0answers
51 views

Ajax SharePoint Search Query - Filter Results based on Today's Date

I have an ajax call that is pulling back results. I would like to filter that call so that it only pulls back items that are greater than or equal to today's date. How can I do that? The ajax call is ...
0
votes
0answers
20 views

Make Sharepoint 2013 forms read only

I have a need where I need to add a "SUBMIT" Button to sharepoint New and Edit forms along with the default Save and Cancel Buttons. On click it should assign read only permissions to the item to the ...
0
votes
0answers
31 views

Click to Auto-Upload Templated File in SharePoint

I have a unique use-case that I am trying to address for a project that I am working on. I am looking to find a way to bind an onclick event to the SharePoint file-upload function to upload a file ...
0
votes
0answers
25 views

Add custom javascript directly on SharePoint installed pages (Application pages)

I know there are ways to add custom JavaScript to make changes in SharePoint installed pages like delegate controls, custom actions. So, these all are using feature then deploying that feature to ...
0
votes
0answers
141 views

Client people picker on Sharepoint View Custom Forms

Can someone tell me how to have the default client people picker control with the auto complete functionality on the custom view form in Sharepoint 2013? Once the default view form is customised, the ...
0
votes
0answers
73 views

Person type url on a display template

I have a list which has a person type in it. I am taking this person type column and adding it to the display template. However how can I get the URL so it goes to the mysite of the person. At the ...
0
votes
0answers
165 views

Uncaught TypeError: Cannot read property 'parentElement' of null

This one is weird I hope somebody can help me. I wrote a JavaScript with KnockOutJS code to display items in a custom list, When I try to run the sample, I get the following in Google Chrome's ...
0
votes
0answers
91 views

Sharepoint attachment control

I'm using designer to create a custom edit form and would like to create two controls in that would upload attachments to the list item, I'm using - ...
0
votes
0answers
61 views

custom list, highcharts not displaying properly

var myData = [5]; var owlName = ["Tim"]; var j = 0; var items; $(document).ready(function () { ExecuteOrDelayUntilScriptLoaded(function getData(){ ...
0
votes
0answers
118 views

Get selected item ID from Ribbon buttons Element.xml file

Im using sharepoint 2013 online and want the id of selected items is it possible to get the id from this line in the Elements.xml and if so how do i do it? ...
0
votes
0answers
15 views

use a file js to add ribon action

I'm trying to add a ribbon action in my list with SharePoint Designer. till here, no problems. I'd like to use a js file to collect all the selected items and write an excel file. I've to do this ...
0
votes
0answers
65 views

How to load script from hive in display templates

I'm trying to load a script from the hive in my display template. I've tried <script src="/_layouts/15/1033/comany/js/bootstrap.min.js" type="text/javascript"></script> and ...
0
votes
0answers
56 views

SharePoint 2013 List View App Part - Display all views by default

I would like to display all of the select-able views. By default it shows only the first three views and then a "..." which can be clicked to display the rest. I thought I had stumbled across this at ...
0
votes
0answers
25 views

Topic lock in discussion board in SharePoint 2013

I want to stop user to reply to the topic in the discussion board after one day from the create date. It means user can reply for the topic on the same day only.On the next day it should not allow ...
0
votes
0answers
79 views

get data form database & display in gridview's textboxes

i want to populate data in gridview's textboxes which are stored in database and if no value found in database it should show blank text boxes. BUT my problem is i am binding gridview data for Area ...
0
votes
0answers
31 views

Upload Status Indicator Web Part

Being an SharePoint Admin and not a Developer how would I accomplish the following: A client access a site where they are able to download and upload documents. The business requirement is to create ...
0
votes
0answers
136 views

ECMAScript is not working in SharePoint 2013 content editor webpart

ECMAScript is not working in SharePoint 2013 content editor web-part.Please let me know issue in the below code. <script src="http://code.jquery.com/jquery-1.9.1.js" ...
0
votes
0answers
56 views

How to set default sharepoint:formfield value without using javascript

Trying to customise a list form. Is it possible to initialise the "ObjectName" field to a value passed in the query string without using javascript? Thanks.
0
votes
0answers
198 views

Bind Custom List to Gridview using javascript in sharepoint designer

This is my javascript code to bind <script type="text/javascript"> function BindGridView() { $.ajax({ type: "POST", url: "AllItems.aspx/PPB", data: "{}", contentType: ...
0
votes
0answers
141 views

How to make Exporting highcharts works (to image or pdf) when its inside a PageViewer WebPart / SharePoint 2010?

I've been using SharePoint 2010 PageViewer web part to make available a site for the end users (Asp.Net MVC solution). Accessing my site throughout its url the Exporting highcharts feature works, but ...
0
votes
0answers
20 views

Requete CamlQuery

My question is to check if my CAML query query is good or not. I want to get items from a list by the email of the current user.
0
votes
0answers
25 views

Is it possible to break alerts in one site collection with client-side scripting?

We have a single site collection where alerts have been down for some time. After review, it was suggested that client-side Javascript (common ones like EasyTabs and SPServices) could break alerts. ...
0
votes
0answers
33 views

Adding central site column to a list with JavaScript in SP 2013

I'm managing a site where several users (owners) can set up new websites. But there are some areas that they always have to change that I cannot apply to the template. So I programmed a small code ...