Reputation
5,192
Next privilege 10,000 Rep.
Access moderator tools
Badges
3 14 28
Newest
 Yearling
Impact
~388k people reached

May
2
comment How to query data on app web from host web
@RobWindsor I think there is a slight difference, in your screenshot you call _api on the parent web, while I had to call _apion the app web (sub web). But yeah it's quite obvious
May
1
comment Replacing SOD with fetch (handling JS library dependencies - *in the future*)
Wouldn't fetch be restricted by Same Origin Policy? And thinking about future, isn't eval (by default) disallowed in Content Security Policy?
Apr
23
comment How do we fetch data through REST service which hosted in azure from SharePoint site which in office 365?
Actually, creating an app would work, could use Web Proxy.
Apr
13
awarded  Yearling
Apr
11
comment Hide a specific list from 'View All Site Content' using JSOM/CSOM?
I don't think you need to call ctx.load.
Apr
11
comment Hide a specific list from 'View All Site Content' using JSOM/CSOM?
I don't think your code will do anything, as the default value for Hidden should be false. But using true will hide the list (while still letting it be accessible with a direct link).
Apr
8
comment GetItems with CAML against lookup on online throws “list view threshold”-error
@EricAlexander Isn't it the field which is indexed, and not the query part? And if <Contains> is not indexed, why does it work with Title?
Apr
8
comment GetItems with CAML against lookup on online throws “list view threshold”-error
I'm not sure how that link helps? You mean the core problem is on a higher level (e.g., structural, search, etc)? I see QueryThrottleMode is mentioned, but I don't think this works with CSOM (it's for SPQuery, not CamlQuery).
Apr
8
comment GetItems with CAML against lookup on online throws “list view threshold”-error
I'm not sure how to explain it any better. But I've thrown together a quick example for you here: gist.github.com/eirikb/8e71c5cb31b4d64f779cbcd7b3b06692 It's using JSOM, whilst I actually use CSOM, but it's the same result.
Apr
8
comment GetItems with CAML against lookup on online throws “list view threshold”-error
Yes I also need a View, since I use CSOM. Sorry I should have mentioned this, but since I mention my first example works it was proof enough the surround bits are in place.
Apr
8
comment GetItems with CAML against lookup on online throws “list view threshold”-error
It works if the list has less than 5000 items, so I think works.
Apr
8
asked GetItems with CAML against lookup on online throws “list view threshold”-error
Apr
8
comment client-side REST API call across domain (site collection)
You are probably referring to host-named site collections? The default is path-named I think, which is SOP. We have yet to see any example URL from OP, so it's hard to tell what his setup is. I'm not sure what your example will help with, I'm guessing you refer to jQuery, but CORS is enabled via headers from server reply.
Apr
7
comment client-side REST API call across domain (site collection)
Another site collection should be within Same Origin Policy, so you should not get problems with cross-domain. Make sure it's the same schema (http/https), host (including subdomain) and port.
Apr
6
awarded  Popular Question
Mar
25
awarded  Notable Question
Mar
17
comment Displaying a document library from top level site Error
That is true. But as I said using XsltListViewWebPart cross-SPWeb will only work in 2010, not 2013 (I don't know what version you use). If you have 2013 you could use third party component, or make one yourself.
Mar
15
comment Displaying a document library from top level site Error
Are you trying cross-site adding of a XsltListViewWebPart? If you use 2010 that would work (if you hack the references), in 2013 however I don't think it works at all. How about using an iframe?
Mar
15
answered Resolve SPFieldUserValue by Email
Feb
23
awarded  Revival