Javascript is a dynamic computer programming language, most commonly used as part of web browsers, whose implementations allow client-side scripts to interact with the user, control the browser, communicate asynchronously, and alter the document content that is displayed.

learn more… | top users | synonyms (2)

3
votes
2answers
1k views

How can I implement SharePoint JSGrid filtering and grouping functionality?

I am working on SharePoint JSGrid. I am able to implement the sort functionality in JSGrid. Now I want to implement the grouping and filtering in my custom JSGrid. For filtering we have to attached ...
0
votes
2answers
282 views

Programatically update profile field(s)

I have a requirement to update user profile fields. I'm able to query the fields, of course, using the CSOM API in Javascript. But, as per here - ...
0
votes
1answer
316 views

Call executeQueryAsync method second time gives first time result

In the code I tried to get the data from 2 different LIST. Input of the second query will be done after executing first list. $(document).ready(function () { $("#SearchButton").click(function ...
0
votes
1answer
240 views

Add showWaitScreenWithNoClose to SPServices GetListItems

With a button on page which calls the function createListItems() which is added to the page as a link in a CEWP. The function takes 10-25 seconds to complete (get items from one list and add them to ...
0
votes
1answer
67 views

SharePoint List add comments as formatted text

I'm not sure if this is even possible but thought someone must have done something similar. What I'm looking for is the ability for a user to enter a "comment" and that comment populate another field ...
0
votes
1answer
596 views

SPO - /_vti_bin/lists.asmx returns Error 500

I am currently developing a news scroller/ticker in SharePoint Online (Office 365) and am using the follow script to access a list: var emptyResults = "<li>No current ...
0
votes
1answer
209 views

Write items from a SP list to html

I've very recently picked up SharePoint and have a limited knowledge of programming so you'll need to bear with me here. I'm currently building on a development site collection in SharePoint Online ...
0
votes
1answer
157 views

Sharepoint javascript:OpenPopUpPage Is not being displayed well on Safari and Chrome

I have added and code snippet to my team site home page to display a pop up when clicking on a link:- <li class="ms-comm-adminLinksListItem" unselectable="on"><a ...
0
votes
1answer
82 views

Custom newfrom (upload a picture and fill in the picture url)

I have to customize an announcement list new and edit form. In the form is there is a Picture Colum. But I don’t want the user to go first to a picture library, upload the picture, copy the picture ...
0
votes
1answer
322 views

loading multiple files from custom action with SP.ClientContext

I made a custom action that calls GetSelectedListItemAsString(). it should load the files 1 by 1 but somehow it does not load the files can somebody help me with it underneat a code snippet of the ...
0
votes
1answer
129 views

Loading ECMA script API / Access sharepoint from web site hosted externally from sharepoint

I'm developing a web application externally from sharepoint online 2010. As part of the application I would like to allow users to access documents from a document library. Ideally users would click ...
0
votes
1answer
146 views

IIS 401 errors getting custom master page css and js

Environment: 2013 Enterprise, single WFE, full control of environment I'm building a custom master page for a SP site collection using a very basic setup. It's a simple responsive HTML page using ...
0
votes
1answer
601 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
74 views

Client Object Model, wait for a list to load

I'm writing some javascript that modifies a SharePoint list, I've added it to the page using JSLink. Sometimes the script fails because the list appears not to have fully loaded. If I add an alert ...
0
votes
1answer
726 views

Creating modal dialog for adding item to list from another page

I'm trying to write web-part for viewing list items. It contains link "add new item". I should create modal dialog for adding item, and it must work from every page. So, I have JS for modal: ...
0
votes
1answer
123 views

How to dynamically load js file in master page based on aspx page loaded?

I have include all the link to my javascript file in my master page using tag. Can I load specific js file according to pages loaded? (for example, I would like to load home.js only when Home.aspx is ...
0
votes
1answer
232 views

Set value of choice field based on input from people picker

I have Choice Field which i use to filter items within a list. I'm trying to figure out a way to set value of this choice field within my edit form is there is a name in the people picker field. ...
0
votes
1answer
185 views

Getting error “Object doesn't support property or method 'commitPopup'” when saving a new alert in SP 2010

In my SP 2010 environment, I have a html page, that has an iframe, and the iframe is the page where you create a new alert for a list. In the html page, I dynamically create the iframe and then insert ...
0
votes
1answer
34 views

Referencing a Library in JS

I am attempting to reference a document library in JavaScript. From what I have read, I should be able to open the library using something similar to the following: list = ...
0
votes
1answer
321 views

In Chrome, Async Postbacks Fail

In Google Chrome, inside of an Update Panel, the first async postback succeeds, but the second silently fails. The issue is discussed many places: ...
0
votes
1answer
86 views

ecmascript/javascript to check current status of timer job

I want to show sharepoint notification when user opens a list form using oob. I am basically doing some sync with external list and sharepoint using timer job. For this i want to check if a specific ...
0
votes
1answer
225 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 ...
0
votes
1answer
416 views

How to use SPServices search sql query - getting malformed query

I am using the SPServices javascript library to make a search request to sharepoint 2010 search. I am trying this query: queryText = "<QueryPacket xmlns='urn:Microsoft.Search.Query' ...
0
votes
1answer
79 views

Creating directory structure from custom ribbon action

Environment: 2013, VS2012 I'm trying to develop a custom ribbon button for a document library that creates a folder (ie: a new project) and populates it with a hierarchy of sub-folders. I have some ...
0
votes
1answer
377 views

Hiding Column on a List View with Grouping

I have a list that I need to dynamically hide columns on based on user. Sort of a rudimentary Column Level security type deal. This is being done through Javascript and JQuery to simply not display ...
0
votes
1answer
395 views

Clear all values in a multi-value lookup, via REST, SP 2010

Conditions: SP 2010, html/javascript, using REST to read/write to various lists. Im using a jquery multiselect plugin to set a multi-value lookup column. I need the selecting Groups of items, easy ...
0
votes
1answer
25 views

Setting audiences in share point 2010

I have written html/css code to display the menus. Now i need to hide the multi level menus(links) using windows authentication. i mean we need to set the target audience for the links. But,. i do not ...
0
votes
1answer
47 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
144 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
121 views

How are columns in SharePoint connected to CAML with regards to data submission?

I am trying to make an alteration to an infopath form that was created to submit data to sharepoint. I added a dropdown box and want to submit that data to sharepoint. The submission has been ...
0
votes
1answer
34 views

SpcalenderView Javascript on Mouse hower

I have one issue with spcalendarview. I just wanted to show spcalender item to the contain editor web part from the link here but i wanted to my custom page into the contain editor web part so how to ...
0
votes
1answer
218 views

Getting Filtered results by Date column from a list with BCS and SharePoint 2010 JavaScript Client Object Model

I'm trying to get the filtered results by a column type DateTime from a list filled with BCS using JavaScript. I've tried everything to get those results with query like: "<Where>" + ...
0
votes
1answer
98 views

SharePoint App DOM Manipulation and Deployment

I've got some issues with development and deployment of a sharepoint app. The App is going to be an App Part in a SharePoint site. One issue is, that the app (provider hosted) is not high trusted, ...
0
votes
1answer
237 views

Stop hover with navigation to just display links

I'm somewhat new to developing with SharePoint, so sorry if this is painfully obvious and I'm totally missing something. I have a publishing site that I'm working on, and I need to tweak the ...
0
votes
1answer
117 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
209 views

Javascript in SharePoint:MenuItemTemplate

I have Created one aspx page and write in Main Content. I want to call SharePoint Modal Popup script on click event in sharepoint:MenuItemTemplate. How can i call javascript for modal popup in in ...
0
votes
1answer
139 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 ...
0
votes
1answer
317 views

Grabbing a filter value via CEWP code behind

I have employed a Query String Filter to parse a value and send it to a chart web part. now I would like to use this value in a CEWP to provide an explaination/clarification for the chart, but the ...
0
votes
1answer
68 views

Userfeedback after file was uploaded to library

I need to print out a feedback after a file was uploaded to a DocLib. I tried several things over the event receiver (add statusbar as a control or a clientscript) but everything faild. I´m a bit ...
0
votes
1answer
101 views

Change Language in ModalDialog without reload

I´ve got the following issue: I want to change the Language of a .aspx Page, the NewForm.aspx. Therefor I created a WebPart which was added to the NewForm. <div> <a href="" ...
0
votes
1answer
807 views

Upload a document in a specific folder

I would like to set a specific folder when I open the upload.aspx page to help. I tryed to look in the dll but the license of reflector is expired. UPDATED Maybe this post can help ...
0
votes
1answer
113 views

JavaScript array in SharePoint different in length from html?

Apologies for deliberately cross-posting, but I have an issue where a JavaScript array in SharePoint is showing a different length from HTML (and an incorrect one!) SO Question Updated original to ...
0
votes
1answer
133 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 ...
0
votes
1answer
233 views

Deploying SharePoint files (css, javascript) onto different platforms without SharePoint Designer

I need to deploy to "_catalogs/masterpage/" and "Style Library/" multiple jpg, css, javascript files These files originate from a developer platform and are to be deployed to multiple platforms ...
0
votes
1answer
358 views

List Onload event

What I want to do: I have a custom list that contains a lot of items. When an user loads the list, all items of his view should be checked. If there is a special value in the listitem a notifiaction ...
-1
votes
1answer
16 views

input box in sharepoint to add entry, popup

I have a button, when i click on button i need a popup which should have textbox and a button "ok". in textbox i can enter numerical values like 10, 12 etc and click on ok button. Later ok button ...