Tagged Questions
2
votes
1answer
33 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 ...
0
votes
3answers
184 views
SharePoint-hosted app don't get my lists
I'm developing a SharePoint-hosted app for SharePoint 2013 (in Office365), but I've a problem accessing lists within a SharePoint-hosted app.
My code is well printing the lists, but it only show me ...
4
votes
1answer
202 views
Error using javascript to retrieve a SharePoint list's items
I am trying to use this method to query items of a column of a list in my SP site via javascript (the reason I am doing this is to display that info on the page by modifying the html tags in the DOM), ...
1
vote
0answers
65 views
Filter Calendar view by Title in SharePoint 2010
i want to filter calendar view using title field. Is it possible to filter calendar view without make changes in modify view ?
1
vote
0answers
68 views
Unable to access the SP2013 App from IE but able to access from chrome
I've started working on SP2013 App development. When I'm deploying the app from VS2012, the App is successfully getting deployed. But after Trusting the app, it is showing "Internet cannot display the ...
0
votes
1answer
625 views
Filter a SharePoint-List as you type with Javascript/jQuery
so my scenario is: My users don't like the filter technology provided in SP2010 Lists and Listviews (using the row-titles' dropdown) and likes to have a "normal" textbox and search the splist (one ...
1
vote
0answers
63 views
Updating a value of any item in a list based on a selection of bool for one item - jQuery
So I hope this makes sense. I have a column within a list that I want to use as an active flag. There are 5 possible categories and for each category there can only be one active value. So I need some ...
1
vote
2answers
687 views
How to get files count from particular library?
I'm using Sharepoint 2007 and unfortunately don't have any ways to server site scripting, no C# or PowerShell.
Is there any way to get total number of files in a given Library using SPServices ?
It ...
0
votes
1answer
920 views
How to retrieve all items from a list (with custom fields) by javascript object model
I need to get all my custom fields from my list by Javascript Object Model..
The code I wrote down is this:
var items;
$(document).ready(function () {
...
0
votes
0answers
129 views
XSLTListViewWP: filter results based on javascript variable/other control on page?
I have some custom html/jquery form stuff on a page, and I would like to update a LVWP on another part of the page if a user adds something. So for example, the list view web part just shows items on ...
0
votes
3answers
254 views
Why don't update a choice column with javascript?
I have a list .
I want update special item of it with javascript.
I created a js file and add this code to it :
var context = new SP.ClientContext.get_current();
var web = context.get_web();
var ...
1
vote
2answers
585 views
List view loses focus when additional webpart added to page
I have a list page to which I need to add an additional webpart (in this case, a more powerful filter). However, the ribbon doesn't appear because the listview does not have focus.
This is easily ...
0
votes
0answers
165 views
How set Default-Values of Choice by the Creation of new Lists via (JavaScript) CSOM
Im trying to create a list by using the JavaScript CSOM, but Im stuck at a certain point.
In this example I use the Template "SP.ListTemplateType.issueTracking" to create and enhance a list,
in this ...
0
votes
1answer
411 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!
0
votes
2answers
535 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
3answers
946 views
Object doesn't support property or method 'get_item'
When i try with this code i got error
Object doesn't support property or method 'get_item' . Please help me to resolve
function showTitles(urlColumnName) {
var selectedItemIds = ...
1
vote
3answers
731 views
How to verify in Javascript Object Model if a List Exists
How can I verify if the list I'm trying to retrieve in Javascript really exists?
My code is:
function Search() {
var context = SP.ClientContext.get_current();
this.site = context.get_site();
...
6
votes
3answers
3k views
How to get the ID of the list item just inserted using ecmascript
I am stuck at a place where I have to update a list which has a Lookup column. For example I am using this code to update my normal list
var clientContext = SP.ClientContext.get_current();
...
1
vote
0answers
208 views
Validate list item with javascript API
I want to develop a custom datasheet view to edit a list.
I add item through the javascript API. The problem is that the service doesn't control fields value. For example :
- I add an item with a ...
0
votes
2answers
1k views
How to get List Name from JS Object Model - List Name from URL problem
I'm trying to connect Ribbon to Pages.. This works, javascript get what I need and pass as parameter to my page.. I pass the URL and the SelectedItemsID..
I'm facing a problem:
If I had a List ...
1
vote
0answers
63 views
will SP.ClientRuntimeContext.add_requestSucceeded stack events?
I'm looking for a new way to throw some tracking into list-based user actions (i.e. through ECB) and I stumbled accross SP.ClientRuntimeContext.add_requestSucceeded (see ...
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 ...
0
votes
1answer
127 views
Sharepoint 2007 Windows Gadget [closed]
I am trying to develop a Gadget for Sharepoint 2007, which will authenticate a user and then fetch him a sharepoint list from a specific URL,
For the last 4 days I have been working on it and came ...
1
vote
2answers
299 views
Selecting single user from User Information List
I've got a problem with not being able to select a single list item from the User Information List,
I have used U2U CAMLbuilder to build a query that extracts an entry with the ID = 1
When run in the ...
0
votes
3answers
3k views
SharePoint 2010 - pull value from SharePoint list and pass through HTML link
I have a list with a column that contains a url. For exmaple:
--LIST--
ID Name URL
1 MSN http://www.msn.com
--
Now, what I need to do is pull the value in the ...
2
votes
1answer
129 views
Can I use javascript to determine if a list item has a related item or not?
I've got a List in Sharepoint 2010 and I've created a "related item" which has a link to my master list which is set to unique values (so for each item in my master list there is 0...1 child items).
...
0
votes
1answer
1k views
Want to set a List's FormField value via Javascript, but how do I identify the textbox?
I've got a List in SP2010 and am trying to update a value with a little javascript and I'm not sure what I ought to be doing.
I've set the default List Form WebPart to false, and added a custom list ...
0
votes
1answer
995 views
How can I display checkbox or radio button choices in a Choice field vertically?
I have a list with SharePoint 2007 with a Choice column that I'd like the choices to be displayed vertically (every 2 or 3) instead of horizontally. Is there some JavaScript/jQuery I can utilize to ...
2
votes
4answers
1k views
How can I Make a Dropdown box in a Form Field Conditionally Read-only/locked?
I have a drop down box form field (with values level1,level2) in SharePoint list. How can I lock the drop down box selection in the edit form.aspx whenever the condition is level2?
2
votes
1answer
235 views
Set the Column Value when show the NewListForm.aspx using SP.UI.ModalDialog.showModalDialog()
i want to set the selected SPList Title value when show the NewListForm.aspx using SP.UI.ModalDialog.showModalDialog(), could anyone help me to resolve this issue please?
7
votes
1answer
349 views
JavaScript Client Object Model functionality to get all the non hidden lists of current web and listing them
We have requirement to get all the non hidden lists of current web using JavaScript Client Object Model(JSOM). I have tried the below code but failed to get the desired result.
function ...
7
votes
2answers
738 views
How do you stop scroll position maintained after postback on lists?
I have a list with paging enabled and a page size of 10.
When you scroll to the bottom of the page hit the next button in the list the page redirects to itself with different querystring parameters ...
1
vote
2answers
1k views
Displaying the item version history programmatically using Javascript
I have a SharePoint 2007 list that have version history enabled.
I am interested to know how do I view the version history of a item using Javascript (or JQuery).
3
votes
2answers
938 views
Web Service UpdateListItems User Permissions
I'm trying to do an AJAX SOAP call to the Lists web service, specifically UpdateListItems. The query isn't malformed, and is working appropriately when using a user with full permissions. When a ...
1
vote
3answers
3k views
Auto populating columns within a list?
First time user & poster here. A friend recommended me to this site for a question I have in relation to populating columns within a list. Hopefully I can explain it properly and someone could ...
0
votes
1answer
313 views
Use of owsbrows.js , core.js in sharepoint 2010 [closed]
I would like to know how "viewproperties" menu works an item in a list.I googled for sometime and found that the jscript files "owsbrows.js" and "core.js" at
C:\Program Files\Common Files\Microsoft ...
2
votes
2answers
717 views
Custom column that renders a link and opens modal dialog
I want to create a custom column in sharepoint 2010. When it is added to a list view I need it to render a link that when clicked opens a sharepoint modal dialog using the client ui. I need to pass ...
1
vote
2answers
1k views
Preventing Duplicate Items in list (sharepoint 2007)
Is it possible to restrict, creation of duplicate list item in the Sharepoint 2007,
using Javascript in content editor webpart to validate when an list item is added?
