Web scripting language.
0
votes
2answers
23 views
How to Use ECMA CSOM to Set a Field of Type SPFieldUserValue
I have a JavaScript array containing the string representation of some usernames (domain\username format).
Using the JavaScript CSOM, what is the best way to create a new item and add those usernames ...
0
votes
0answers
11 views
Encode single quotes in resource files for custom actions with javascript
Today, I had one one of the stragest problems.
I have alist with a custom action that opens a popup.
It works in englsh and dutch, but in french the popup never opens.
The thing is that in french the ...
0
votes
2answers
16 views
Overriding complicated javascript function
I have a some default SharePoint complicated javascript function and I'm not sure how to override it, replace it.
In gerenal i know how to replace the functions, so that your implementation is called ...
0
votes
0answers
27 views
injected javascript code in a basic webpart
I have a working solution according to below, but I want a dynamic link which is created in Createchildcontrols and included as an arguement in the function newitem
but I get an JavaScript error on ...
0
votes
1answer
28 views
JS files returning Cached (Old) Versions Despite Update
We are currently in the wild throes of a migration from SP 2007 to SP 2010. I'm attempting to move some custom JavaScript Validation from the current production site to our staging site.
My ...
0
votes
1answer
29 views
Reference InfoPath field in edit.aspx InfoPath web part
I have a colleague I'm trying to help. He has a list on a SharePoint site. He modified said list's web part with InfoPath. Upon creating a new item, the item is saved as well as emailed to a 3rd party ...
0
votes
0answers
31 views
SharePoint 2010 Motools JavaScript incompatibility
I created a JavaScript Slideshow base on Slideshow2 using Mootools. It works great stand-alone. I decided to incorporate it into my SharePoint 2010 Master Page and at first glance it was working ...
0
votes
2answers
72 views
How to use javascript client object model in sharepoint designer?
I have to fetch data using javascript client object model and for that i have to use Sharepoint Designer 2010 only i have searched on google and there i got solution only by adding code in visual web ...
1
vote
1answer
22 views
Rich text editor fails when pasting in IE 8 and 9 error 800a025e
We have a solution with a lot of customization. At some point something was added that breaks the rich text editor because now I cannot paste from clipboard using either Ctrl+V or the "Paste" ribbon ...
0
votes
1answer
19 views
Web Part JS ToggleMe not running
I want to add toggled visible / invisible divs to a SharePoint wiki page, and put the function for the toggling in a web part. My toggling script works fine testing outside of SharePoint, but inside ...
0
votes
1answer
45 views
Modal Dialog unexpected redirect
I follow these steps:
1) Open file permissions page in modal dialog clicking "Document Permissions" button on the Ribbon menu. The next page is opened:
2) Then I click "Modify" -> "Edit User ...
0
votes
1answer
43 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 ...
1
vote
3answers
117 views
Create SP People Picker on the client-side
I would like to know if there is a way to generate a SharePoint 2010 People picker control just with JavaScript. Imagine that I am doing a Windows 8 App, I would like to create that control ...
0
votes
0answers
36 views
PeoplePicker with KnockOut JS
I am tring to integrate the SharePoint people picker into an "Single Page App" that is being hosted in an Application Page. Is there a way with the OOTB control that I could add the data-bind ...
0
votes
1answer
52 views
How to retrieve all items from a list (with custom fields) by javascript object model
I need to get all my custom fields from my list by Javascript Object Model..
The code I wrote down is this:
var items;
$(document).ready(function () {
...