Framework for working with JavaScript.
0
votes
1answer
82 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
111 views
Using JQuery to Hide Elements on Masterpage
I want to make a few "special" pages in Sharepoint 2010, that hides the menu and ribbon from the Masterpage.
Is it possible to write JQuery code in a web part that can hide/disable/delete some ...
0
votes
0answers
48 views
Image hover/replace - image works but is cut up
I've managed to get an image rollover (images are replaced with different colour areas at hover) and it works when I load the html file direct.
My content editor webpart makes the image go all ...
1
vote
2answers
238 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
1answer
20 views
Load All Task Items in to Page?
I have Task list in home page containing multiple task items,
Is it possible to approve multiple items at once, instead of one at a time (being redirected to the start page after each approval..) ?
0
votes
3answers
622 views
Get value from drop down using jQuery (lookup column)
I feel like this should be an easy one but am having trouble finding the answer here and via Google. Using jQuery, how do I retrieve the currently selected value from a dropdown in an ...
12
votes
4answers
5k views
jQuery accordion for the Quick Launch menu?
Is it possible to turn the left side menu (I think it's the Quick Launch area) into a jQuery Accordion style menu in SharePoint 2010? The jQuery UI Accordion control uses DIV tags, so wasn't sure if ...
0
votes
2answers
81 views
SharePoint SPServices autocomplete not working for a column
I have a working jQuery SPServices code for a column Description in a list. The problem is, that when I try to get the data from another column, Project Item, with the same code, nothing happens. ...
0
votes
0answers
42 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 ...
3
votes
3answers
3k views
Posting JSON to a REST WCF endpoint in Sharepoint using cksdev
http://ranaictiu-technicalblog.blogspot.com/2011/09/sharepoint-2010-access-wcf-service-with.html?showComment=1323864446083#c4340503928745769810 has an example of using JQuery Ajax to GET or POST to ...
2
votes
3answers
300 views
Detect Modal Dialog Close with JQuery
In my application, I am trying to hide scrollbars in the parent window when a modal dialog is opened...
I've added this to my Master Page:
$(function(){
if(window.frameElement != null)
{
...
0
votes
2answers
821 views
jQuery accordion for the Quick Launch in SP2013
I followed this post in order to add the jQuery accordion functionality to the Quick Launch in SharePoint.
While the code in the above link applies to SharePoint 2007, I somewhat managed to change it ...
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.
0
votes
1answer
65 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:
...
0
votes
1answer
150 views
web part jquery ui dialog not working
I am working on SP2010 with visual web part in C#. I have added one form dialog using jquery-ui. When I use it directly from .ascx, its working. But when I am calling it from code behind, its not ...
0
votes
2answers
69 views
Autocomplete Textbox from Active Directory Users
Im making a webpart where a user should be able to add other users from active directory, without being able to know their full name etc. The field should be autocompleted in some way (like googles ...
0
votes
1answer
106 views
How to Customize Mobile View or Integrate Jquery Mobile into an already made SharePoint 2010 public facing site?
I'm very new to SharePoint Development and need some instruction or direction on how to customize the mobile view or use Jquery mobile on a SharePoint 2010 public facing site.
I have been tasked with ...
0
votes
2answers
193 views
adding Jquery to Sharepoint 2010
I would like to add Jquery Accordion code for Sharepoint 2010. I have added jquery-1.9.1.js & jquery-ui.js file in _layouts\JScript folder. Now I want to add below code sharepoint designer. ...
2
votes
2answers
521 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
71 views
How to hide particular SharePoint post use checkbox?
How can I hide my particular post in Sharpoint blogs, if I use checkbox field in post list by using javascript or jquery ? please if some have an idea ,please help me to resolve it. will great ...
0
votes
1answer
33 views
Hide navigation until all items are populated
I created a customized nav using the Sharepoint aspmenu with simple rendering which binds to an xml datasource to render the menu contents.
I am then using a the jquery UI accordion to style it.
The ...
6
votes
2answers
1k views
Phone-Gap Claims Authentication against SharePoint in Office365 fails, probably because of HTTPOnly flag in cookie
I am coding an application using Phone Gap to connect to a Sharepoint in Office365.
I need to use the REST services in Sharepoint Office 365 to add items to a list, but before that I need to ...
0
votes
1answer
73 views
Designer Workflow: change document file extension upon upload
So I would like to try to create a workflow on a library that simply checks to see if the file extension is anything other than .xml, and if it is, rename the Name (File Name) to the same value with ...
1
vote
1answer
2k views
jQuery to modify SharePoint 2010 Column Width
SharePoint 2010 - I have a Standard Task list in Gantt View that represents a list of projects (Sync from Project 2010). Since the column widths are not-persistent in SharePoint, I wrote a script to ...
0
votes
1answer
70 views
Content Type Prompt in List
I have a list that has multiple content types in a SPF2010 environment. The manager of this list is familiar with using the New dropdown menu in the ribbon bar to select a content type, but he is ...
1
vote
2answers
49 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
264 views
Load SharePoint 2010 page into another HTML page with jquery
I have an issue where I need to load a piece of my SharePoint 2010 site (header, navigation/search) into another .html page. In general, I want it to look like the following:
<!doctype html>
...
0
votes
1answer
99 views
Best/Simplest Way to Implement Custom Button on List/Library?
I've removed most of the default elements with the following:
<style type="text/css"> #s4-ribbonrow, .ms-cui-topBar2, .s4-notdlg, .s4-pr s4-ribbonrowhidetitle, .s4-notdlg noindex, ...
0
votes
0answers
80 views
How to automatically collapse/expand treenodes in TreeView, based on current page
So, I have a TreeView in my SharePoint masterpage which has quite a lot of treenodes. Some of these link to subsites (also containing the TreeView in their masterpage).
Since it was starting to get ...
0
votes
1answer
37 views
Catching query suggestions dropdown value
next to search box there is a dropdown containing query suggestions (everything, people, ...). How can I catch the value of this dropdown (it is div.s) in Javascript (jquery). Also I want to know ...
1
vote
0answers
96 views
update xml file within doc library using jquery ajax
I can read values from xml files that are posted within a document library using jquery ajax, but can I update those values then save/post them back into the document. i.e. can I update the contents ...
0
votes
3answers
581 views
Web Services: how to get/save Web Part on a page
The WebPartPages Web service includes actions to get or save Web Part properties (GetWebPart, SaveWebPart). Both require a unique identifier called storageKey.
When using Web services on the client ...
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
1answer
98 views
Only View Document Library + should not be able to open document
I have a requirement for a set of users on the site to have permission level.
When these users open the document library, they should see only metadata columns and title without the hyperlink or ECB ...
0
votes
0answers
32 views
Update successor-listitem when predecessors are finished
In SharePoint there's a list with lots of items. Every item has an ID, some other columns and a lookup-field 'PredecessorOf' (with the ID) to another item. So for example I have this:
I have a page ...
0
votes
0answers
41 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 ...
4
votes
2answers
1k views
JQuery Accordion with SharePoint 2010 Custom List
I have a FAQ custom list in Sharepoint 2010 with two columns: Question (title column renamed) and Answer.
I want to display the questions and answers from the sharepoint list in JQuery Accordion. ...
0
votes
1answer
99 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
230 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
3answers
302 views
SPServices/JQuery How to Detect If The Current User Is System Accout
I need to detect if the current user is system account. With SPServices i can find user login name:
var thisUserName = $().SPServices.SPGetCurrentUser({
fieldName: "Title",
...
-1
votes
1answer
131 views
Display Calculated column in List NewForm
How to display Calculated column in SharePoint List NewForm.aspx?
1
vote
1answer
109 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?
0
votes
3answers
455 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
169 views
Jquery adds Multiple attribute IDs to Content Editor web part source
I’m currently performing a migration of our CMS from MCMS 2002 to SharePoint 2010. One of the MCMS templates allowed the users to add their own CSS and scripts. So that the scripts and styles are not ...
0
votes
0answers
129 views
jQuery and NAPA a good option for Customizing List and View Forms in SharePoint Online 2013?
I’ve been playing with SharePoint Online 365 (2013) and NAPA for a few days now. Deployed a simple AppPart.. great potential in this. We have a big SP 2007 Farm with about 200 Site Collections. About ...
0
votes
0answers
117 views
SPO 2013 and VS 2012 deployment questions
I created a new SPO Office 365 Developer account, created a developer site, installed NAPA, built and deployed a new sp app all online... seemed to work fine. I was able to then open it with VS 2012 ...
2
votes
1answer
188 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
1answer
91 views
Object Expected error in Non Edit Mode only
I have an issue with Javascript errors (Object Expected) in normal mode while it works in Edit mode. Its failing on the last line shown below.
$(document).ready(function() { updateListItem(); });
...
0
votes
3answers
375 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
382 views
JQuery Ajax Post method not working with Sharepoint 2010 URL
I'm trying to send some data to an aspx page by clickin on button but it doesn't seem to work by using jQuery Ajax Post ,however if I just chage the ajax type to GET it works fine ! but I do really ...



