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

learn more… | top users | synonyms

3
votes
0answers
227 views

Can zRSSFeed handle HTTPS RSS Feed from SharePoint?

I'm working on an internal website for my organization. The Company uses SharePoint to allow orgs to create their own blogs. I created a blog (in addition to a website for my org). I am now trying to ...
2
votes
0answers
15 views

Restrict Adding User to SPGroup Based on a User Property

I have an SPGroup that has permissions that are common to several users but my requirement is only one user (of a given parameter) should be in this SPGroup. For example, I have a list of Company ...
2
votes
0answers
128 views

Check whether user belongs to sharepoint group, which consists of distribution list as members

I have a distribution list, which is added to a SharePoint group. I need to determine whether the logged in user(Who is part of the distribution list) is part of the SharePoint group. this needs to be ...
2
votes
0answers
281 views

SharePoint InputFormTextBox returns javascript error while changing its position

I have created one aspx page for implementing the edit comments of the form. For this I am using the SharePoint InputFormTextBox control. I have a total of 4 Divs each containing one InputFormTextBox, ...
2
votes
0answers
827 views

Filtering SharePoint list items that have multiple values using jQuery

I have a SharePoint list that contains multiple columns of information. There’s a Category column that’s a look up to another list called ‘Category’. This is to produce unique ID’s for each of those ...
2
votes
0answers
2k views

Why Sharepoint FormField's ID is parametrized and how it can take different values after its initial creation?

In SPD 2010, on designer surface of a web part page I insert DataFormWebPart by: "Current Data Source" ("Data Sources Details" Task Pane) --> choose rows --> "Insert Selected Fields As.." --> "New ...
2
votes
0answers
6k views

How to use SPServices jquery to add new item

I have a list and I would like to have a link on each item (dynamic) that I can click to insert some data to another list. What I'm after is to get some data when a user clicks an item. (Kind of to ...
1
vote
0answers
31 views

Can't load google maps JavaScript file in SharePoint hosted app

I am building a SharePoint hosted app where I am retrieving the user's location in coordinates. I am trying to reverse geocode these coordinates using google maps api. But I can't load the google maps ...
1
vote
0answers
17 views

Save the Webpage content as document to Document library in SharePoint 2010

We have a requirement to save the webpage content as document (PDF/XPS/Image) to SharePoint Document library on a button click. Only client side scripts (Javascript/Jquery) are allowed to acheive ...
1
vote
0answers
16 views

Function call in selection event

I want to call the following function in a selection event function name calcDay(). var p = getList("Compulsory Leave"); When i put it inside the selection event function it generated error : p is ...
1
vote
0answers
83 views

SharePoint Online Lookup Dropdown Autocomplete/Combobox

I have a list in Sharepoint Online, which has a lookup to an other list. No matter what, on the form it will always render as a dropdown value. When this list of values becomes huge, it's hard to find ...
1
vote
0answers
45 views

Can I programmatically access the values and modified dates for appended column entries?

I have a Projects list with a multi-line text column named Progress Update set to "Append" to create a record of updates. This appended Progress Update column saves a "blank" value when a list item ...
1
vote
0answers
47 views

Infopath 2010 form in Sharepoint 2013 modifying values before save

I have a really complicated problem that I haven't been able to find a solution for and was wondering if anyone can provide some suggestions. Background: I have a SharePoint list that contains 2 ...
1
vote
0answers
102 views

How to get Web Application url in SharePoint 2013 in Javascript?

I'm looking for a "beautiful" and the fastest way to get only the web application url (don't want to trim or substring or anything else).
1
vote
0answers
50 views

Calendar - Only display available resources

I have a resource calendar. Is there a way to limit the resources based on the date user picks when they want to reserve a resource. For example, user clicks on 1-26-2015 date and conf room 3, 4, and ...
1
vote
0answers
89 views

Please guide me how to add jquery in Page Viewer web part?

I have added a Page viewer web part on a page. and call other SharePoint web page. I need to remove menu bar etc on this page. I got a below Jquery code from this portal. <script ...
1
vote
0answers
151 views

SP:2010 Hide column based on value display column

SP2010 Have an edit form, with a multiple choice column titled [Required] that is set as display. I'm trying to use jquery to hide certain columns based on the value of Required. Example. If ...
1
vote
0answers
40 views

addEventListener compatibility issue in IE

I am trying to using this plugin in sharepoint 2010. http://tympanus.net/codrops/2013/07/30/google-nexus-website-menu/ But in IE 8 and older versions, its give me some 'addEventListener' and ...
1
vote
0answers
108 views

ListNav plugin and sharepoint list not working for me

Im trying to use this plugin to filter through an employee list but until i hard code the HTML its doesnt match any entries :( Im using ajax to write out the data to suit the html and im sure my ...
1
vote
0answers
54 views

Sharepoint 2010 metadata filters- Driving from a link or script

The "old style" list filters in Sharepoint List views (e.g. when the user clicks on a column to filter or sort on column values) use an http GET, so the filter paramaters are transmitted in the page ...
1
vote
0answers
184 views

ValidatorEnable jquery function not working for people picker validator

I have a form with a dynamically generated people picker control, that is required if the checkbox above it is selected(not required otherwise) This is how I created the control. var people = new ...
1
vote
0answers
53 views

How to query “Followed Count” for each user?

I found follow this REST API: http://msdn.microsoft.com/en-us/library/dn194080.aspx#bk_FollowedCount By using My/followedcount, I can get current user's count of items he or she currently following. ...
1
vote
0answers
521 views

Force PDF to open in new window/tab

I am using SharePoint Foundation 2010 and attempting to have my PDFs open in a new tab or window. I have been able to get this to work from document libraries by using jQuery. You can see this code ...
1
vote
0answers
107 views

content editor script isn't working on list view page

This is very strange. I have a script attached to a content editor that spruces up the status column of a particular list. However , I'm trying to achieve the same thing with that particular List's ...
1
vote
0answers
95 views

Update CEWP without refreshing page

I have a webpart which contains 3 charts. The charts are built using google's chart API and SPJS Chart The problem I face is that I'm trying to get the charts to seamlessly update as the list gets ...
1
vote
0answers
676 views

How to filter a list view by SP group membership (CAML, JS, anything)

I have a list. I need to filter the list view in SharePoint to show items: created by someone in current user's group show all to admin group I am using Infopath for the list's form view, and ...
1
vote
0answers
186 views

css issue when using from SP2010 to SP2013

I have one content editor webpart, in the document library view page which freezes the header row. It works fine when using it in SharePoint 2010 environment. But when I moved that CSS to SharePoint ...
1
vote
0answers
370 views

SharePoint Input Form Text Box Menus With JQuery Tab

The question is about mix of both JQuery Tabs and SharePoint Input Form Text Box. My client requirement is to have a web part zone on the top and couple more in the middle wrapped with div that JQuery ...
1
vote
0answers
187 views

executeAsync strange behavior - sharepoint rest services

I'm using Sharepoint Rest services to update List Items. To do the update, I'm using the function executeAsync from the SP.RequestExecutor object. The code was working fine, but while I was testing it ...
1
vote
0answers
513 views

SharePoint 2010 edit item popup, fullscreen with jquery?

I have sharepoint 2010 portal. In this portal I have some libraries maded by a custom library template. This custom templates shows an example of the pdf file If you open it in the edit form. The ...
1
vote
0answers
217 views

update xml file within doc library using jquery ajax

I can read values from xml files that are posted within a document library using jquery ajax, but can I update those values then save/post them back into the document. i.e. can I update the contents ...
1
vote
0answers
173 views

Make Webpart connections to work when a dropdown value is changed

I have a simple newform.aspx which has Employee as a textbox. During onload of the page, I assign this with currentuser. On the same page, I have a webpart created using sharepoint designer that ...
1
vote
0answers
168 views

Updating a value of any item in a list based on a selection of bool for one item - jQuery

So I hope this makes sense. I have a column within a list that I want to use as an active flag. There are 5 possible categories and for each category there can only be one active value. So I need some ...
1
vote
0answers
126 views

How to Reconcile External Data and Multiple Values for a List Item?

I am currently developing a solution that requires me to integrate a SharePoint 2010 list (generic list type) with items from a SQL Server database. In addition to this hypothetical field being ...
1
vote
0answers
359 views

How to get lookup field text column to display as an image in a view?

Wonder if anyone can help. I want to add a category choice field to a SP2010 Announcements list. The category choice is a lookup field to another list. The other list contains the categories and a ...
1
vote
0answers
412 views

How to get column data value in an array using Javascript (No .Net coding)

I am working on Sharepoint 2007 and I have a Sharepoint Document library having 3 columns namely : Type, Name, Modified BY. Column "Name" is having all the folders inside it. On clicking the folder, a ...
1
vote
0answers
623 views

how to handle jquery effects after pagination

I have a jquery effect that manger hover events on images in a Data View Webpart. When the page loads the hovers work find in the table. But when I click next to paginate to the next set the hovers ...
1
vote
0answers
2k views

Calling a WebMethod defined in a Publishing Page Layout

I'm trying to define a WebMethod in one of my Publishing page layouts. This WebMethod is intended to be called when a user takes a specific action in an Editor Part in a Visual Web Part, however, ...
0
votes
0answers
19 views

Text box event handled by jslink and jquery

I have created my own Text box control using jslink in SharePoint on NewForm.aspx. i want to handle text changed event in jslink. I have given my code below .. (function () { // ...
0
votes
0answers
21 views

editform jquery value returns undefined

I've added the following code into a CEWP part at the top of the Editform.aspx page (using SharePoint 2013) <html> <script src="https://oursites/jquery-1.11.3.js" ...
0
votes
0answers
24 views

SharePoint 2013: JQuery functions not working in Page Layout

I created Page layout using Design manager and added required content within "pageholdermain" and added reference to CSS and .JS files under "PlaceHolderAdditionalPageHead". The CSS styling working ...
0
votes
0answers
9 views

Change Site Collection Home Link in Global Navigation

I have a script using jQuery that allows me to change the Text of the Site Collection Root in the Global navigation. By default, I always set it to, "Home" using the following code: <script ...
0
votes
0answers
19 views

SharePoint 2013 - Display Hyperlink Field using JQuery/Datatables

I'm trying to display a Hyperlink field in a table using JQuery & Datatables. However, I'm getting the following error message response: DataTables warning: table id={id} - Requested unknown ...
0
votes
0answers
8 views

Cascading Dropdown using JSLink

I have created custom dropdown in newform using JSLink. Both are working fine. Now i want to make cascading dropdown. I searched a lot but i got using SPServices and other third party JS. I want to ...
0
votes
0answers
16 views

Can I load the contents of a webpart from another site?

Say I have a content editor webpart in one of my sites. Is it possible to load that webpart's content from another site inside the same install of SharePoint ? I tried using jQuery load with the ...
0
votes
0answers
6 views

using slidorion plugin slider in sharepoint

Im using this jquery plugin slider in Sharepoint.When i hardcode the html inside a script editor or CEWP it works well. But when i load the html dynamically from a list. It doesnt work and render ...
0
votes
0answers
18 views

Sharepoint 2010, Jquery to get User Image from mysite on seperate server

I am working within an environment where I only have HTML rights and cannot run shell commands or access master pages. There are 2 sites. a SharePoint 2013 mysite and the 2010 SharePoint site. ...
0
votes
0answers
21 views

Add multiple items to a list

Need a form like a datatable where a user can add multiple items and the press submit, this then creates individual items in a list. The fields are of different types which include lookups. One of ...
0
votes
0answers
17 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
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 ...