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

May
25
comment Retrieve data from listdata.svc of an FBA site using jquery
Check your browsers dev tools console, usually F12
May
21
comment JSOM: Limit calls to SP.ClientContext executeQueryAsync with promises (Angular example)
@MdMazzotti no I don't think it would directly, but with some change it should be possible. I'm a bit reluctant to say so, but perhaps with a setTimeout(function(){...});, or perhaps a trick with promises
May
21
comment JSOM: Limit calls to SP.ClientContext executeQueryAsync with promises (Angular example)
Here is another example of two levels (Fetching first user and first group for that user, and first list with first item for that list): Code, Rendered, Requests
May
21
comment JSOM: Limit calls to SP.ClientContext executeQueryAsync with promises (Angular example)
@MdMazzotti The first call to execThen will create only one promise which will be returned on subsequent calls. Because of the additional .when() the call to executeQueryAsync will not be issued until the next Angular $digest cycle. So with the cost of a tiny delay it's possible to add .load-calls directly after execThen.
May
18
comment JSOM: Limit calls to SP.ClientContext executeQueryAsync with promises (Angular example)
@MdMazzotti Consider this code could render something like this, but only make one single browser request
May
17
comment Provider Hosted App Web Part
Why can't you use a SharePoint-hosted app?
May
17
asked JSOM: Limit calls to SP.ClientContext executeQueryAsync with promises (Angular example)
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?