4,136 reputation
2923
bio website
location Norway
age 28
visits member for 4 years, 9 months
seen 24 mins ago

13h
accepted Seconds since item created with REST. Perhaps use server current time (clock)
13h
comment Seconds since item created with REST. Perhaps use server current time (clock)
I kind of feel I'm trading one hack for another, would be nice to have a proper timestamp somwhere in _api. Oh well, I guess this is the best answer I will get, and the correct one at that. Thanks :)
13h
comment Seconds since item created with REST. Perhaps use server current time (clock)
Not a bad idea at all. Compared to my current hack I guess here you get the date from IIS, while I get it from SharePoint, but that would be the same, and here you have GMT while I get UTC, but that is also basically the same right?
15h
asked Seconds since item created with REST. Perhaps use server current time (clock)
1d
comment Access denied while calling external URL ajax call
Understanding how the JSONP hack actually works would give you a good idea. This answer on SO should give a good explanation. If it is your server then do consider my two other suggestions as well (CORS and web proxy).
1d
comment Access denied while calling external URL ajax call
Note that the server must implement support for JSONP, it is not automatically given that the server in your example supports this.
1d
comment Access denied while calling external URL ajax call
Isn't this normal Same-origin policy? Unless that site has CORS enabled. There are ways to solve this, such as CORS, JSONP or app proxy.
Jan
26
comment SP 2013 - Updating a multi-value lookup field via the REST API
+1. Just a note, in my case the type property in __metadata had to be correct. You get the type either __metadata.type from an item or from ListItemEntityTypeFullName on the list.
Jan
20
comment SharePoint 2013 Provider Hosted App is not working after Published to IIS throwing object reference error in Getting clientcontext
Wild but highly probable guess: When you deployed the ClientId (in Web.config of your app) changed, you either have to make a new one (hazzle) or find the old one.
Jan
19
comment Writing sharepoint CSOM applications best practices
With your browsers dev tools you have a wide specter of debugging options (such as break points) available in point 1, 2, 3 and 4.
Jan
13
comment ListItemCollectionPosition returning null
Have you tried currentQuery.ViewAttributes = "Scope=\"RecursiveAll\""?;
Jan
6
comment sharepoint 2010 javascript get items from a document library
Just a small note, I think the clue here is Scope="RecursiveAll" attribute on the View tag, I guess the actual items are subelements of the files or something, hence the need of recursive
Jan
6
comment Get web part Id with javascript client OM
@dotsa I might be wrong, but isn't your question the same as the first comment by dino? If so look at my answer in the second comment.
Dec
22
answered Group by in c# for Document Directory having Column contain same value
Nov
30
reviewed Approve Infopath shows error when I try to publish the blank form
Nov
25
comment Uploading files >40MB using SP.requestexecutor to sharepoint online hangs the browser
Since you have provider-hosted app, can't you just do this with C# and CSOM? Also, since you have 365 have you looked at StartUpload?
Nov
25
comment Provider Hosted application often stops debugging
Just to be sure: You have set Ping Enabled to False in IIS for the respective application pool(s)?
Nov
25
comment REST API filter by month
Are you asking how to filter items by a given month, or how to get items and display only month?
Nov
25
reviewed Approve Encountering error on Editing the SharePoint Site
Nov
24
awarded  Informed