Tagged Questions
1
vote
2answers
40 views
How to modify the sharepoint 2010 NewItem2 function?
In sharepoint 2010, I want to add javascript to the alerts popup window page, but I don't want to modify the actual layouts file. I want to dynamically insert javascript in it. Basically the button to ...
1
vote
2answers
43 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 ...
2
votes
2answers
57 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 ...
2
votes
2answers
53 views
Get Modal Dialog Close button
I have override new item form for list, opening myPage.aspx where this javascript is in the "PlaceHolderAdditionalPageHead":
function fGetCloseBtn() {
var closeButton = ...
2
votes
1answer
46 views
jQuery not loading in sharepoint 2010 asp.net page
I am making an visual webpart in Sharepoint 2010, and I am trying to load my jquery files in the ascx page.
Near the top of the page I have this:
<SharePoint:CssRegistration ID="jquery_css" ...
0
votes
1answer
16 views
Designing a Sharepoint Workflow Distribution list filtered on column values
I'm working on putting together a Sharepoint site to report issues with a new software that is being implemented by my company. I already have a workflow that automatically sends an email to specific ...
0
votes
1answer
46 views
Need to remove html tags from <td></td> area in SharePoint custom DispForm.aspx
I had created a custom DispForm.aspx for a SharePoint list, using SharePoint designer. I included a Rich Text column type to show in DispForm.aspx. The contents of the column are showing, but somehow ...
1
vote
2answers
183 views
SharePoint 2010 web service - GetListItems not working in Chrome & firefox
function GetListItems() {
var soapEnv = "<?xml version='1.0' encoding='utf-8'?><soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'>" +
...
0
votes
0answers
27 views
Timeline graphs in SharePoint 2010?
My client has a requirement to display a SharePoint calendar in a timeline format. Currently, it's being done by Simile Widget timeline:
http://www.simile-widgets.org/timeline/
Since I'm ...
0
votes
1answer
56 views
SharePoint; Javascript repeating click event already on page
I have a SharePoint calendar, and I've got some Javascript code to force a calendar overlay event to open in a modal dialog. Basically, it forces them to open in a modal dialog via this code:
...
2
votes
2answers
274 views
Disable a form text field with jquery in CEWP not working in Chrome/Firefox
I want to simply disable a text field (specifically a "person/group" field text box) from being editable on the edit form page of my list item. I have it working in IE using a Content Editor Web Part ...
1
vote
2answers
48 views
Site Permissions With Custom Navigation
I recently edited my organization's intranet site by creating a JavaScript file which utilizes jQuery v.8 and jQuery UI. My custom JS creates an unordered list with site navigation that has drop ...
0
votes
1answer
89 views
Hiding “half” of the New button in the SharePoint ribbon
I built a calendar with multiple content types. What I'm basically trying to achieve here is to force a user to choose from those content types when creating a new item instead of defaulting to the ...
0
votes
0answers
40 views
Plz verify the steps to create a popup everytime the user hits OK button in SP list
Open Share point Designer and Open the site.
Go to the Share point list which you want to customize.(Lists => )
Select "EditForm.aspx"
Find the end tag of the PlaceHolderMain section
Insert the ...
0
votes
1answer
91 views
Hide 'View Item' link in preview window in sharepoint asset library
I need to hide 'view Item' link in pop up (shown below) from preview window. I uploaded a video in asset library. As per requirement users should not download videos from library. How to hide or ...
1
vote
1answer
211 views
SharePoint DateTime field as Read-Only
How to make SharePoint DateTime field as Read only in NewForm.aspx?
I'm using the below script to make DateTimeColumn as read only. It's working fine in firefox & not in IE9.
Calendar icon ...
1
vote
1answer
106 views
SharePoint DateTime format as DD-MMM-YYYY in List NewForm
How to bring the DateTime format as DD-MMM-YYYY in SharePoint list NewForm.aspx?
2
votes
1answer
181 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
359 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 ...
0
votes
1answer
586 views
Jquery + Instant Search / Filter of a list
I've seen a clip on bentedder.com where this developer got instant search (filter) to work within a webpart list view. I find this may be very useful for general 911/411 annoucements and archive if i ...
0
votes
3answers
373 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'.
...
0
votes
0answers
84 views
Update xml file with doc library with xlst/jquery (limited com stuff)
is there anyway to write/update an xml file within a document library, with js/jquery from a page, or with xslt or anything like this I am unaware of? I am really asking for some context I lack, and a ...
2
votes
1answer
200 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
3answers
331 views
Remove ribbon entirely on certain page?
Can this be done with SharePoint Online?
Failing that, for an entire site?
Thanks.
1
vote
0answers
467 views
Filtering SharePoint list items that have multiple values using jQuery
I have a SharePoint list that contains multiple columns of information.
Thereâs a Category column thatâs a look up to another list called âCategoryâ. This is to produce unique IDâs for each of those ...
1
vote
1answer
120 views
How do I convert this code to JQuery
I've been trying to convert this code to jQuery from Javascript but to no avail. This code is for adding a new item to a list which I took from the msdn website.
It works in javascript but I need it ...
1
vote
3answers
281 views
How to load page load javascript when update progress is over
How to load page load javascript when update progress is over.
$(function()
{
// how to load this after update progress is over
}
Explanation
My Grid inside update panel..
In Grid some of ...
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
1answer
101 views
Site Template with Custom Pages: css, javascript?
If I create some custom pages that include custom html, css and jquery and this page exists within a site that is used as a site template, will that cause issues? From my limited experience with this ...
2
votes
4answers
287 views
Why does jquery's document.ready not fire?
In my master page, I have attached jQuery along with my own custom.js. I use the javascript in that file to run fixes on my pages such as style adjustments.
Now, when I run simple functions on my ...
2
votes
1answer
460 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
180 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
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
685 views
SHarepoint 2010 - popup an image for 5 second after i open my site
How i can popup an image that display for 5 second as slogan/announcement after opening my sharepoint site welcome page
As Example: http://www.lebanese-forces.com
regards,
Hass
1
vote
1answer
104 views
Document download keeps restarting automatically
The problem:
I want to open an excel document automatically from a custom aspx page in the layouts folder (sharepoint 2010) which refers to a document in a document library. The "DocumentUrl" is ...
2
votes
1answer
115 views
Open MultiUpload modal form
Could you please tell me how to open a MultiUpload modal form, without using or displaying the single upload form?
<script language="javascript" type="text/javascript">
$(function () {
...
0
votes
1answer
86 views
how to load custom menu last
I have a share point site i noticed the menu loads slow.its a customized menu based on a list and jquery.I load the script on my masterpages
I would prefer this menu to load last after all the other ...
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 ...
0
votes
1answer
247 views
javascript/jquery to create a document set
i have seen several SOM examples online for programmatically creating a document set, but I would need to accomplish this with javascript/jquery if possible. Is this possible, and if so how is it done ...
0
votes
0answers
130 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 ...
1
vote
1answer
284 views
Clear Multiselect Lookup
I am trying to add a button for my users to clear a multiselect lookup value using JQuery or Javascript.
I have found some information about setting a default value on a single select lookup, but ...
1
vote
2answers
128 views
Changes in SharePoint Online (Office 365)
I have an idea to solve a problem by adding jQuery/javascript to a aspx page (in this case the DispForm.aspx) But I thought I've heard that SharePoint Online installs automatically updates. Can this ...
0
votes
1answer
167 views
XSLT/Webpart View in Custom Javascript text file?
So this may be silly but I want to ask anyway, if I am using the text file approach (markup and javascript within text files that a CEWP references), is it possible to add mark up or script that would ...
1
vote
2answers
175 views
How do I create dynamic infographics in SharePoint?
I'm looking to add a dynamic infographic with the ability to update it using a SharePoint data library or list. Has anyone accomplished this (that is easy or quickly updatable). For example, I want ...
-3
votes
1answer
81 views
What JQuery effect is this? [closed]
I found this really nice effect on this website:
http://www.engadget.com/
Please take a look at the IE advertisements on the top and the right side of the page.
It seems like some kind of elastic ...
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!
1
vote
3answers
826 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
541 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
2answers
432 views
referencing jquery in a sandboxed solution
I have a sandboxed sharepoint project, in which I have created a module, put jQuery there and referenced it from my webpart's ascx page like this:
<head>
<script ...
0
votes
3answers
415 views
javascript issue in sharepoint
I am having issues making a javascript work. Basically i just use this script for different web parts which have the .q1table class to insert some other classes.
I am getting an error uncaught type ...

