1
vote
1answer
34 views

Display loading/processing while processing using CSOM

My current implementation includes following, User adds an item, once saved it is redirected to the display form of the same item. I have implemented this requirement using below steps. On ...
2
votes
3answers
165 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
1answer
278 views

Button to Show/Toggle Sharepoint Ribbon

I would like to add a button to a webpart we have already created that increases usability for our document libraries. I would like this button, when clicked to toggle the standard ribbon that is ...
1
vote
2answers
968 views

Upload to DocLib with jQuery (and REST) without HTML5

Uploading Documents to SP 2013 with jQuery and REST work just fine (Properties when uploading Files using REST in SP 2013) but these methods require a HTML5 compatible browser. The problem is now I ...
0
votes
0answers
100 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 ...
0
votes
1answer
125 views

Sharepoint 2010 Javascript Client OM, get user data (not current user) via javascript object model

There are plenty of examples of getting the current user via javascript object model in SharePoint 2010, but I am looking for help with getting any users email/title when I have the loginName. There ...
1
vote
2answers
291 views

Javascript Object Model; possible to return whether item has permissions under inheritence or not?

So if I am using the COM/JSOM, and normal GetListItem, can is there something I can add to the Include method, that will allow me to see if the item returned has permissions under default inheritance ...
0
votes
1answer
654 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 ...
0
votes
1answer
332 views

Javascript Object Model REST/AJAX: does callback/resulting function have access to the id of newly created item

so if I use rest like method to create a list item in javascript, can I get the id of the newly created item in the callback/result function? function createNewRecord(url, body, callback) { ...
0
votes
1answer
1k views

Jquery is not working on sharepoint date time control

Hi In my application page i have a sharepoint datetime control. I am using jquery on text changed event to calculate the number of days and displaying in a text box. Now i want to fire the same event ...
0
votes
1answer
249 views

How to get the list item column values based on the html drop down and display in the alert box using Javascript?

I have a html dropdown list(team name) which contains three values A,B,C I have a sharepoint 2010 List A which contains Team name and Email. List A Teamname Email A A@test.com B ...
1
vote
0answers
237 views

How to get the distinct values from sharepoint list using GetListItem and bind to dropdown?

I am Passing the XML for getting List item and binding to dropdown. Here i have shown the code.. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ...
0
votes
2answers
68 views

JQuery on SharePoint 2010

What are the business case scenario when JQuery controls are used in CSOM programming in SharePoint 2010? I mean what are business case scenario when JQuery frequently used in SharePoint 2010? Which ...
2
votes
2answers
309 views

SP2010: Get all library names within a site using javascript client object model?

How do I get the names of all libraries within a given site using jquery/javascript? the only way i know of is using getByTitle('listtitle'), but I would like all names of libraries (hopefully there ...
0
votes
1answer
258 views

sharepoint 2010 rest api javascript error: 5009 sys is undefined

I am running into something that I haven't really seen before, and I have been using this approach quite a bit lately for a variety of pages. SharePoint 2010 javascript using REST API to grab data: ...
2
votes
2answers
187 views

Sharepoint 2010 javascript client object model - downloading items and item attachments?

Is there a way, so that you can download the items from a list and all its item attachment files in one context call? Currently I am downloading all the items, then looping through each item, and ...
1
vote
2answers
398 views

Item ID of current row

I am working on a script that needs to pull the SharePoint list item ID from the current row. I have a checkbox field in a multi-item form webpart that, when checked, needs to update the item without ...
3
votes
3answers
2k views

Prevent/override standard Modal Dialog close button(X) from closing

I want to validate custom modal dialog form and if its not ok, prevent form from closing. For this purpose, I attached to X-close-dialog-button. Problem is to prevent it's default behavior. function ...
-1
votes
1answer
209 views

Display Calculated column in List NewForm

How to display Calculated column in SharePoint List NewForm.aspx?
2
votes
1answer
714 views

ECMA/js CSOM retrieving items from multiple lists with async processing? how?

I am struggling with javascript and learning callbacks, and applying this to SharePoint 2010 specific js/jquery methods of getting and savings values from lists. So I am recently getting into the ...
0
votes
3answers
804 views

jquery client object model to return json: what about caml vs. js filtering?

trying to learn client object model (ecma/js/jquery) approach to returning json data and working with that. below I will supply a quick example, but my question is basic context of how would I go ...
2
votes
1answer
678 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!
1
vote
1answer
781 views

Create Publishing Page using Client Object Model (Jquery)

I am trying to create a publishing page (site page) using SharePoint 2010, Jquery, Client Object Model. Any reference or help will be appreciated. Let me know if any more details are required.
1
vote
0answers
110 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 ...
9
votes
2answers
579 views

Opening and closing AssetPortalBrowser.aspx in SharePoint modal popup

I am trying to open the "OOB" AssetPortalBrowser.aspx from a page within a SharePoint native modal popup. My aim is to get the selected filename back to the script. So far I was able to open the ...
2
votes
1answer
1k views

Calling Upload Dialog with javascript, can I pass value through to the edit form that follows?

I have a button that opens the upload dialog from a page using the below approach: function openUploadNewDocumentDialog(passingID) { var dialogOptions = SP.UI.$create_DialogOptions(); ...
1
vote
2answers
382 views

js/jquery doesn't work on site's upload.aspx?

is that right? If I go to a library in the designer, i can see upload.aspx there. Can't create a new one (and i guess that is because there is really only one per site, or collection?). Anyway, I can ...
0
votes
2answers
254 views

COM: javascript/jquery method for creating a xml data file from SharePoint list data (multiple)

Does anyone know how I can pull off creating an xml data file from data in multiple lists using SPServices/Javascript/jQuery? I can certainly bring all the data I need out to a page and load into DOM ...
1
vote
2answers
492 views

Get id's of tags that are in a web part in Javascript

Ok, I have a page that that has a DataFormWebPart that basically displays the info from a document library. Now what I want to do is, using jquery, display or hide a section in the web part. I can do ...
1
vote
3answers
2k views

jquery and javascript : can i get the last ID from document library?

Is there a way to get the last ID from a Document Library with javascript/jquery?
0
votes
2answers
962 views

Batch update with javascript client object model?

Anybody know how to do batch list updates with the javascript client object model in Sharepoint 2010? I'm putting the list into an array right now and then a kendo grid is reading it. I can update ...
0
votes
1answer
89 views

Searching for a CEWP on a page using jquery

I have a requirement where in i have to set the link of the CEWP using jquery on a button click. The approach i was thinking of is : On button click , find the CEWP on the page. Change the link to the ...
0
votes
1answer
360 views

Simple jQuery to extend page body if Quick Launch has been toggled SP2010

Beginner. I have a link that expands a single page onclick with the following jQuery: <script type="text/javascript"> var $j = jQuery.noConflict(); function toggleQuickLaunch() { ...
0
votes
1answer
222 views

CEWP with Calendar New Form : hidding selections, setting all day by default

So I came across a cool trick first in a book, then on a blog (here!), but it doesn't work for me. It's straightforward enough, couple lines of javascript/jquery, and a cewp in order to auto-select ...
1
vote
1answer
1k views

set multiselect lookup column using jquery

I have a Multi select Look up column which as you all know is a control with two list boxes and "Add or Remove" Buttons. The user populates the right-hand side of the control with some values by ...
1
vote
2answers
447 views

How To Get Site Title From URL in other web app

I have a situation where I need to retrieve the site title for a site in another web application using client side scripting. Client site JQuery SOAP calls to the "Webs" web service returns the ...
2
votes
1answer
5k views

jQuery & SP2010 : Upload document to library using jQuery?

I built a custom form that saves the data to multiple lists with on click; it works pretty well for its intended use (keeping the data related). Thing is I am totally new at jQuery and SPServices, but ...
0
votes
2answers
2k views

How to get SPSite aka SPWeb property bags using ClientContext? [duplicate]

Possible Duplicate: Grab a specific property bag using ECMA script I would appreciate if some paste a sample code to get the property bags values using ClientContext?
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" ...
0
votes
2answers
460 views

client object model and jquery not loading — sort of

I'm getting some data from a list via the client object model. After I get the list data, and the page loads, I want to use a little jquery to add a hover effect. Easy enough, right? Well ...
7
votes
4answers
1k views

How to access a Web application/Farm level property bag via jQuery/Javascript/ClientContext

It it possible to access the Web application/Farm level property bag using jQuery/Javscript/ClientContext? If not, then what are the possible alternatives to access Web Application Farm level property ...
0
votes
1answer
2k views

Getting list length from caml query

I am currently trying to determine the length of a list that is located on my SharePoint site. I am using a Caml query to retrieve the items in my list, but I can not figure out how to get the length ...
1
vote
1answer
518 views

Add numbering to a standard list view

We're displaying a SharePoint 2010 list using a Standard View created via the browser. The items are shown in a table and the users would like a number shown for each row. The numbers column would be ...
0
votes
1answer
492 views

Building a Floating Menu for SP 2010

I would like to have a floating menu the menu can come from a list or use the Quick launch. Any ideas or samples out there.. For example if i can make this float ...
2
votes
2answers
527 views

Popup to allow emailing of current URL

I'd like to implement an email icon on the pages of our SharePoint 2010 site collection; when the user clicks it, a Lightbox-style popup allows the user to email the current URL with a custom message ...
0
votes
2answers
975 views

Get list of web parts on the client-side

Is it possible to use the Client Object Model or jQuery to get a list of the SharePoint 2010 web parts on a certain part of the page, say those in the DIV #main-content? To be more specific, I'd like ...
6
votes
1answer
2k views

Fetch list of sites in site collection into jQuery

Is there a way to get the list of sites in the current site collection into jQuery as an array or other data structure? Thanks.
4
votes
1answer
2k views

How to find the Author Name using SP Client Context in SharePoint 2010?

I am trying to find the Author Name(created by) for a given Item Id using the SP Client context in SharePoint 2010. Below the code snippet var ctx = new SP.ClientContext.get_current(); ...