0
votes
1answer
21 views

Cascading dropdown not working

I am trying to get cascading dropdowns to work on a list, but I seem to be missing a point somewhere. Please help me out. I have added jQuery and jquery.SPServices to my masterpage. The dropdown ...
0
votes
1answer
24 views

Filter DataView web part using SPServices

Ok, this is the issue: I have a Data View web part which I would like to filter depending the "office" the user logged in belongs. I can get this using SPServices (GetUserProfileByName): JS ...
0
votes
1answer
21 views

Display a single item from list in main site to subsite

I want to display a single(filtered) item from a list on my main site, to the homepage on a subsite. I've initially tried the CQWP but it was to limiting when it came to what fields it displayed by ...
0
votes
0answers
28 views

Error: The value of the property 'Menu_Unhover' is null or undefined, not a Function object

I would appreciate it if someone could help me out here. I have a SharePoint global navigation bar that I'm using in SharePoint 2010. Every time I apply this script, I get the following error ...
0
votes
1answer
80 views

Create Next and Previous Paging Using Sharepoint List and SpServices

can anyone help me in Creating Next and Previous Paging for SharePoint List Using Sp-services With Client Side Template Binding . Below is the Code Which I was Using. $().SPServices({ operation: ...
0
votes
1answer
77 views

Retrieve current site name (not url) programmatically?

I want to create a code that only generates a link for certain users in a group, but this group name changes across the many subsites that my users have. The group name = [Site Title] + ' Creators' ...
0
votes
0answers
58 views

Document Library EditForm that Saves then Redirects to Page with Query String

In SharePoint 2010, with a document library, the default editform resets the Source parameter in the URL which prevents you from navigating users back to source after selecting the Save button. This ...
2
votes
1answer
113 views

CORS with SPServices + jQuery

I need to access from a different domaine on a mobile a sharepoint list. Here is my code, a simple get request : $.support.cors = true; $(function() { $().SPServices({ operation: "GetListItems", ...
1
vote
1answer
252 views

2013: Trying to pass jQuery user object to AngularJS

I am creating a SharePoint Hosted App and the default Visual Studio project uses jQuery to access the SP.clientContext to get_currentUser and save it in a global variable. To trigger an AngularJS ...
0
votes
0answers
56 views

Start Workflow with Initiation Form via Ribbon

I want to start a workflow for selected items using JavaScript and a custom button on the Ribbon. I was able to get this working with the help of SPServices. In essence I needed to get the item id, ...
0
votes
1answer
84 views

Wait for completion of SP.RequestExecutor [duplicate]

I am using SP.RequestExecutor to add attachments to a list item. I followed Can't upload a non-text file to SharePoint App via REST API I need to wait the completation of the asynch call of ...
1
vote
2answers
56 views

Best way to implement “.exists”-type functionality to prevent duplicates?

I'm moving files with spservices (the jquery plugin) and was wondering if there was a good way to check to see if a file with the same name already exists so I can append an underscore or something ...
0
votes
3answers
392 views

Use CAML query based on ID to retrieve a file name?

With jquery and spservices, I use getSelectedItems to retrieve the IDs of a few documents. Can I have a loop which goes through a caml query for each of those IDs to retrieve the file name ...
0
votes
1answer
119 views

Proper way to check for failed SPServices call?

I'm running a SharePoint method with SPServices that should copy several items. I just noticed that the return value is "Success" even when I've specified an invalid location and nothing has actually ...
2
votes
3answers
87 views

SPServices is the Document Checked Out SP2010

I was wondering if anyone knew how to tell if an item has been checked in or out from SPServices? I am able to get all of the nodes but I do not see one which captures the checkout. Is there a way ...
2
votes
1answer
37 views

How to store “stream” and “fields” paramters properly

I'm trying to use the GetItem method to use for copying documents, but I'm not having luck with the field or stream parameters. Below is an example of how I attempted to store each of them. When I ...
0
votes
0answers
106 views

How to copy document from library to list attachment with SP Services?

I need to attach a document that is stored inside a document library to a list item on the same webpage. All needs to be done with javascript / jquery / spservices. Can you please help me and show ...
0
votes
1answer
615 views

Add new item to child list and refresh the parent form - multiple lookup

I've created a parent list (Vendors) and a child list (software list). There can be multiple vendors for one piece of software. I've created a custom new form with a link which opens up a modal to add ...
0
votes
3answers
431 views

Populate dropdownlist with only active and checked in vehicles using javascript

I'm not sure if this can be done or not but I'm creating a vehicle reservation site and need to populate a dropdownlist with only cars that are both active and not requested for the same period of the ...
2
votes
3answers
138 views

Need a way to identify files which have no checked in version

I wrote a script that traverses a collection, it's document libraries and gets a list of all files. I'm trying to find all the documents which do not have a checked in version and require a user to go ...
1
vote
0answers
46 views

Unable to get related information from related list and display it on textbox on parent list using logged in user

I have two lists Created for my leave application in sharePoint. I need related information's come from related list (Leaveinfo) and display it on the textbox in Parent list (LeaveApply). I have ...
0
votes
1answer
237 views

Add showWaitScreenWithNoClose to SPServices GetListItems

With a button on page which calls the function createListItems() which is added to the page as a link in a CEWP. The function takes 10-25 seconds to complete (get items from one list and add them to ...
1
vote
1answer
1k views

How to get file or list item icon in SharePoint 2013 using javascript

My requirement is i have to display files from document library with images using javascript object model or spservices. pls let me now is there a way.
0
votes
2answers
147 views

Access DVWP z:row with Javascript [duplicate]

I need to loop through the z:row of a Data View Web Part on the client using JavaScript to push to an array and then use the JavaScript CSOM to create a new list item in an existing list. var ...
0
votes
0answers
93 views

Trying to get list of groups a user belongs to

I came across this post showing how to create a permissions management webPart using SPServices. I tried to do it in SP2010 but keep getting error " User not found". I think it has something to do ...
1
vote
1answer
574 views

SPServices Autocomplete and dynamic CAML query

I have two Text filter web parts (Project and Customer Name) with Apply Filters button for one list. There is a SPServices.SPAutocomplete on each and it works great. Now, I want to show the values in ...
0
votes
1answer
588 views

SPServices - GetRolesAndPermissionsForCurrentUser

I have a list where one group of users is not allowed to delete items but they have view and edit permissions. All items in the list contain an attachment. However, users are not allowed to delete the ...
1
vote
2answers
1k views

Attachment Upload using SPServices and Not the JS File API

I am trying to figure out how to use the SPServices JS library to upload a file without using the HTML5 JavaScript file API. This is specifically targeting IE9. I have a solution that works with all ...
1
vote
1answer
170 views

How to pass arguments to SPServices function request?

In SPServices library, I make a search request using: $().SPServices({ operation: "Query", queryXml: queryText, completefunc: searchComplete }); function searchComplete(xdata, status) { ...
0
votes
1answer
400 views

How to use SPServices search sql query - getting malformed query

I am using the SPServices javascript library to make a search request to sharepoint 2010 search. I am trying this query: queryText = "<QueryPacket xmlns='urn:Microsoft.Search.Query' ...
2
votes
1answer
2k views

Add New List Item with SPServices anonymously

I have an HTML5 + jQuery application with a built in contact form that I wanted to hook into Sharepoint, and Lists seemed an ideal way to do that. I used the jQuery library SPServices to get this up ...
1
vote
0answers
55 views

Display New item Icon with SPServices

I want to display the New Item Icon with SPServices or using custom Javascript to show a new item icon for n days when Created. I achieved this using XSL. Thank's to Mark ...
-1
votes
1answer
453 views

SharePoint Client-Object-Model - Return List Item Counts by Created Month

Looking to get monthly totals of items from a list using the SharePoint COM/SP Services. My intention is to pass this data to a D3 chart.
0
votes
3answers
2k views

'SPServices' is null or not an object

I need to find out if logged in user belongs to a specific sharepoint group (2010). I am using below code to get it. but getting javascript error as 'SPServices is null or not an object'. ...
2
votes
1answer
611 views

How can I get specific SharePoint site GUID using javascript/jquery

For example: I have a site under this url: http://intranet.contoso.com/news When I open it i would like to read it's GUID for future use in my custom AssetPortalBrowser.aspx url picker. Thanks!
2
votes
1answer
42 views

SP Tools help - Not returning results

I have downloaded SPTools from github, and have followed the directions of uploading the files to a Document Library. When I try to open the index.html file from the document library, I get prompted ...
4
votes
4answers
4k views

Multiple Values in CAML query from Array? SharePoint 2010 using jQuery/SPServices

So if I use SPServices to GetListItems with CAMLQuery, is it possible to insert multiple values inside Value Type='Number'> here I would like to evaluate things throught a flow in my page, add to an ...
0
votes
1answer
1k views

SPServices: How would I add Ascending=False to CAML in GetListItems

How would I use SPServices GetListItems and still be able to add Ascending=False to the CAMLViewFields? I haven't used this for long and I am just wondering if this is possible? Thanks as always!
1
vote
2answers
3k views

SPServices GetListItems don't work most of time

I'm using SPService in a list for take some information from an other list. It works just sometimes... I need to refresh lot of time before it works .... Here is my code : <script ...
3
votes
2answers
7k views

SPService GetListItems with CAML : can't get example to work

enter code hereI am using an example I found on codeplex of SPServices with CamlQuery to try to get list item values with where clause on the ID. For whatever reason this doesn't seem to work for me; ...
0
votes
1answer
176 views

SPServices: Using variable as column name - possible?

When using SPServices, is it possible to use a variable to specify the column to be updated? res = lists.quickUpdateListItem('MyListHere', { ID: ReqD, columnVar : userName }); In the above ...
2
votes
1answer
4k views

SPServices: trying to learn how to use this and jquery, help with example

So I am trying to learn these both as I read nuthin but great things all over the place about them. So this is what I have from example on codeplex: <script type="text/javascript" ...
3
votes
3answers
485 views

jquery projects and visual studio best practices?

Just curious how others are handling their jquery related solutions. It's obviously very easy to add a Content Editor web part with a content link to a source file. That file could have your ...
0
votes
1answer
2k views

SPServices UpdateListItems Will Not Update Target List

I'm trying to copy items from a list in one site and update/paste them into a list in another site, but I can't get it to work. Please help. I have my references to jQuery and SPServices in the master ...
3
votes
1answer
2k views

Getting Version History and What Field has Changed

I am using the GetVersionCollection to get the history information from my list. This seems to be working fine; however, what I need to do is get the version history of the individual item which has ...
0
votes
2answers
2k views

How can I retrieve list items from a subfolder using spservices?

I have a document library with subfolders containing images. I'd like to traverse the subfolders and grab the URLs of those images so that I can display them on my little js web app I'm whipping up. ...
2
votes
1answer
6k views

How can I pass a Parameter via Query String to populate a lookup field on a New Item Form/DVWP?

I have two lists: List A: Products List B: Requirements I'd like to have a nice Create Requirement page launched from the Product Listing page. I have a DVWP/Multi-Item View displaying all ...
1
vote
0answers
177 views

SPServices to retrieve the last record of repeated section data inside Sharepoint library

I have a Infopath that contain 2 fields which I put it as a repeating section as shown in the picture below (for the time being - please ignore the error) How do I retrieve the last record of a ...
3
votes
2answers
2k views

SPservices to retrieve version history of items in SharePoint List 2007?

May I know how can one use SPServices to retrieve all the version history of a particular items in a SharePoint 2007 Server List? (If it is not possible via SPServices, are there other Javascript ...
1
vote
3answers
1k views

Customizing the NewForm.aspx of the SharePoint 2007 List?

I have a sharepoint 2007 list and it has 6 site columns, want to have two modes of newform.aspx page. When user clicks on Newitem, it should display only 3 site columns and there should a link to the ...