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

Accessing App List from a SharePoint Page

I have created a SharePoint Add-in. It contains a list 'UserDetail'. Most of the examples I see in the web show to access SharePoint Data (List/Library) from Add-ins. Is there a way to access Add-in ...
0
votes
0answers
13 views

Enabling item scheduling on a publishing library via JSOM

Alright, I'm trying to enable item scheduling similar to this this post but via JSOM in sharepoint online through a sharepoint Add-in/App. From the web console I've already looked into properties of ...
0
votes
0answers
24 views

Prevent modal dialogs from getting closed after deleting an item

my JavaScript-application has a rather deep navigation using cascaded modal dialogues (SP.UI.ModalDialog.showModalDialog(...)). Sharepoint does handle this really well. From the 3rd level modal ...
0
votes
0answers
31 views

Consistent way to create FieldLinks within content types using javascript

Word of caution: This question is related to question How to create ContentType with FieldLinks using REST but is more specific as we are looking to find a solution until (if?) MS brings the API ...
0
votes
0answers
11 views

Multiple WebParts in auto-sized Modal

I want to add two WebParts (listViews) to a popup modal and i want it automatically sized to the size of the two WebParts. I already tried adding iframes with the desired WebPart URLs to the modal, ...
0
votes
0answers
32 views

How to make use of Office dev PnP provisioning template

I need some guidance on how to make use of the Office dev PnP provisioning template for SharePoint online. Basically, I am trying to make my SharePoint site responsive without tampering with the ...
0
votes
0answers
34 views

JSOM returns empty object on some pages

I've got some JSOM code that I use in two forms: a display form and an edit form. On the display form, DisplayTicket.aspx, it works exactly as expected. On the edit form, it runs and the JSOM call ...
0
votes
0answers
27 views

AddBehavior & navigateFrame (Open With Explorer) SP2010

I have been facing an issue with "Open With Explorer" and well, restarting WebClient service helps sometimes, restarting my PC also helps sometimes, but that is totally not handy. I have taken a very ...
0
votes
0answers
30 views

Papa Parse and SharePoint

So, I have applied Papa Parse to a page that has a view of the list I'm working with. I have successfully read a CSV and logged it to the console. My question is, how do I update all items in my list (...
0
votes
0answers
40 views

I am having trouble with URL's using REST API in sharepoint 2013, for some reason it adds site pages and removes Document Library name

I have recently came across a problem with my code for a Document Library filter using the REST functionality. My code (below) returns all documents and folders correctly but when I open the ...
0
votes
0answers
26 views

Hover Popups/Callouts inside SVG tag in SharePoint 2013

I am trying to add a hover popup/callout by applying the CalloutManager in an element inside a svg tag. SharePoint uses a different version o jQuery, it is implemented in a file called mquery.js. The ...
0
votes
0answers
19 views

How do I access a Service Application field in Central Admin using CSOM from JavaScript?

In Central Admin you go to Service Applications and you will see a list of applications. For example: Access Services 2010. When you click Access Services 2010 a list of fields is displayed as ...
0
votes
0answers
24 views

sending document to record centre using JavaScript

I need to send documents inside a document library to record center using JavaScript. I have tried with officialfile.asmx without any outcome.
0
votes
0answers
40 views

OK button not working, throws JavaScript error when edit list column name

I have a custom list, when I go to its setting, edit the default "title" column, renamed it to "questions" then click OK button. The page has no response. After inspect the page with inspecting tool, ...
0
votes
0answers
37 views

Show and hide Web Parts: How to keep Web Part opened?

I've added the script (you can see below) to my site, which hides Web Parts in standard and opens / closes them by clicking on the title. Now I have the case, that I used this code on two document ...
0
votes
0answers
38 views

Add custom button to Sharepoint 2013 ribbon to print

I need to create a shortcut for my client to print a document from a SharePoint library. The user needs to select a file in the library and then in the ribbon click on the custom Print button. This ...
0
votes
0answers
23 views

How to add 2 display form in one?

Recently I was worked with Related list and it solved lots of problem from my users in SharePoint 2013. I am wonder if I can add 2 Lists Display form in one. This is one of my users idea's and she ...
0
votes
0answers
35 views

SharePoint App - How to Create/Populate Excel Spreadsheet Using JavaScript and List Data

I'm trying to create a Excel spreadsheet on a SharePoint app/add-in. The data that will populate it have been gathered from several SharePoint lists on the host web. Right now, I'm able to interact ...
0
votes
0answers
12 views

SharePoint 2010 - List, make pop-up confirmation when user clicks the 'X' on the modal pop-up

I have been trying but have had no luck with this. Basically when a user goes to a list, clicks on new item, and then a modal box pops up while the background goes grey that has a grey 'x' on the top ...
0
votes
0answers
55 views

SharePoint 2010 - SharePointPlus Add/Update/Delete list items baed on an HTML table

I have a list that is updated in a system. I save the list as an HTML table (the table ID is "Tracker") on the SP site. I have the table saved and updated periodically. I found the below code (It ...
0
votes
0answers
50 views

run external JavaScript or jQuery in sharepoint infopath form after postback

problem occur when postback on a field happen, all external js code stop working until run js code again. how can i use external JQuery code in sharepoint with infopath form in it ?
0
votes
0answers
28 views

Content of Content Editor webpart received by REST call? Is that possible?

I may have various GUIDs and paths/files in hand, but still not able to find the inner content of webpart editor via REST call. I have 1) page name and path, where Content Editor webpart is placed 2) ...
0
votes
0answers
81 views

Copy list item value to another in SharePoint using REST API

I am trying to auto increment a value for a specific column in SharePoint list. How to copy list item ID value to another column of of a SharePoint list (e.g ProjectID). I tried this code '...
0
votes
0answers
33 views

How to Dynamically Change a Value in the Column of the Current Item Through Clicking Hyperlink in Email

I have a script on Content Editor Web Part that me and my coworker tested on a list called TextTestList. The requirement is: When user clicks a hyperlink in email, received from a Workflow, that ...
0
votes
0answers
24 views

check group permission with javascript

I am developing a sharepoint add-in for Office 365 and I need to check groups permissions for my site. Has anyone some ideas?
0
votes
0answers
31 views

Distinct Values selection in list column using rest

I am selecting top 500 rows from the list using below REST API method. I want to select only distinct values for ESI_ProjectSeqNoLookupId column. Please explain in below code where to insert ...
0
votes
0answers
39 views

Dynamically display media content in pager viewer when selecting items from a list

I want to display 2 webparts - side by side - on a page. The left side is a Page Viewer web part that is linked to a panoscan image URL and the right side is a list of panoscans with a URL column. ...
0
votes
0answers
29 views

Start a workflow task and assign it with JSOM

I am trying to see if it would be possible to start an Approval or Collect Feedback workflow with JSOM. There is some documentation out there for kicking off a workflow with JSOM: https://msdn....
0
votes
0answers
16 views

Client People Picker difference “Share” and custom

I can't wrap my head around the difference when adding a custom client people picker, and the one that's being used in "Sharing" (/_layouts/aclinv.aspx). The peoplepicker in "Sharing" resolves new ...
0
votes
0answers
20 views

I have a web part which needs to communicate to built project online web part which called Basic Info

In this case I need to add a Content Editor to make a connection between my web part and Basic Info. Is there any way to communicate between web part and Basic info without any Content Editor? I'm ...
0
votes
0answers
122 views

SPUtility not working on Custom edit Form

I have created new Custom Edit Form for one of my List and trying to set Value using SPUtility.js. I am constantly getting error Unable to get a SPField named Title(Field Name) But same piece ...
0
votes
0answers
18 views

SP 2007 makes IE to hang while running a jssor code

I'm using a jssor slider with vertical navigation (no-jquery version) on Sharepoint 2007 page within CEWP where i have replaced all the image links to images store under SP image library and jssor....
0
votes
0answers
19 views

contents of a list in EditForm.aspx disappear when a Postback function was triggerred

I have a javascript file in the masterpage that triggers postback function to change list displayed in my custom DVWP megamenu. This runs on page load in ALL page in my Site. The code is working ...
0
votes
0answers
14 views

How to detect a customize EditForm.aspx (Sharepoint 2007)

Scenario: Admin will create a custom Edit form aspx page. Q1: Is there a way a javascript can detect the new edit page of the List? Thanks
0
votes
0answers
19 views

CustomJavaScriptFileUrl references script twice - should it?

I'm using PowerShell to provision a SharePoint solution and I'd like to include a link to a javascript file on all pages throghout the site (SharePoint.SPWeb.CustomJavaScriptFileUrl) What seems to be ...
0
votes
0answers
83 views

Custom Thumbnail view with javascript as asset library

At the moment I am creating a teamsite for my team at sharepoint 2013. My problem: I want to create a special view for my document site. I followed these instructions from an external sharepoint ...
0
votes
0answers
26 views

GET Column data Through query or javascript

I have a table and after table tag one button when button click then get 4th column data Email table...All Email of customer and store in a array. Kindly help me to find out the problem.
0
votes
0answers
43 views

Call a Javascript Funtion when Delete Operation Occurs in Document Library

I need to call a Javascript function when a delete operation occurs in a document Library. What is the best way to do so? Example: Suppose I need to show a JS Alert when a document is deleted.
0
votes
0answers
84 views

SharePoint Online Edit Form JavaScript Errors

I am seeing JavaScript errors on the edit form of one of my tasks lists - see below. I have added my own custom JavaScript on this edit form. This is in the Chrome browser. I haven't tested ...
0
votes
0answers
45 views

How to retrieve all pages from “Wiki Pages Library” using JavaScript

How to retrieve all pages form Wiki Page Library through CSOM (JavaScript)? Can anyone share an example?
0
votes
0answers
54 views

How to connect Office Add-In to SharePoint On Premise

I am trying to develop a Word Add-In and I need to retrieve a SharePoint list items. 1st Question: It is posible to write CSOM (c#) code instead Javascript? 2nd Question: How can connect to a ...
0
votes
0answers
17 views

how to give a document link in resourse.js file varialble

I am using below var importFileNameDescription = "Browse to the document you intend to import. This document has to be a Excel file."; for localization in my Resource.en-US.js file in the text I ...
0
votes
0answers
40 views

Add New Calendar item default All Day Event BUT reset when unchecked

I have the below code for setting all day event to yes ( checked) BUT I wanted to do the resetting to the original when unchecked in SharePoint 2010 Calendar event: <script> $(document)....
0
votes
0answers
30 views

SP13: Showing Image in Custom List

The first part is working not the second. Intent: To have users select add attachment button on a custom list new form. Then select browse button that allows to browse out to select image on computer....
0
votes
0answers
40 views

Javascript to submit Web Part without click

From a previous question, I am able to populate a textbox with a value I can use to reference another list. However, in order for this functionality to be as user friendly as possible, I would like ...
0
votes
0answers
63 views

JavaScript not firing after Page Refresh or Paging

I'm using some JavaScript to manipulate a list view, such that the clicking of a button (provisioned through a calculated column), will redirect a user to another page. Based on the reference in ...
0
votes
0answers
36 views

Javascript with MDS in Visual Webpart

I need to include a Javascript file in my visual webpart, but using the Minimal Download Strategy. The problem is when i would like to include a SharePoint:ScriptLink tag in my ascx file, i have some ...
0
votes
0answers
25 views

Webpart that uses CSS fixed positioning

I have a two column webpart page. On the left side is a link list webpart, which I would like to stay in sight as the right side scrolls. Is this possible? I did see an example which did it with the ...
0
votes
0answers
43 views

Calculation on different types of leaves in JavaScript?

I have a list (List A) with different type of leaves like casual leave, sick leave, earned leave.. So in this list management will give some leaves to an employee per year like Casual leave=20 days ...
0
votes
0answers
42 views

SP 2013: Using EditDocumentTemplate createNewDocumentWithProgID commands to activate macros in Word Documents in Document Libraries

In my Document Library, I want to store macro enabled documents. OOTB Document Library functionality disables stored template macros. Research indicates that this results from the way that Sharepoint ...