An open-source, cross-platform JavaScript library, now endorsed by Microsoft

learn more… | top users | synonyms

0
votes
1answer
22 views

Populate New Task choice field via LocalStorage

We are using local storage to hold a text box/title value from a 'main' problem list. In this 'main' list, we first identify the issue/problem. We then add tasks in a task list associated to the ...
1
vote
1answer
47 views

Custom pagination

I have a SP list called "Company" containing 6000 items. Also I don't have access to central admin nor I have a site collection administrator permission(also no designer access). I want to create a ...
0
votes
2answers
25 views

SharePoint Forms Fields depend on User

I hope you all are doing good. I have an query regarding SharePoint forms I hope if anyone can help me out. I want to create a SharePoint form where a member from any department can ask for a leave, ...
0
votes
2answers
49 views

Display Profile Image, Can't Select Picture Url

I am attempting to retrieve some profile properties for the current user, and am having a hard time with the profile picture Url specifically. Version is Sharepoint Foundation 2013. When I open the ...
0
votes
1answer
39 views

Logical operators are not working in JS file

Everything is fine I am able to fetching the data from SharePoint 2013 List using CAML query in my js file. But when i try to get the data via dropdown conditions my code is executing in the else ...
3
votes
1answer
88 views

Getting item id from newly created item

I am using SharePoint 2013 Enterprise version. I am using below rest api code to add the record I kept below code in common js file function CreateListItemWithDetails(listName, webUrl, newItem, ...
0
votes
1answer
49 views

Highlight upcoming/overdue calculated column dates in a training list

I have a list to track customer training. Two of the trainig items are recurring; Ethics - annual and GPC Refresher - biannual (every two years). The due dates for each training requirement were ...
0
votes
1answer
35 views

Required field validator is not working in jQuery

Here is my code Index.cshtml I gave JavaScript functions but validations is not working please check this where i did mistake in this code. Product List <table ...
1
vote
1answer
59 views

Get start and end date of current week which starts in one month and ends in another month

I have to get start date and and end date of current week. I used this code but end date is getting previous month name if week start in one month and ends in another month. Date.prototype.getWeek = ...
3
votes
2answers
147 views

check if the theme is inherited from the parent site using Jquery in SHarepoint 2013

Is there any way we can check which on a site whether the theme is being inherited from the parent site using jQuery/JavaScript
1
vote
0answers
20 views

Chaining rest calls

I've got a page where I want users to add themselves to a sharepoint group and then read the contents of the library. This requires three things, get the current user, add to group, and read the ...
3
votes
4answers
71 views

Upload files on SharePoint 2013 document library using jQuery

How to upload files on SharePoint 2013 document library using jQuery? I am stuck with this.
0
votes
2answers
38 views

CSOM not retreiving count of items in a list

I'm trying to get a count of specific items in a SharePoint 2010 list but I keep getting a count of ALL the items in the list. Here is my code: var clientContext = null; var web = null; ...
1
vote
2answers
46 views

The bootsrap glyphs not displayed on SharePoint public site

I recently connected a domain to my public website on SharePoint Online (Developer tenant). When I connected the template with the master page and page layout works flawlessly on: ...
3
votes
4answers
178 views

Approaching to have a third part web application inside SharePoint 2013

I am working on SharePoint enterprise server 2013, and I am trying to find the best approach I can follow to achieve this requirement:- Our customer has a web page which list their employees info. ...
0
votes
0answers
27 views

how to append description column using jquery

I am trying to append description column from list using jquery but am unable to get the out put. Can some one help me out. function fnCallBack(xData, Status) { var ctrFirst = 1; var liText ...
0
votes
1answer
93 views

Iterate through list items stored in array JavaScript

I am currently using SharePoint 2013 Online and I have some code which I am running to retrieve list items. I can successfully get the list items and store them in an array however I then need to ...
0
votes
1answer
111 views

GetListItems return undefined if query applied

I'm using GetListItems with query on SP page called for eg. "A" and everything is working there. Now I copied same code to second list B and in this list xData.responseXML is empty when I'm using ...
-1
votes
1answer
46 views

Show the images from the shared drive with C# MVC [closed]

I want to show the images from the shared drive, I have published the solution and hosted in the IIS and created one directory named as "Images" which directs to the another server's shared folder ...
2
votes
3answers
253 views

Get GUID of SharePoint list using jQuery

I have different sites like http://SP.abc.com/SPSite1 http://SP.abc.com/SPSite2 http://SP.abc.com/SPSite3 and each having one Library with the same name called Lib1. Now I want to get GUID of ...
0
votes
1answer
259 views

Auto fill People Picker Column with current user in 2013 in new and Edit Form

I want to auto fill the new People picker column in SharePoint 2013. I want to do it in Edit and New form. It could be current user or anyother user.
1
vote
2answers
108 views

show Doc icon of SharePoint document library using jquery in jqgrid

My scenario is to show doc icon in Jquery Grid for sharepoint document library. My Data is in JSON. here is how i am fetching the data and building the array object and Pass it to JSON.Now in my ...
1
vote
0answers
48 views

SharePoint List filter web part - remember selection jQuery

I have a SharePoint list filter web part connected to other web parts which filters content based on the our clients names, everything it working great but I have one issues: When i select a client ...
0
votes
2answers
56 views

Can't access SharePoint List in document.ready function [closed]

A function (F1) has the implementation to access a SP list. This function gets executed and successfully accesses the SP List if this function is called in the click event of a button on the form. ...
1
vote
2answers
69 views

Populate navigation menu with ajax

I have a Sharepoint Online site with about 100 subsites. I want to populate the navigation menu with only the top 5 subsites and 2 static subsites. I created an empty navigation column named ...
0
votes
1answer
53 views

How to Cascade Lookup columns in sharepoint 2013

I have two lists called "ProjectManagers" and "Projects". In ProjectManagers list I have added some names in Title column. In Projects list I have created a column(Projectmanagernames) which is ...
0
votes
0answers
36 views

Autofill Text Column upon Selecting an Autocomplete Suggestion in New Form in SharePoint 2013

I have autocomplete working as far as it producing suggestions, I would like to fill the text field with the value of the autocomplete suggestion that renders upon entering the first few characters. ...
0
votes
0answers
37 views

How to add header labels between columns in list?

How to add a header label between columns in custom list new form or edit form using jquery or any other solutions? ex: Project name : textbox Project Management and Implementation Phase. ...
1
vote
0answers
34 views

Script Editor Web Part works but main page does not fires script sections

Like many question I have seen the jQuery document.ready works in the web-part during editing but not after I save the page. I found this code on SO and thought I run a couple of test to see what was ...
3
votes
4answers
549 views

Javacript only executed on first page load

I have javascript code included in my sharepoint site. When I load the page the first time, it is executed, but when I load it the second time, it is not running. It get's loaded in correct order but ...
1
vote
0answers
15 views

jquery plugin defaults with ajax.load [closed]

Im creating a jQuery (ajax.load) plugin which triggers the plugin based on a set data-attribuut. The value of this attribute overwrites the default setting. All works fine, but: 1) if the value is ...
1
vote
1answer
84 views

jQuery script for new list item form only works in edit mode

Newbie question. With Sharepoint Online, on a new List I'm modifying the Default New Form and I've added a Content Editor web part. I've linked the Content Editor to a script file that I've uploaded ...
0
votes
0answers
35 views

Running total of choice data from several lists

I'm using SP 2010. I have a few lists that have many of the same set of Choice columns. I want to be able to output a running total of how many there are of each choice from all lists. Maybe in a ...
0
votes
0answers
35 views

Slideshow web part with clickable pictures

I am looking for building a web part for slideshow with pictures being clickable. As of now I used picture library slideshow web part and it has ability to click on pictures and opens the picture on ...
0
votes
0answers
49 views

SharePoint 2013 List Box view customize web part display

I am referencing a list in a web part on a SharePoint page. In that web part I am using the "Boxed" view. However, I would like to customize the way that box looks a bit. Some examples would be to ...
3
votes
3answers
69 views

How to force PDF to get downloaded

I have developed a Windows 8.1 App using HTML5 and Javascript which is accessing the List, Libraries and Files from my Sharepoint site. Everthing is working fine except one issue i.e. The PDF files ...
1
vote
0answers
27 views

Problems with SharePoint DelegateControl

We have created a Delegated control for People Picker. Implementation Details: We have a ascx control which is using jquery Select2 plugin. This control is calling some webservice to get details. ...
0
votes
1answer
36 views

Jquery mobile rendering issue in webpart page

I have below HTML inside html file which is referred in webpart page CEWP. Though this works fine as independant html page, while rendering in sharepoint , it is somehow showing up data-ico attribute ...
0
votes
0answers
20 views

Change the language of the form data upon on selection of choice field

I have a list with a choice column that shows two values English and Spanish if Spanish is selected then the content below the form say "Hi this form is customized" should be translated Spanish ...
0
votes
1answer
58 views

How to apply a Date Filter on a list with JS

I have a Date Filter webpart connected to a List on page. I am setting the default value of the list with JQuery (it sets that value to the next Wednesday). Here's a jfiddle showing how we are ...
0
votes
1answer
46 views

SP 2007 - Make picture library thumbnail unclickable

SP 2007 / Moss: I have a picture library where I want to show the thumbnail in the list view but make it unclickable. Right now when I click on it, it goes to the display form. When I go into the ...
1
vote
1answer
53 views

Rest api add to select append sharepoint list is undefined

If alert view then OK, but is add code select append, not working - undefined Here is code: function getListItemById(webUrl,listName, itemId, success, failure) { var url = webUrl + ...
1
vote
2answers
96 views

jQuery - Hide empty field in a list

I have the code that hides empty fields in a list and it works great, the problem is it also hides the edit field and icon which I would like to keep, what would I need to change in the code to stop ...
1
vote
0answers
29 views

Change image name before uploading it to SharePoint library using Javascript or Jquery(Not Drop Zone control)

I would like to change the name of the image before uploading it to SharePoint document library. Below is the code i have written when an image is uploaded using HTML upload control. When the image is ...
1
vote
0answers
31 views

SPServices - open “view item” modal

NOTE: I'm begginer in SharePoint! Ok so my situation is like that: I have a list of Users, with multiple fields. For example there are fields like: Name, Title, Office, Phone and Email. Pretty ...
1
vote
1answer
75 views

How can i add css reference to app parts which is rendered in iframe from the master page

I have been trying to apply the CSS to Office365 App parts, the reference of the CSS is included in the header section of master page(which must not be tenant specific). I tried several codes. One of ...
0
votes
1answer
34 views

Building a To-Do List with jQuery and Local Storage

Hi i am working on a project to do task list where every thing work fine but i am not able to store data in list in following link data is store in var data = ...
0
votes
0answers
20 views

Easy Tabs in SharePoint 2010 & preservation of easy tabs for SharePoint 2013

I am looking into ways to implement easy tabs for the display of a master glossary for my team. I have a code but I am not sure where to put it either in the content editor web part or in the general ...
0
votes
1answer
38 views

Disable text box for few seconds after success message

I'm trying to disable a textbox/and button for few seconds after the "Send button" has been clicked and then enable it again as well empty the textbox. But it doesn't work out. I have an onSuccess() ...
1
vote
1answer
133 views

Using html2Canvas API to generate images of custom aspx pages

So I have an html table I'd like to convert to an image and I found a pretty neat API to do exactly this. It's called html2canvas. I have been able to use it pretty easily using HTML pages in my ...