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

learn more… | top users | synonyms

6
votes
0answers
69 views

JSLink in form tag is not working from schema.xml in my SharePoint hosted app

Here is my code from schema.xml <Forms> <Form Type="NewForm" Name="{65B105CA-E7D8-4B28-8C9F-5B0DCBA7E0CA}" SetupPath="pages\form.aspx" WebPartZoneID="Main" Url="NewForm.aspx" ...
4
votes
0answers
30 views

Sharepoint 2010 Advanced Search

This is the question related to the Advanced Search. The second Test Box value "The Exact Phrase is getting cleared", once I search the required Word Documents (like Alerts, and Result Type = Word ...
3
votes
0answers
268 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 ...
3
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 ...
3
votes
0answers
7k 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 ...
2
votes
0answers
30 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
83 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. ...
2
votes
0answers
183 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
367 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
1k 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 ...
1
vote
0answers
41 views

SharePoint DateTime Control Change Event

I have SharePoint DateTime control and I want to execute some code whenever the user changes the date using JQuery or JavaScript. Thanks
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 ...
1
vote
0answers
47 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 ...
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 ...
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. ...
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
30 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
0answers
50 views

Formatted count by topic

I have been searching for days and I have been unable to figure out if my wish is possible. I have a large list that contains an inventory of active items being utilized, with each item having an ...
1
vote
0answers
117 views

Smooth scrolling with anchors on Sharepoint site

I have a SharePoint 2013 site which I am trying to include smooth scrolling using jQuery. There is a menu which becomes sticky after scrolling past, and each menu item should highlight as it goes ...
1
vote
0answers
22 views

How to make a page automatically redirect if a field item called “arch” is yes or checked?

Edit: Apologies that was a bit broad. The list item is named "Redacted" It is a checkbox ( true or false ). If it is toggled to be true then when the page is loaded or was clicked on the user is ...
1
vote
0answers
27 views

SharePoint2013 Creating a visual Alert on the Tab of an updated RSS Feed when Multiple Web Parts are Tabbed

On my SP Page, I have 10 RSS feeds organized in Tabs via Javascript. When an RSS Feed is updated, I'd like to have some sort of visual alert for the user on the tab belonging to the RSS feed that has ...
1
vote
0answers
149 views

Can you connect Active Directory to SharePoint via JavaScript/ SPServices/ or SOAP?

I am trying to connect a AD to a SharePoint 2013 list form so that the SharePoint form is filled in automatically with data from the Active Directory (i.e. contact information). Is this possible? I ...
1
vote
0answers
52 views

Get the Checkbox checked status on submit button click in SP 2010 list form

Am using checkbox multichoice field in my newform.aspx and in presaveaction call am doing the below code: function PreSaveAction() { var dt3; var dt4; ...
1
vote
0answers
304 views

uncaught typeerror cannot read property 'spservices' of undefined

I am getting this error uncaught typeerror cannot read property 'spservices' of undefined when I opened the editform,aspx from my SP 2010 list form. I got this error when I examined the F12-Dev Tools ...
1
vote
0answers
22 views

Aggregate tasks across different sites and display them in custom timeline

I would like to build a timeline where I can aggregate tasks which are located in different subsites. While I was searching around I found this post and I thought to use REST. But my biggest concern ...
1
vote
0answers
273 views

how to show all search results using jquery Datatable?

I am searching lists using CSOM Search API and displaying the results using jquery DataTable. My problem at the moment is that my search returns 2134 rows in total, but search api has a limit of 500 ...
1
vote
0answers
167 views

jQuery not showing custom error messages in PreSaveAction method of sharepoint 2013 list “New Form”

I am validating sharepoint list fields on PreSaveAction method of sharepoint list new form. I have done some customization and have put some labels with error messages under the sharepoint formfields. ...
1
vote
0answers
122 views

Click promoted links tile to reveal another webpart

I have two sets of promoted link tiles. I've placed each set of tiles in their own webpart on a webpart page. What I would like to do is: 1. Hide the second set of tiles, and 2. Reveal the second ...
1
vote
0answers
82 views

How do i query date range comparisions in sharepoint 2013 list using JSOM

I need to compare date ranges the result should be between start date and end date. I am using Sharepoint:DateTimeControl picker and get the date using jquery, then converted date like startDate ...
1
vote
0answers
200 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
55 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
23 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
300 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
145 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
95 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. ...
1
vote
0answers
93 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
149 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
274 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
47 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
169 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
71 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
380 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
770 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
140 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
112 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
848 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
232 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
467 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
269 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
613 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 ...