Tagged Questions
1
vote
2answers
37 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 ...
1
vote
2answers
35 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
127 views
Display Calculated column in List NewForm
How to display Calculated column in SharePoint List NewForm.aspx?
2
votes
1answer
180 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
357 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
199 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
327 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
74 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 ...
2
votes
0answers
194 views
Opening and closing AssetPortalBrowser.aspx in SharePoint model popup
I am trying to open the "OOB" AssetPortalBrowser.aspx from a page within a SharePoint native model popup.
My aim is to get the selected filename back to the script. So far I was able to open the ...
2
votes
1answer
457 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
179 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
0answers
114 views
Ecma script sharepoint 2010 issue
how to get all folder in document library with first image url in that folder.
for this i get all folder from document library and then get first file from that library
get all folder and in that ...
0
votes
2answers
101 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
180 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
819 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
536 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
84 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
206 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
123 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
0answers
860 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
380 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
2k 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
847 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
2k 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
358 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 ...
5
votes
4answers
783 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
2answers
1k 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
350 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
342 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
391 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
603 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 ...
5
votes
1answer
1k 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
1k 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();
...

