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
40 views

Workaround for testing to see if a user belongs to Active Directory (AD) group within standard SP Group

I recently implemented a JS/jQuery solution that checks for all of the SP groups to which a user belongs adds the group names classes to the body tag of the pages I am building. It worked very well, ...
0
votes
0answers
12 views

Custom field as sandbox solution

I am using SharePoint 2013. I need to create a field. The field should work as a Auto complete lookup. The field should look up a given list's column values and suggests the available items as the ...
0
votes
0answers
89 views

Losing the selected drop down value when reloading the page - JSLink

I have an EditForm that I am using JSLink to run some javascript that gets the Content Type and then sets the options in a drop down box according to the Content Type. This works fine, but now the ...
0
votes
0answers
48 views

Add SharePoint form fields in content editor web part

I have one Feedback list with columns like category, contact name,contact email, comments and I want to create one feedback form. First of all I need to use Content Editor Web Part only for that with ...
0
votes
0answers
21 views

Retrieve the values/ text from the Sharepoint Choice list using simple JavaScript

Project Description: I need a JavaScript that can give the selected choices in from one menu in the multi-line text box as a list. let say I have a Menu that have checkbox choices, choices are A,B ...
0
votes
0answers
309 views

implementing fullcalendar with angular js

I am building an event scheduling app by using angular js framework and fullcalendar plugin. I tried to google and implement different ways to make the calendar visible but it's not working. I have ...
0
votes
0answers
22 views

Jquery hide/show function in Sharepoint 2013 working on one laptop, but not the other

I have a simple jquery change method which will hide or show form fields based on a selection from a dropdown. the issue i am having is the jquery function is working on my laptop and 5 others, but ...
0
votes
0answers
16 views

Is there a bug with File Preview on SP2013 with Library webparts and Wiki pages?

I've encountered an issue that I would like to confirm as a bug or not. Essentially if you try to use the 'Open Menu' ellipses on a wmv or mp4 video file via Document Library (listview) webpart on a ...
0
votes
0answers
32 views

How to convert string to byte array and create document with that byte array using REST Queries

I am having with requirement to create a document with some specified string. I am trying to convert that string into byte array, array buffer. I am able to create a document. But unfortunately that ...
0
votes
0answers
31 views

calculated column get_item returning 0

Using a calculated column, I am trying to print the value of a column for the current selected row into the console LOG, but all it ever displays is 0. Can anyone see what the error might be? The ...
0
votes
0answers
62 views

Hide “Share With” Menu from particular sub site

I want to hide following things from particular sub site. I want to hide "Share With" menu from site actions I want to hide "Share With" menu from Ribbon for list view "Item" or "Document" tab. ...
0
votes
0answers
44 views

Can not prevent editting a field inside the Quick Edit using JSLINK

I have a site column named "Item Number" with internal name of "ID1", as follow:- PS H:\> $web.Fields["Item Number"] FieldValueType : System.String PreviewValueTyped ...
0
votes
0answers
15 views

How to separate BCS list and form in two site pages?

I am using a BCS and External Content Types in SharePoint to Update SQL Tables; however, I would like to have this two parts separated in different pages.
0
votes
0answers
37 views

modify the min length for the “People or Group” auto complete

i have a "People or Group" field inside my team site, and currently the built-in autocomplete will work after typing 3 characters. so how i can modify this to allow the autocomplete to work after ...
0
votes
0answers
36 views

SharePoint 2013 reservation booking calendar resource field data are misplaced in new item through modal dialog

I am displaying all the resources events in SharePoint 2013 default calendar view with the help of below script and it's working fine. But when I tried to create new event through modal dialog of ...
0
votes
0answers
22 views

HTTP request on lists.asmx GetVersionCollection method

While looking for a HTTP REST method to return Document Version History, I stumbled on the GetVersionCollection method. However, I have not found any syntax showing how to make the call from a ...
0
votes
0answers
23 views

How to add SharePoint Display template Language files to visual studio solution?

Since Im working multilingual sites with display template in my project,i need to translate the text shown in display template especially the refiners titles in Filter_Multivalue.js . How exactly can ...
0
votes
0answers
23 views

Sorting lookup column by descending dates in list form in SP 2010

I have a lookup column (Date of Distribution) that pulls a list of dates from another list on the same site. When the lookup pulls the dates, they are in ascending order, so the oldest first down to ...
0
votes
0answers
18 views

populate user data in list form

I have a list with fields name "User name", "Telephone" and "Department", i want that when user click on add new item and open new form. These 3 fields should get auto populate with logged in user ...
0
votes
0answers
15 views

Tab when on Calendar page remove the - calendar

I have a calendar and when I am on the page in the tab it takes the list name followed by - Calendar. Is there anyway to remove the -Calendar part which I believe is out of the box?
0
votes
0answers
96 views

Sharepoint 2013 - Redirecting to EditForm.aspx with ID of newly created NewForm.aspx

I've scoured the web for a solution but have unable to find one thus far. I have a master-detail view built from a Request form (Parent) and a Request Details form (Child). I am trying to simplify ...
0
votes
0answers
40 views

SP.UI.ModalDialog.showModalDialog errors when trying to render a Wiki Library Page

I'm getting an error when trying to show a wiki library page using SP.UI.ModalDialog.showModalDialog. Other URLs work fine but not wiki library pages. SP.UI.ModalDialog.showModalDialog({"url" : ...
0
votes
0answers
44 views

Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Object Raphael already exists as a class, enum, or interface

I am having a problem with the Navigation menu which does not show up to normal users. So, later today I saw this error when I debugged my page. This error shows on page load: Uncaught ...
0
votes
0answers
44 views

Limit checkbox selection in survey

I am currenly trying to implement a survey with a limit of checkbox selection. Out of 42 checkboxes, the user will only be able to select 8 of them. If more than 8 checkboxes are checked, there should ...
0
votes
0answers
23 views

One script blocks other

I have been developing a workflow app on our SharePoint 2013 site. I have two scripts that I want to add to the custom new item form. Each of them (if only one is present on the site) works fine. The ...
0
votes
0answers
84 views

Get Taxonomy Terms, GUIDs, Synonyms (Other Labels) into Array within a SharePoint Page (not App)

I am using the code below to get terms (Later I will push these into an array). This is based on this article: http://www.vrdmn.com/2012/12/working-with-taxonomy-and-javascript-in.html It is pushing ...
0
votes
0answers
24 views

Prevent Full Calendar from rendering on Next click

I'm just trying to make it so when the user clicks on the next button to advance months how do you make it so the calendar does not refresh the data and render it? I have tried lazyFetching but have ...
0
votes
0answers
46 views

calling a javascript function inside a webpart

I have a site It has two content editor web parts In one I have a function like below function changeImageSrc(){ $("#someId").attr("src","somevalue"); }; Now i want to call this function from a ...
0
votes
0answers
85 views

Open document in edit mode via JavaScript

I run the following JavaScript to open an existing document in edit mode: url = 'https://sp.abc.com/sites/apps/Shared%20Documents/test.docx'; baseUrl = 'https://sp.abc.com/sites/apps/'; ...
0
votes
0answers
17 views

How to create Enterprise Wiki page using ECMA Script in Sharepoint 2010

i need to create Enterprise wiki page with some dynamic text on page.this page should me create using ECMA script.
0
votes
0answers
88 views

Calling Cross Domain Java Based web service by JQuery AJAX from SharePoint 2013

I am trying to call the Java based Web Service by Jquery Ajax, The URl of the Service is "http://vmABCapp01-staging.domain.com:7083/UserIDCheckService/CheckUserIDServiceImpl". The Jquery Code to ...
0
votes
0answers
51 views

Filtered lookup using SPServices

I have 3 lists: Schools, Interactions, Contacts In the new form for a Interaction item I have a lookup field displaying a long list of contacts, however I need to filter this list to only display ...
0
votes
0answers
77 views

Rest API create personal site enque

I'm trying to provision My Site by utilizing SharePoint JSOM or REST API. The JSOM code snippet (below) gives System.UnauthorizedAccessException and REST call gives me a 401. The goal here is to ...
0
votes
0answers
47 views

JSOM Office 365 upload Page Layouts to master page gallery

How to upload a page layout from Visual Studio to Master page gallery using a Sharepoint hosted app?
0
votes
0answers
15 views

Clear Authentication Cache

Is it possible to use code to place a button on a page which a user can click, basically signing them out of our SP environment, the developers hid the sign in as different user option and don't work ...
0
votes
0answers
33 views

Reading KPI Indicator Status list values using JavaScript Client Object Model

I am wondering if there is any way to read a KPI Status list items with their KPI status values using JavaScript. So far I was able to get to those items's regular fields like ID and Title using this ...
0
votes
0answers
16 views

SP: Distinguish between form initialization partial reload [SP2013]

I have edited the "new Form" for a custom list to add some JavaScript code, where I preselect some initial values depending on the user. My problem is that the underlying event content type contains ...
0
votes
0answers
24 views

How can I take some user input (html or markdown), transform with XSLT, and write the resulting file to a library?

Not looking for a solution here, just something to get me started in the right direction. I would like to create a page that takes some user input from a textbox (markdown would be cool, but HTML is ...
0
votes
0answers
43 views

Ajax call stopped working

I wrote a code to get userProfile from sharePonit in jquery/javascript. few days ago, i tune up my internet speed and the code simple, stop working. I got this conclusion after put a break point and ...
0
votes
0answers
53 views

Adding a custom ribbon tab breaks grouping by function in sharepoint list

So, I found this tutorial online as to how to add a ribbon tab in sharepoint 2013. While it works, whenever I add an OOb library or list and use grouping in that list, the items cannot be expanded but ...
0
votes
0answers
44 views

retrieving user name in Jquery datatable and caml query

Hi I am on SharePoint 2010 version , I have created a list with createdby, createdDate and Employee name as columns in it. I am having a text box and a button when I enter employee name and click ...
0
votes
0answers
54 views

Create links to change between calendar views

The code on this question, Using Javascript to change the view on a calendar web part, allows you to create links to change between month, week and day links. I am trying to do something similar, but ...
0
votes
0answers
23 views

How to make REST requests from javascript

I have a web site and I want to get a document library from sharepoint. I want to do this in javascript only. Do I need to get OAuth Access token? Is it possible to establish tokens without backend ...
0
votes
0answers
94 views

Use a Ribbon button to call javascript function(/library) located in a WebPart(SharePoint2013)

I am running a JavaScript library (OpenLayers, a geographical map viewer) inside a div element in a Web Part. I created (HTML)buttons in the WebPart to manipulate the geographical map shown in the ...
0
votes
0answers
35 views

Performance point filter in webpart zone

The page is already designed, but i need to do some new updates. Web part zone is added, but in that zone I can not add Performance Point filter. I have changed its master page name and tried it, but ...
0
votes
0answers
21 views

How To disabled followed up link?

currently having Conversation Web Part,on that webpart , we need to make the "Follow Up" option from the ellipsis a disabled link.The client does not want employees to be able to get here. ...
0
votes
0answers
16 views

Remote web site read Managed MetaData from JavaScript

I have a simple web app (no relationship to SharePoint). From within this app I need to read the Managed MetaData Service on a remote SharePoint farm and display some data using JavaScript. How do I ...
0
votes
0answers
61 views

How to create a folder in SharePoint using Javascript

How to create a folder in SharePoint using javascript and integrate the folder to Microsoft Dynamics CRM?
0
votes
0answers
32 views

Cascading dropdown in Sharepoint 2010, issue using SPCascade

I'm trying to use this script and have followed each step accurately, however when testing it, the drop-downs simply display (None) rather than the values saved in the first list. I tried using the ...
0
votes
0answers
48 views

Dynamically change date column sharepoint 2010

In a page layout I have 2 drop down column and 2 date column. Using Spcascadedropdown I am successfully getting the cascading feature for the 2 drop downs and also when the second drop down is ...