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
26 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
25 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
29 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
22 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
18 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
29 views

Get listitem through another listitem on the same row (select changed)

I'm sorry about the mess! but here I go My sharepoint list has 3 columns= Title, Priority, Status I want to get all the Status items into a dropdownlist, and when i click any of these Status items i ...
0
votes
0answers
37 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
14 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
28 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
33 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
12 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
30 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
20 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
37 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
35 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
6 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
24 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
9 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
54 views

List all site collections in SP Online

Is it possible to get list of site collections using JavaScript Object Model in SharePoint Online? I would like to display a list of Site Collections in left navigation. something like below. ...
0
votes
0answers
19 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
33 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
22 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
25 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
42 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
31 views

How to add a reference to a javascript file in a custom action for a provider hosted app?

I have a custom ribbon button in my app where I am trying to add logic to enable/disable the button based on whether or not the selected items are records. I am able to get the EnabledScript attribute ...
0
votes
0answers
18 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
36 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
27 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
20 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
15 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
41 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
27 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
26 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 ...
0
votes
0answers
45 views

is it possible to retrieve the current value in sharepoint list item before save

I have a sharepoint list. On the edit form of list item i have a custom action button to send the mail containg the contents of the list columns . If the user changes any value in a column and then ...
0
votes
0answers
21 views

Maximize Button missing

I am working on a site which was developed on SharePoint 2010 but it's now migrated to SharePoint2013. The maximize button was working while opening the list in 2010 site,but it's not working on 2013 ...
0
votes
0answers
46 views

Change selected items order and merge using Javascript

I am now able to get the selected list items and merge its contents. Is there a way to reorder the selected items before merge? Or is there a way to get the items in the order in which they are ...
0
votes
0answers
40 views

SharePoint 2013: JavaSript Object Model - Inserting 'Reusable Content' programmatically not working

Goal: I am trying to click a button on a page that sets the 'PublishingPageContent' field on another page with data from a 'Reusable Content' list item. Problem: Whenever I go to the updated page ...
0
votes
0answers
65 views

Copy File site collection to subsite with REST API & Javascript

Im trying to copy a file from between sites. Everything works out fine, but when I try to open the copy I get an error messages that tells me the document is corrupted. Ive been trying the approach ...
0
votes
0answers
44 views

Web Part Chrome State To Minimized On Page Load

I need all web parts on page to be in minimized state on page load using CEWP/SP Designer/Code behind. I tried a lot. One more doubt I need to clarify from experts over here, when I set chrome state ...
0
votes
0answers
20 views

Issues with height when setting app part width and height via postMessage

I'm currently using the postMessage function to set the width of my app part which is working however I've got a few issues with height. The height is set using $('.container').outerHeight(true); ...
0
votes
0answers
23 views

Validate unique value for the list item via JavaScript Object Model

Could you please help me with implementing following logic: I need to check new uploading document name with existing documents. If dublicate or simular document exists, it shoud show existing names ...
0
votes
0answers
23 views

Search Results Page + MicrosoftAjax.js Conflict

I have a custom master page + page layout combo that uses a lot of client side code. I'm seeing a conflict with the Search Results page I have where if my master page includes: <script ...
0
votes
0answers
43 views

Can you redirect a user once a workflow completes?

I've created a form that starts a workflow when a new item is created. The user is redirected to a "Please Wait" page while the workflow takes the data that was entered and creates a calendar event. ...
0
votes
0answers
17 views

retrieve data from a sharepoint list in a portal and insert them into a sharepoint list in another portal

I want to retrieve data from a sharepoint list and insert them into another sharepoint list in another portal.. there is any method to retrieve data into excel file ? how to do this using C# or ...
0
votes
0answers
36 views

Setting Url Variable for Sub site

I'm trying to create news list system. I wanted to set Url Variable via Javascript and get the item back by id to display details. Everything went good but when I try to href ...
0
votes
0answers
46 views

Read xml in infopath using javascript

I want to read xml inside the infopath form. I am saving all infopath forms after submitting into a form library. Now I want to read the xml inside that. I am doing like following, $(function(){ ...
0
votes
0answers
58 views

How to group by a column and sum its value

I have a sharepoint list. In that, there are 2 columns location and amount. I want to group the values by location and calculate the values of the column amount and show it in a field as sum. For ...
0
votes
0answers
20 views

How do you expose a Custom Service Application method via JavaScript/JQuery

I've currently enabled all of our Web Service calls using Application Pages / Web Methods. It works well but I'm pretty sure that there is a lot of overhead when it comes to getting my JSON back. ...
0
votes
0answers
65 views

Access denied while calling external URL ajax call

I got the access denied error when i am calling external URL from Ajax call. it is working fine without SharePoint 2010. <script> function httpGet(theUrl) { debugger; var ...
0
votes
0answers
30 views

zoom out Grantt chart SharePoint 2013 through Javascript

I would like to zoom out SharePoint 2013 Grantt Chart so that it only shows month in scale. I have seen few examples which shows the same thing but none of them is working for me. ...