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)

0
votes
1answer
31 views

Pull data / Replicate list data form Moss 2007 version site to SharePoint Online version site

We have one requirement where we need to pull data / Replicate list data form Moss 2007 version site to SharePoint Online version site. Please can any one suggest what are the approaches are ...
1
vote
1answer
64 views

Can I add JavaScript to Rich Text Note Field?

I have a Note Field with RichTextMode=FullHtml. We can Set the Value of this field to a string. string aString = string.Format("<a href={0}>{1}</a>", url, name); listItem["field"] = ...
0
votes
0answers
32 views

Aspx page that create filtered view based on argument

I use Sharepoint 2013. I have two lists generated by PS everyday. List A Client Col2 Col3 1 aaa bbb 2 ccc ddd And List B : Client Col1 Col2 1 Info1 Info11 2 ...
0
votes
0answers
17 views

Hide Elements on topnavigation

I have a metadata navigation dropdown in SP 2013, How can I hide a specific element with a specific title?
0
votes
2answers
78 views

Include js file in Page Layout, after jQuery file in Master Page

I'm trying to include a javascript file in my page layout file. I already have it inside the "PlaceHolderAdditionalPageHead" Content Placeholder, and it includes the file, however I need it to be ...
0
votes
1answer
59 views

Add new button to a column with “single line of text data type” in SharePoint

I am trying to create a "Add new" button to a column called "other Passengers" which has a "Single line of text data type". Such that I can add up "0 to n" numbers of passengers not in our LDAP i.e ...
0
votes
1answer
79 views

Retrieve current site name (not url) programmatically?

I want to create a code that only generates a link for certain users in a group, but this group name changes across the many subsites that my users have. The group name = [Site Title] + ' Creators' ...
0
votes
0answers
46 views

Using function to query multiple lists

I am using the code below to check whether an item exist on one list. Seeking to improve this code so that I can check two lists. If it finds it on the first list (FILE_LIST_NAME), I want it to ...
0
votes
3answers
89 views

Get the id value from the page url

In SharePoint how do you get the ID value from the url of the page you are on using javascript( Jquery,ajax, Rest..), e.g. I have the url like so: http:// ddd/mypage?ID=xx I tried before to ...
2
votes
1answer
107 views

Get event date in SharePoint calendar with Javascript

I'm trying to get some information from an event from a SharePoint Online list (ex. events start date 25 june 00.00). When I get the results back in a array with JavaScript it returns 25 june 02.00 ...
1
vote
0answers
68 views

Office 365 SharePoint 2013 Send email with attachments

I need to send Email with attachments in Office 365 SharePoint 2013. We cannot do this using the sharepoint designer workflow. Is there any way to call exchange web service from javascript and ...
2
votes
2answers
168 views

Get list id from open view page via JavaScript

I have included some javascript in SharePoint master page, I need this javascript to have access to the opened list ID. For example when I load ...
1
vote
1answer
59 views

Pass NewItem ID to Callback function from NewItem form

I have a rigged a link to call the NewItem.aspx form in a dialog. When the User clicks 'Save', I would like to return the new item ID in the callback function. How is this achievable? <a ...
0
votes
0answers
127 views

SharePoint 2010 webservice call using JavaScript

We are building a HTML 5.0+ JavaScript app which will fetch some data from a SharePoint 2010 intranet site and will display the data. The HTML 5.0 app will be developed for iPad and iPhone. When we ...
0
votes
0answers
63 views

Document Library EditForm that Saves then Redirects to Page with Query String

In SharePoint 2010, with a document library, the default editform resets the Source parameter in the URL which prevents you from navigating users back to source after selecting the Save button. This ...
0
votes
0answers
4 views

Unable to get selected items using JavaScript from XsltListViewWebPart on Publishing page after published [duplicate]

I have placed xslt list view web part on publishing page. And above that I have placed one content editor web part to get selected items from the view. My JavaScript is: var ctx = ...
1
vote
1answer
104 views

SharePoint Foundation 2013 - Problem with loading sp.js and sp.runtime.js

I have problem with an order in which I am loading <script type="text/javascript" src="/_layouts/15/sp.js"></script> <script type="text/javascript" ...
2
votes
1answer
119 views

CORS with SPServices + jQuery

I need to access from a different domaine on a mobile a sharepoint list. Here is my code, a simple get request : $.support.cors = true; $(function() { $().SPServices({ operation: "GetListItems", ...
0
votes
1answer
69 views

Need to take list item count on 2010 based on the selected value

I have a Sample list named as LISTA. In which i have title column, the title column values are Title A b c A b c c I need to take the count of item count of a,b,c. using soap ...
1
vote
1answer
42 views

How can I find out which site use JavaScript, programmatically?

enter code hereI am trying to conduct an audit on all the sites in the farm as to which use JavaScript. I assume that parsing for the script HTML tag would be the best way, but I don't know of a ...
0
votes
0answers
63 views

SharePoint csom set_item limitation

Is there a limit on set_item with csom ? If i add a third: olistItem.set_item("Body", "test"); It doesn't work var theList = clientContext.get_web().get_lists().getByTitle('userData'); ...
2
votes
1answer
95 views

Rest Query Managed Metadata Filter

I am currently writing a JSON query for office 365 (sharepoint 2013) where the filter is suppose to filter depending on values returned from a managed metadata field I am trying to filter based on ...
2
votes
2answers
135 views

Rest Javascript Query Managed Metadata field

I am query a list via rest results I retrieve fine in Office 365 (sharepoint 2013). I have two fields of which one is a managed metadata fields. I am looping through the results retrieved but when ...
3
votes
1answer
141 views

Check if logged in user is member of AD group with ECMA script SharePoint 2013

There is active directory group added to SharePoint group. How would we can check that the logged in user is member of that active directory group using ECMA script?
1
vote
0answers
17 views

Control Access Request Dialog

I want to write in the text area that there in the control of access request programmatically I take copy of the control from sharePoint and added it in application page but I cann't catch it with ...
0
votes
1answer
45 views

Remove List Item Author

I need a feature that would allow users to submit complaints anonymously. I was thinking of saving complaints in a SharePoint list, the problem is that Author needs to be empty in order to be ...
0
votes
1answer
34 views

Charting Components For Sharepoint 2013 and Office 365

I am currently searching for some clientside charting components that are free that we can use to display statistics etc. Could anyone recommend any that are available. If they have the capability of ...
0
votes
1answer
262 views

Javascript in content editor web part not working after publishing the page

I have a publishing page in which I have placed content editor web part which contains the link to redirect the user to application page. Code in the content editor web part is: <script ...
1
vote
1answer
75 views

Threshold limit reached with a calendar month view

I'm perfectly aware about the threshold thing. I know I need to reduce my query. However, here, it's for a calendar... I use the below query: <query> <Query> <Where> ...
1
vote
1answer
145 views

Get selected items from JavaScript in the document library view

I have a page in which I have placed XsltListView web part to show the view of the picture library. Above that view I have placed a link using Content Editor Web Part which redirects to other web ...
0
votes
2answers
237 views

Reference to javascript file in Content Editor Webpart

I have site which is non root site i.e. url of site is: http:///sites/xxx I want to place a content editor web part and refer a link to javascript file which is stored in the Style Library. My code ...
0
votes
1answer
50 views

Error loading items of MicroFeed from javascript

In order to do some migration I have to read several lists from my SharePoint from the client (I do not have access to the server console). So far fo rmost lists this worked pretty well but now im at ...
0
votes
1answer
133 views

How to get the selected items of list in the javascript

I have one picture library, where several pictures are stored. In that picture library I want to put such a link that will download selected images. To achieve this functionality, I thought to prefer ...
2
votes
2answers
325 views

How Can One Hide Dynamically Loaded Ribbon Buttons in SharePoint 2013 with JavaScript?

I would like to know how to hide specific buttons from a SharePoint 2013 ribbon particularly when the ribbon buttons are loaded dynamically using JavaScript. For example, when the "List" tab of a ...
0
votes
0answers
54 views

How to wait for a Function to return values and finish to run another Function with Javascript

As the thread's title with SharePoint 2010, this worked well with all browsers as the demo below. However, when I'd tried to get the information from another link (it must be another thread of ...
0
votes
0answers
23 views

How do I use Sharepoint 2010 as an SQL backend for web content?

Given web pages hosted in a SharePoint 2010 document library, what is the simplest way to use SP as an SQL backend such that some Javascript on each page could add/query data from a single table on ...
0
votes
1answer
184 views

Filter Data View Webpart based on results of javascript query

I'm trying to dynamically filter the records that a Data View WebPart displays based on the return value of a javascript query. I would like some advice as to how I should do this or if it's even ...
0
votes
3answers
134 views

Can we create Excel file using c#?

I would like to know if it is a good idea to create an excel file using c# in sharepoint? I've tried to find js libraries but despite ExcelBuilder which seems really complicated to use i can't find ...
1
vote
1answer
103 views

SharePoint Online, javascript get user properties

I'm trying to get some user properties and alert them (I'm going to put them i labels later but just for now I'm using alert). I'm using a content editor with this code: ...
0
votes
0answers
20 views

Sharepoint mobile view issues

I am working on Mobile View for SP 2013 site and I used some java script for better user experience, this java script works perfectly with IOS and ANDROID devices, when it comes windows phone like ...
0
votes
2answers
53 views

Getting all sites for user with permissions

I'm trying to get all sites for a user on which he has permissions. For this I'm using the search api. In a for-loop from 0 to totalRows. This is my request url: ...
1
vote
2answers
153 views

Javascript Displaytemplate not working on sharepoint 2013 blog site view post page

I have a blog site in sharepoint 2013, I wanted to use Javascript Template for displaying the Post in a custom style. Here is how my js file looks like. (function () { var overrideCtx = {}; ...
0
votes
0answers
25 views

Managed metadata not loaded in standard metadata-dialog

I have a standard SharePoint list which has a (required) Managed metadata-column. When I want to add a new item and click on the icon to show the Managed metadata-dialog, the dialog opens but nothing ...
0
votes
2answers
54 views

Get id of an element by js in a module item

I don't know if i choose the correct title. Here's my probleme, I've created a module in wich I can put my js/css (http://img4.hostingpics.net/pics/586674moduleJs.png) and I would like to get the id ...
2
votes
3answers
282 views

Removing top links from Sharepoint online team site

The whole day yesterday I have been trying to follow the instructions from MSDN to hide the top links in a SharePoint team site (SharePoint Online in Office 365). However, I can not get it to work. ...
2
votes
1answer
172 views

JSLink and Javascript Events

I have customized the view for my SharePoint 2013 List using a JSLink file but have not been able to get the buttons I added to the page to respond properly. They cannot find any DOM elements when the ...
0
votes
1answer
90 views

Need help troubleshooting JQuery call to workflow

Running SP 2013. I've got SPServices 2014.01 and JQuery 1.11.0 both copied to my site collection and loading in my masterpage, plus I've confirmed they're loading with the page in question. I've got a ...
2
votes
1answer
303 views

Refresh page or call JS function after New Item dialog closes

I have a link when clicked, shows the New Item dialog. When the user clicks 'Save', the list item is added. Is there a way to attach the dialog's onClose event to another piece of code? Or can I ...
1
vote
1answer
35 views

Sharepoint Skype status field with skype button

I have a skype name field in a list. I would like to use skype button to it or any other way users can can call or chat by pressing on it. Is this possible? Thanks in Advance
2
votes
1answer
96 views

SharePoint:SaveButton save and then close window with Javascript

I'd like to have the standard SharePoint save button SharePoint:SaveButton To use JavaScript to close the open window (this is not a modal, but the actual window or tab) when it is finished. Is ...