Questions tagged [spservices]
SPServices is a jQuery library which abstracts SharePoint's Web Services and makes them easier to use.
563 questions
0
votes
1
answer
159
views
spservices or JSOM SCRIPT5007: The value of the property 'documentGetElementsByName' is null or undefined
I receive the following error when I run my code in SharePoint 2010 site. I am using JSOM and spservices. Below is an excerpt of my code.
$(document).ready(function () {
SP.SOD....
0
votes
1
answer
277
views
ReferenceError: 'x' not define (only in firefox but not in ie)
I'm using SharePoint 2010
The following works in IE browser but not in Chrome or firefox. In firefox, I get this error
"ReferenceError: itemIDPPD is not defined"
Anybody know why?
$(...
0
votes
2
answers
2k
views
Sharepoint Online - 3 Level Cascading Dropdown - Stops working on addition of 3rd Level
I've been browsing and looking for tips here on creating a 3 level cascading dropdown on Sharepoint Online (O365 and Sharepoint Designer 2013). I've been able to get a 2 level one working perfectly, ...
3
votes
2
answers
766
views
SPServices not returning data - List access Error
I'm trying to access the contents of a library on SharePoint and I can't because the ajax call is returning some kind of error I can't understand.
I hope someone can help me !
The error is the ...
0
votes
2
answers
1k
views
SPservices get Values from calculated column
I'm using spservices in SharePoint 2010 to get items from a list, and a want to retrieve all items from this year but i don't get anything.
This Year column is a calculated type from the created ...
0
votes
2
answers
30
views
I am trying to achieve autosuggestion functionality using jquery for SharePoint but not working [duplicate]
I am trying to achieve autosuggestion functionality using jquery for SharePoint but my code does not go fire the operation: getlistitem it directly jumps from there and goes to the input code
<...
1
vote
1
answer
643
views
Sharepoint 2010 SPServices
I'm using SharePoint 2010 and SPServices to retrieve the elements of a list, but no all items,
My list have these fields:
Year: calculated column
Month: Choice column
Company: Line of text
...
0
votes
2
answers
859
views
SharePoint SPServices query and sum list items
I have 3 dropdown menus, in those 4 fields I have choices to query a SharePoint 2010 list using SPServices
Dropdown filters are: Year, Month, Company
List fields are: Year, Month, Company, ...
0
votes
2
answers
388
views
SPServices not retrieving populated Lookup Fields
I have been searching the Internet for a solution, but from what I can tell, I am doing everything correctly. I have a List that has a lot of Lookup Fields. I specify all of the fields I want to come ...
0
votes
1
answer
603
views
Query List with Geq Today Condition using CAML/SPServices
So I'm using CMAL and SPServices to query a custom Events List to an HTML table. It works just fine with just a SortBy tag with the following code:
function getEventList()
{
var method = "...
1
vote
1
answer
2k
views
CAML query order by not being applied with SpServices GetListItems
I am trying to use SP Services to get a filtered and sorted list of data. My service call looks like this.
var query = "<Query>" +
"<Where>" +
"<Eq&...
0
votes
1
answer
153
views
I am a beginner in SharePoint. What is the use of this code? [closed]
<div class="comnsection events">
<div id="e1" class="tb-cont">
<div class="scroll01" id="content-ltk2">
</div>
<div class="vall">...
3
votes
2
answers
6k
views
SPServices.SPCascadeDropdowns
I need help with SPServices.SPCascadeDropdowns. I need to create 3 level cascade dropdown fields. But I have some problems with it, so I need help.
Here are my lists.
First lists is PrimaryDomains, ...
1
vote
2
answers
2k
views
SPServices GetListItems to parent site in SharePoint Online
I'm trying to use spservices getlistitems to read a list on the root site. This is to populate the navigation for a custom master page so the navigation list just exists on the root site : i.e. http://...
1
vote
0
answers
616
views
Unable to get property 'SPCascadeDropdowns' of undefined or null reference [duplicate]
I am Implemented Drop down cascading in SharePoint online list.
I have used below code,its working in Google Chrome browser but it shows error in IE browser and Firefox browser
Error: Unable to ...
4
votes
1
answer
3k
views
getting Failed to load resource: the server responded with a status of 500 (Internal Server Error) while using SPServices()
here am trying to get reccurring events from calendar list with the help of SPServices i have a code as shown bellow,but when am using the bellow code it is giving me erroe as
"https://MYURL/Scripts/...
1
vote
1
answer
680
views
Print list item in a custom template
I'm using SharePoint 2010 and in one of my list I have information about clients (name, adress, phone number, ...) and I need to print each item in a template like this:
The client (name), living ...
0
votes
1
answer
3k
views
Download link for SP.Search.js
I going to create Keyword search using JSOM. So i want some reference files to accomplish this. Please share the download link for the below files
SP.Search.js
SP.RequestExecutor.js
SP.runtime.debug....
0
votes
1
answer
320
views
Sp-services code does not work in content Editor
I am using SPservices cascading dropdown as mentioned below in Sharepoint 2013.
This works fine when I enter the code SharePoint designer asp content head section. But it fails when I try to add the ...
0
votes
2
answers
1k
views
SPServices.SPAutocomplete cannot read property 'find' of undefined
I have created a SharePoint page and inserted text box using content editor web part with title of FilterTextBox
<input type="text" title="FilterTextBox"/>
and I have inserted below script ...
1
vote
1
answer
881
views
How to get list item value to use in CAML query of SPServices function
I'm using SPFilterDropdown in a NewForm for a drop-down list which will be huge. I'm using the cascaded dropdown function (SPCascadeDropdowns) to reduce the size but I'd also like to filter the list ...
1
vote
1
answer
385
views
Dismount and Mount of social DB, Sync DB and Profile DB on SP 2010
We need to mount production DB's of user profile service to Dev environment. We have already restored on SQL dev.
Now our intention, how to dismount existing DB's of user profile service and then how ...
0
votes
1
answer
1k
views
How to fetch all the data from list and store in my JavaScript array in SP2013 designer
When I open my list form that time I want to fetch all the data from the contact list and store in my javascript array.
3
votes
0
answers
102
views
How can I use SPServices to filter the data in SharePoint 2013 Designer?
I have one external data type column where I fetch the customer list from database I want to show only those contact in next text box field which is relationship with customer.
3
votes
1
answer
458
views
how to get AssignedTo user's email id from the current item using SPServices
I am just starting to use SPServices and have no idea how to get the current item/task assignedTo user's email id. I was searching for 2 days and didn't find a proper/easy solution. I am trying to get ...
1
vote
0
answers
422
views
Using SPServices to get Choice Column options
I would like to create a custom modal that has the same drop down items that are contained in the choice column when adding a new item. My page is a custom .html and does not load the default ...
1
vote
1
answer
437
views
An Issue with SPCascadeDropdowns
I created Three Lists :
Countries {Title}
Regions {Title,Country(Lookup link with Title of Countries List)} and
States {State,Region Name(Lookup link with Title of Regions List), Country Name (...
1
vote
1
answer
307
views
Read List Sharepoint Online in a Add-ins
What is the best method to read data of a sharepoint's list with a solution sharepoint online, I tried already method SPservices() and Rest/API but I obtains errors.
4
votes
3
answers
753
views
list does not exist when I call spservices() / GetListItems
I'm starting to develop in SharePoint Online, but I don't arrive to do work spservices() with GetListItems().
I have create an application with napacloudapp
In this application I have put that :
&...
0
votes
2
answers
671
views
SharePoint Service Application Account Change Powershell Script Error
I am trying to change the manged accounts for SharePoint 2013 service applications. Here is how I am using my powershell scripts
$svc = Get-SPServiceInstance -Server DEVSP01 | where {$_.Name -eq "...
1
vote
2
answers
685
views
SPServices : Write data into a list with UpdateListItems
Context : I was trying to use UpdateListItems to write some html textbox data into a custom list. The list "Cabinet" contains 13 columns and has already a line of data, only the first column ...
1
vote
1
answer
499
views
Method to get list headers & filters via jQuery SPServices CAML GetListItems or similar?
Is there a method similar to GetListItems to grab the column headers and/or filters for a list? Or a way to use GetListItems to get that information?
1
vote
1
answer
887
views
how to prevent duplicate values for people and group column sharepoint 2010
I've column in a list where we are adding the user name(column type = user and group). If the user is already added in the list and same user if I want to save I should get error message user already ...
1
vote
1
answer
681
views
CAML Query is not filtering anything when using a Person or Group type column
I'm trying to get a list count based on the CAML query below, but it keeps returning zero. It should return the number of projects assigned to a designer (person or group type column) which their ...
1
vote
0
answers
71
views
Trying to compare People Picker entries and Created By on EditForm SP2007
I am trying to compare the value of a People Picker with the Created By on the EditForm. I wish to hide entire rows based on whether the Created By equals the People Picker value.
The kink I think, ...
3
votes
1
answer
2k
views
How to start a "Workflow 2010" with CSOM in Sharepoint Online [duplicate]
I am creating a workflow that sends an email to internal & external users.
Since, in sharepoint Online, workflows are not allowed to send emails to external users. It is not the case in "workflow ...
1
vote
2
answers
510
views
SPServices Update command not using ID
Is there a way to use SPServices update command that is not using the ID as the reference field? I might use employee ID but I cant seem to get it to work. This code below shows when I am using the ...
1
vote
0
answers
297
views
SPServices SPCascade not working in Chrome
I am using SPServices (Version : 0.6.2) with jQuery version v1.6.4 in SharePoint 2010 environment. I am using SPCascadeDropdown function to bind dropdown. It works well in Internet Explorer and ...
1
vote
0
answers
55
views
SP2010: Simply need to figure out why my SPServices UpdatePermissions call reports success but permissions remain unchanged
Examples of how to use this UpdatePermissions or AddPermission call in JavaScript alone would be awesome and appreciated, but of course any clues or information with regards to my main question would ...
0
votes
1
answer
803
views
Spservices autocomplete with many columns
Could somebody advise how can I make autocomplete for multiple columns, currently I'm using it for one column:
$().SPServices.SPAutocomplete({
sourceList: "My list",
sourceColumn: "Email",
...
1
vote
1
answer
2k
views
How to add images to survey radio buttons?
I need to add images to each response in sharepoint 2013 survey like this:
I had no problem with question image. I just added string "image1" to question and then in jquery switched html like this:
...
1
vote
2
answers
2k
views
How to access custom property from User Profile using jquery
Environment : SP 2010
I have a custom property in User Profile called CompanyCode.
I need to fetch this property using javascript/jquery in a master page. Can anyone let me know how to fetch custom ...
2
votes
0
answers
172
views
SPServices returning no items [closed]
I'm using a SPServices operation form to get list items. The code is as below:
NWF$().SPServices({
operation: "GetListItems",
async: false,
listName: "listname",
CAMLQuery: "<Query>&...
1
vote
1
answer
215
views
Programmatic link to directly open Office Documents
When a view that has links to Office documents is added to a webpart the click event opens the document directly. But when the link is built using CAML and SP the click evokes the "Do you want to open ...
3
votes
1
answer
11k
views
Loading multiple SP.SOD.executeFunc('sp.js', 'SP.ClientContext', functionname);
Share experience
As recommended in various posts I changed the way the functions load from
$(document).ready(function() {
functionName();
});
to
SP.SOD.executeFunc('sp.js', 'SP.ClientContext', ...
2
votes
1
answer
1k
views
Display attachments for each list item
I am trying to achieve something like this:
Each list item have attachments (at least 1).
For now I have code which display all attachments with titles but I don't know how to modify this code to ...
0
votes
1
answer
4k
views
SPServices.SPGetCurrentUser does not work on subsite level?
I am using SPServices to get current user like this:
var user = $().SPServices.SPGetCurrentUser();
This works fine in the main site, but when I use the same line of code in subsite, I get:
...
0
votes
1
answer
3k
views
Bootstrap Carousel with jQuery to query the images from Picture Library
I am having trouble having the jQuery to fetch the images from the Picture Library in SharePoint and display on bootstrap carousel. I'm very new to this functionality using jQuery and I think I am not ...
0
votes
1
answer
26
views
Getting the site collection url for 2007 to O365
I'm trying to figure out how to get the site collection url for any version of SharePoint, not sure which method would be the best
I figure using window.location probably isn't reliable, ...
0
votes
1
answer
504
views
how to get the large thumbnail of picture url
how can I get the Large Thumbnail of user picture,because by debaut it give the Medium:
$().SPServices({
operation: "GetUserProfileByName",
async: false,
webURL: ...