Tagged Questions
4
votes
0answers
70 views
Passing args to QuickLinksDialog with JS
I have a small button on a site which when i press should start a QuickLinksDialog and fill in some of the fields there.
Everything goes good and well except the fields (like: title and url) still ...
2
votes
0answers
71 views
Filter Calendar view by Title in SharePoint 2010
i want to filter calendar view using title field. Is it possible to filter calendar view without make changes in modify view ?
1
vote
0answers
31 views
Sharepoint 2010 javascript client object model - downloading items and item attachments?
Is there a way, so that you can download the items from a list and all its item attachment files in one context call? Currently I am downloading all the items, then looping through each item, and ...
1
vote
0answers
15 views
How to create object of type SP.ListItemFormUpdateValue
How can i instantiate object of type SP.ListItemFormUpdateValue and initialize it to a List field so i can read the field values on client side?
If this is not posible, how can i read a value in a ...
1
vote
0answers
34 views
Retrieve property bag for sub sites using JSOM
I need to go through all sites belonging a site collection to validate a property bag of them. following is my code. the problem is the second call to get the property uses only one of the sites. I ...
1
vote
0answers
93 views
Getting column information from a sharepoint 2010 list
I'm trying to figure out how i can get information about a column in a Sharepoint List, like what type of column it is (single line, number, date etc...) and whatever additional column info that ...
1
vote
0answers
209 views
Validate list item with javascript API
I want to develop a custom datasheet view to edit a list.
I add item through the javascript API. The problem is that the service doesn't control fields value. For example :
- I add an item with a ...
1
vote
0answers
220 views
List Item file attachment using ECMAScript Object Model
How to simply upload & attach file to listItem using Javascript? And how to get/download attachments.
1
vote
0answers
279 views
Get Permissions with client object model
i want to add a permission on a folder who's inside a document library with javascript/jquery/client object model.
The problem i have is, its a custom permission level created when some feature is ...
0
votes
0answers
13 views
Possible to load different things in context for sharepoint client object model code?
In my javascript (ecma/client object model) for sharepoint 2010, I am first making a request to get the current user name, then when that succeeds I then make another request to download items from a ...
0
votes
0answers
39 views
How to Enable intellisense for ecmascript cliennt object model in sharepoint 2010
I want to enable intellisense for ecmascript object model in sharepoint 2010.
Iam able to get some properties but not getting all the objects and properties.
like for below code iam only able to get ...
0
votes
0answers
152 views
current user is always is administrator on a SharePoint App
I have tried following solution to check the current user's permissions on the current host web in a SharePoint hosted app, however the user is always administrator.
function sharePointReady() {
...
0
votes
0answers
429 views
CAML Query for sub folder documents javascript
I'm trying to query for documents in a specified sub folder of a document library. Using U2U CAML builder, I can generate the query and return successfully within it.
However, when I run the query ...
0
votes
0answers
75 views
Listen on file upload - AddItemEvent by ECMA Script (Javascript COM)
I need your help concerning this issue:
I want to upload a document to DocLib. Therefore I call the NewItem2 method
NewItem2(event, referenceURL);
Up to here - no problem. Now the issue:
I want ...
0
votes
0answers
166 views
How set Default-Values of Choice by the Creation of new Lists via (JavaScript) CSOM
Im trying to create a list by using the JavaScript CSOM, but Im stuck at a certain point.
In this example I use the Template "SP.ListTemplateType.issueTracking" to create and enhance a list,
in this ...