Reputation
4,696
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
2 11 25
Impact
~257k people reached

May
17
answered JSOM: Limit calls to SP.ClientContext executeQueryAsync with promises (Angular example)
May
15
comment Angular troubles
Here is a plnkr with your code (doesn't work) , and here is a plnkr with my suggestion. I understand you probably have something like the last one working for you, I just made a comment about your code, which is all I can see. I can't see your wiring, your setup, your angular version, your SharePoint version. I can however tell you I have several Angular-based solutions working in several SP environments
May
15
comment Angular troubles
I read all your code, and the code is wrong
May
15
comment Angular troubles
Shouldn't the ng-app attribute be ng-app="appControllers"? Also, note that$scope.year should initially be undefined
May
14
revised Check if a set of groups are present in rest api
added 161 characters in body
May
14
answered Check if a set of groups are present in rest api
May
13
answered HTML5/JavaScript Form with Complex Field Types
May
12
comment Getting the Timezone in Regional setting using javascript
If you are writing a workflow, could you not make it call out to SharePoint?
May
12
answered Getting the Timezone in Regional setting using javascript
May
11
asked How to create ContentType with FieldLinks using REST on O365
May
7
comment REST calls between applications
ugh ​​​​​​​​​​​​​​​
May
6
comment REST calls between applications
do you mind sharing the solution? If it does not alter IIS (web.config or additional module or similar) I would love to see it.
Apr
30
comment REST calls between applications
You would be breaking SOP, but you can get through that with a proxy (or hacking the web.config on the target, then use CORS), but it happens that SharePoint apps have this built in, called web proxy - so my question is; do you have apps installed?
Apr
28
comment Logging people who download files in Sharepoint
Have you looked at auditing?
Apr
24
answered Get PublishingImage field of a list using angular JS?
Apr
13
awarded  Yearling
Apr
10
comment REST endpoint working in SharePoint online and not in on premise
Yes that is true. One way I can think of to solve your problem is by parallel requests (yes it's not pretty, but at least you can use promises and request simultaneously, you can also get away with only two requests, one for attachments and another for lookups). Another solution is to use JSOM. We wrap our ClientContext in a promise and combine REST with JSOM fluently
Apr
9
comment REST endpoint working in SharePoint online and not in on premise
I'm not 100% sure, but I think the reason it doesn't work on on-premise is because it shouldn't work. 365 is much more forgiving about OData, like you don't need odata=verbose;, probably because of early access and compatibility with already built stuff. The thing is that OData doesn't let you do wildcard select on expanded properties, and for this to work you need that. This is two levels of arrays, think about it as selecting all lists, then all items for all lists, and then selecting properties in the items - not straight forward. As you probably know, if you drop the $select it works
Apr
8
answered Create Choice Column via JSOM
Apr
8
comment Create Choice Column via JSOM
The XML should look like this: <Field Type="Choice" Name="ApprovalStatus" DisplayName="Approval Status"><CHOICES><CHOICE>Pending</CHOICE><CHOICE>Approved</CHOICE><CHOICE>Reject‌​ed</CHOICE></CHOICES></Field>