Tagged Questions
3
votes
1answer
49 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
48 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 - ...
1
vote
3answers
164 views
JavaScript and CSOM Unable to update a new item lookup field with a string
I have a list MyUsers that has a lookup field deptRef that references the Title in my departments list. Fine and is easy for my users to update the MyUsers list and select the relevant department.
...
2
votes
2answers
372 views
access additional lookup fields using JavaScript and CSOM
In visual studio I have added lookup field (SubMenuItemIdRefTitle) to list definition listA that references ListB. I have also added
<ViewFields>
<FieldRef ...
0
votes
1answer
218 views
Help using the client side object model with javascript and jquery, reading an item
So I usually only deal with server side code, and need some assistance. in c# i was able to just do something like,
numStirng = listItem["fieldName"].toString();
num = Convert.ToInt(num);
...
1
vote
1answer
312 views
How to add Client Web Parts (App Parts) to a page from JavaScript CSOM?
We're working on a custom way of adding and deleting Web Parts and App Parts to a page in SharePoint 2013. We have to use the new App way of developing and all code has to be using the JavaScript ...
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 ...
0
votes
2answers
171 views
CSOM list query with JOIN, return tree structure
I have two lists, Parent and Child. The Child list has a lookup field called "Parent", which "looks into" the Parent list, using ID column.
Using CSOM I'm joining the lists with this query
...
3
votes
2answers
865 views
CSOM get list items, return simple data structure
If we take this code example, we can see we need to call a lot of methods to get to our results (.getEnumerator(), .get_current(), .get_title(), .get_title())
var siteUrl = '/sites/MySiteCollection';
...
0
votes
1answer
499 views
How to read URL/Description from a Hyperlink field using CSOM
Using CSOM (JavaScript) how do you get the URL and description fields from a Hyperlink field?