Web scripting language.
0
votes
1answer
11 views
Javascript IIFE and SharePoint Client Object Model
I'm having a problem with my javascript code that I am sure is to do with scope, but I can't figure out where I'm going wrong.
I'm trying to write a method that will allow me to retrieve items in a ...
0
votes
0answers
6 views
ODataContentTypeException : Content Type 'application/json;odata=verbose'
I'm trying to create items in a SharePoint lists through the SharePoint REST API in Javascript (with an AJAX call using jQuery), all that in a SharePoint2013-hosted App.
But I get this error when I ...
0
votes
1answer
36 views
Control JavaScript with Ribbon Button
my aim is to add a Ribbon Button which is opening a printing dialog for a selected file in a document library. I already added the Button with SP Designer and linked it with a html file which is ...
0
votes
0answers
14 views
How do I open a template document in OfficeWebApp with Javascript?
I am using the following to open a template document from one location which will be saved to a another location:
<a href="javascript:'" ...
1
vote
0answers
13 views
Display New item Icon with SPServices
I want to display the New Item Icon with SPServices or using custom Javascript to show a new item icon for n days when Created. I achieved this using XSL. Thank's to Mark ...
1
vote
0answers
24 views
getting top X items in each folder with a CAML Query
i'm trying to do a visual representation of a document library using javascript and webservices.
basically i want to present the folders in the library, with a preview of the first few files in each ...
3
votes
1answer
34 views
Get Site Template ECMAScript
I have an ECMA script that I'm using to build a site directory (Thank you Bill Simser). I'm trying to add additional information such as the template the site is using, and not having much luck ...
0
votes
1answer
35 views
add multi select dropdown selected values to sharepoint list by Ecmascript
I have a sharepoint list which where I want to insert multi selected values from a dropdown list.
<select multiple="multiple">
<option>A</option>
...
2
votes
0answers
28 views
Initialize word document content type properties using Javascript
I'm trying to create a new word document from a template using the following javascript code :
var word = new ActiveXObject("Word.Application");
var doc = ...
0
votes
1answer
36 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
0answers
15 views
JavaScript OnChange for PeoplePicker or something similar in a NewForm.aspx
i have a document library where i added a people picker column where i can assign a person from the company. Also i have a column where the user should enter the department of the selected person.
Is ...
0
votes
1answer
9 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
32 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 ...
2
votes
0answers
29 views
show modal dialog for list with opened ribbon
I need to display a standard list inside a modal dialog. Currently I'm using SP.UI.ModalDialog.showModalDialog(..) and I'm building the URL like this:
options.url = ...
0
votes
1answer
25 views
Change CSS of selected item in sharepoint menu
Is there a way to do the same as done here with some Javascript?
AspMenu does not render css-class for 'selected' element
I want to use this CSS for the selected item in the menu
.s4-tn ...