3,652 reputation
2822
bio website
location Norway
age 27
visits member for 4 years, 6 months
seen 6 hours ago

Apr
25
answered loop through parent items in Web part
Apr
25
revised Accessing files in SharePoint AutoHosted App 2013
added 21 characters in body
Apr
25
revised Accessing files in SharePoint AutoHosted App 2013
Remove unused code
Apr
25
comment how to convert from year and week number to a date? any formula to do so?
Something you want to show in a list? If you use 2013 this can be solved with JSLink, and probably in combination with moment.js (putting as comment as we don't know what version of SharePoint you use, or your approach). In moment.js it would probably be something like this: moment('14W19', 'YY{W}WW')
Apr
25
comment Who tried to access a site?
I guess you saw this answer? It is not for 2013 though, but auditing in general would be a good place to start. Another alternative is to just look at the IIS logs (or ULS, but IIS should be enough)
Apr
25
answered Accessing files in SharePoint AutoHosted App 2013
Apr
25
comment Rest API Responsive Web App
You can use REST towards 2013 (at least 365) from anywhere without apps (must register a dummy-app for OAuth, must obtain access token server-side), I can tell you more about this if it is what you want. But is there any reason you can't use apps? This sounds like the perfect setup for a provider-hosted app
Apr
24
answered The value of the property is null or undefined, not a Function object
Apr
24
comment Where to run this code on sharepoint 2013
Console application in Visual Studio?
Apr
24
comment Get grouped items by “Group by” and applied pagination
Why would GroupBy limit the amount of items? It is RowLimit which limits the amount of items. Even in other libraries where IQueryable supports GroupBy such as in Entity Framework all items are retrieved on GroupBy, just grouped by some expression
Apr
24
comment Get grouped items by “Group by” and applied pagination
It should simply group the items already returned from your SPQuery. And if you limit this to 10 items as you mentioned in your question then it should be rather trivial
Apr
24
comment Get grouped items by “Group by” and applied pagination
If you are going to use limit anyway because of your paging I doubt there will be any performance issue. I at least don't think I see much difference between GroupBy().Select() and OrderBy() which is basically what you get when the result from SPQuery is flat anyway
Apr
24
revised Get grouped items by “Group by” and applied pagination
added 220 characters in body
Apr
24
answered Get grouped items by “Group by” and applied pagination
Apr
24
comment query xml powershell sharepoint
What is '3;#0' anyway? I suspect it means $someItem["FolderChildCount"] is 0, but you need the '3', what is it?
Apr
24
answered query xml powershell sharepoint
Apr
24
comment query xml powershell sharepoint
I'm struggling to understand what you are trying to do, what I can decipher is that you want all lists of a SPSite which contains any item with the Title 'M' (guessing at Title)?
Apr
24
comment Integrate my web part in my sharepoint Site
What I meant was that apps does not support Web Parts, only Client Web Parts. Your host site can add Client Web Parts which are just iframes to your app at the app domain. In any case this is getting out of hand, I suggest you read up on the link I posted. Your question is about Web Parts, although you don't have and can't have Web Parts in your app so it is in all essence unrelated to your approach
Apr
24
comment Integrate my web part in my sharepoint Site
You can't deploy Web Parts in apps, only Client Web Parts (please see link) which are a bit different
Apr
24
comment Integrate my web part in my sharepoint Site
Since it is a Web Part it will be scoped for SPSite (site collection). Go to Site settings > Site Collection Administration > Site collection features, here you should find your feature and you can enable it. The name of your feature is probably something like Feature1, you can see the actual name under "Features" in your Visual Studio project